统一甲屿云命名体系

This commit is contained in:
2026-06-29 23:26:43 +08:00
parent 48c47fe3ff
commit bc8a7d8d4c
1268 changed files with 3477 additions and 3511 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
})
}
}