前端/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 listProduct(query) {
return request({
url: '/klp/product/list',
url: '/wms/product/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listProduct(query) {
// 查询产品详细
export function getProduct(productId) {
return request({
url: '/klp/product/' + productId,
url: '/wms/product/' + productId,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getProduct(productId) {
// 新增产品
export function addProduct(data) {
return request({
url: '/klp/product',
url: '/wms/product',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addProduct(data) {
// 修改产品
export function updateProduct(data) {
return request({
url: '/klp/product',
url: '/wms/product',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateProduct(data) {
// 删除产品
export function delProduct(productId) {
return request({
url: '/klp/product/' + productId,
url: '/wms/product/' + productId,
method: 'delete'
})
}