wlzboy
6 天以前 fe33646ee6e2d1e57f2b51812e94983a0e9efb04
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import request from '@/utils/request'
 
// 查询通知渠道配置列表
export function listChannelConfig(query) {
  return request({
    url: '/system/notify/channel/config/list',
    method: 'get',
    params: query
  })
}
 
// 查询通知渠道配置详细
export function getChannelConfig(id) {
  return request({
    url: '/system/notify/channel/config/' + id,
    method: 'get'
  })
}
 
// 新增通知渠道配置
export function addChannelConfig(data) {
  return request({
    url: '/system/notify/channel/config',
    method: 'post',
    data: data
  })
}
 
// 修改通知渠道配置
export function updateChannelConfig(data) {
  return request({
    url: '/system/notify/channel/config',
    method: 'put',
    data: data
  })
}
 
// 删除通知渠道配置
export function delChannelConfig(id) {
  return request({
    url: '/system/notify/channel/config/' + id,
    method: 'delete'
  })
}