前端/klp改成/wms

This commit is contained in:
2025-07-18 10:38:20 +08:00
parent 6fab414665
commit ab1dda6422
6 changed files with 30 additions and 30 deletions

View File

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