talk_appAmin/api/signln/SignExchange/SignExchange.js

45 lines
853 B
JavaScript
Raw Normal View History

2024-06-18 19:06:14 +08:00
import request from '@/utils/request'
// 查询商品悦换列表
export function listSignExchange(query) {
return request({
url: '/SignExchange/SignExchange/list',
method: 'get',
params: query
})
}
// 查询商品悦换详细
export function getSignExchange(id) {
return request({
url: '/SignExchange/SignExchange/' + id,
method: 'get'
})
}
// 新增商品悦换
export function addSignExchange(data) {
return request({
url: '/SignExchange/SignExchange',
method: 'post',
data: data
})
}
// 修改商品悦换
export function updateSignExchange(data) {
return request({
url: '/SignExchange/SignExchange',
method: 'put',
data: data
})
}
// 删除商品悦换
export function delSignExchange(id) {
return request({
url: '/SignExchange/SignExchange/' + id,
method: 'delete'
})
}