This commit is contained in:
2026-03-06 22:17:12 +07:00
commit 267bf97236
812 changed files with 94237 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询商品列表列表
export function listProduct(query) {
return request({
url: '/service/product/list',
method: 'get',
params: query
})
}
// 查询商品列表详细
export function getProduct(id) {
return request({
url: '/service/product/' + id,
method: 'get'
})
}
// 新增商品列表
export function addProduct(data) {
return request({
url: '/service/product',
method: 'post',
data: data
})
}
// 修改商品列表
export function updateProduct(data) {
return request({
url: '/service/product',
method: 'put',
data: data
})
}
// 删除商品列表
export function delProduct(id) {
return request({
url: '/service/product/' + id,
method: 'delete'
})
}