This commit is contained in:
砂糖
2025-10-10 16:47:38 +08:00
commit 3db2ccf591
1160 changed files with 157697 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询通用分类列表
export function listCategory(query) {
return request({
url: '/wms/category/list',
method: 'get',
params: query
})
}
// 查询通用分类详细
export function getCategory(categoryId) {
return request({
url: '/wms/category/' + categoryId,
method: 'get'
})
}
// 新增通用分类
export function addCategory(data) {
return request({
url: '/wms/category',
method: 'post',
data: data
})
}
// 修改通用分类
export function updateCategory(data) {
return request({
url: '/wms/category',
method: 'put',
data: data
})
}
// 删除通用分类
export function delCategory(categoryId) {
return request({
url: '/wms/category/' + categoryId,
method: 'delete'
})
}