notificationTemplate.js 557 B

12345678910111213141516
  1. import request from '@/utils/request'
  2. // 通知模板列表
  3. export function getNotificationTemplateList(params) {
  4. return request({ url: '/api/admin/notification-template/list', method: 'post', data: params || {} })
  5. }
  6. // 新增/更新通知模板
  7. export function saveNotificationTemplate(data) {
  8. return request({ url: '/api/admin/notification-template/save', method: 'post', data })
  9. }
  10. // 删除通知模板
  11. export function deleteNotificationTemplate(data) {
  12. return request({ url: '/api/admin/notification-template/delete', method: 'post', data })
  13. }