talk_appAmin/api/signln/SignProduct/SignProduct.js

45 lines
808 B
JavaScript
Raw Normal View History

2024-06-18 19:06:14 +08:00
import request from '@/utils/request'
// 查询商品列表
export function listSignProduct(query) {
return request({
url: '/SignProduct/SignProduct/list',
method: 'get',
params: query
})
}
// 查询商品详细
export function getSignProduct(id) {
return request({
url: '/SignProduct/SignProduct/' + id,
method: 'get'
})
}
// 新增商品
export function addSignProduct(data) {
return request({
url: '/SignProduct/SignProduct',
method: 'post',
data: data
})
}
// 修改商品
export function updateSignProduct(data) {
return request({
url: '/SignProduct/SignProduct',
method: 'put',
data: data
})
}
// 删除商品
export function delSignProduct(id) {
return request({
url: '/SignProduct/SignProduct/' + id,
method: 'delete'
})
}