统一甲屿云命名体系

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
+28
View File
@@ -0,0 +1,28 @@
/**
* Mini program API wrapper for this module.
* Call guide: require this module in a page, then invoke the matching method from page event handlers or lifecycle hooks.
*/
const request = require('../utils/request')
module.exports = {
/**
* Purpose: getAllTags supports tag.js by holding or executing the get all tags page or API role.
* Usage: import, call, read, or update this method from the owning page/module while preserving the surrounding loading and permission flow.
*/
getAllTags() {
return request({
url: '/tag/list/all'
})
},
/**
* Purpose: getFilterOptions loads grouped public tag filters for scene-based browsing.
* Usage: call it from product list pages, then pass selected tag ids to getProductPage.
*/
getFilterOptions(shopId) {
return request({
url: '/tag/list/filter-options',
params: shopId ? { shopId } : undefined
})
}
}