You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
993 B
JavaScript

import request from '@/utils/request'
// 查询【请填写功能名称】列表
export function listInfo(query) {
return request({
url: '/system/channelInfo/list',
method: 'get',
params: query
})
}
export function listChannelInfo(query) {
return request({
url: '/system/channelInfo/list',
method: 'get',
params: query
})
}
// 查询【请填写功能名称】详细
export function getInfo(id) {
return request({
url: '/system/channelInfo/' + id,
method: 'get'
})
}
// 新增【请填写功能名称】
export function addInfo(data) {
return request({
url: '/system/channelInfo',
method: 'post',
data: data
})
}
// 修改【请填写功能名称】
export function updateInfo(data) {
return request({
url: '/system/channelInfo',
method: 'put',
data: data
})
}
// 删除【请填写功能名称】
export function delInfo(id) {
return request({
url: '/system/channelInfo/' + id,
method: 'delete'
})
}