功能:新增下一阶段运营能力和生产部署

This commit is contained in:
xiaowang
2026-05-24 18:09:11 +08:00
parent 8116abc9b5
commit 1d077d4089
157 changed files with 9206 additions and 74 deletions
+30
View File
@@ -0,0 +1,30 @@
/**
* Purpose: request sends authenticated admin mini-program calls through the shared request wrapper.
* Usage: keep inventory endpoints aligned with /admin/inventory on the backend.
*/
const request = require('../utils/request')
module.exports = {
listItems(params) {
return request({
url: '/inventory/list',
params
})
},
saveItem(data) {
return request({
url: '/inventory/save',
method: 'POST',
data
})
},
adjustStock(id, data) {
return request({
url: `/inventory/${id}/adjust`,
method: 'POST',
data
})
}
}