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' }) }