45 lines
853 B
JavaScript
45 lines
853 B
JavaScript
|
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'
|
||
|
})
|
||
|
}
|