product:优化管理后台相关的接口

area:增加地区列表界面
This commit is contained in:
YunaiV
2022-12-23 18:47:59 +08:00
parent 92dde0b48b
commit 7a4a6a3046
31 changed files with 401 additions and 339 deletions

View File

@ -26,18 +26,10 @@ export function deleteSpu(id) {
})
}
// 获得商品spu
export function getSpu(id) {
return request({
url: '/product/spu/get?id=' + id,
method: 'get'
})
}
// 获得商品 SPU 详情
export function getSpuDetail(id) {
return request({
url: '/product/spu/get/detail?id=' + id,
url: '/product/spu/get-detail?id=' + id,
method: 'get'
})
}