完成JC-ArtList与JC-Salon端侧清理和统一命名

This commit is contained in:
2026-08-25 16:21:05 +08:00
parent aa93695704
commit abce4a2787
1839 changed files with 653 additions and 50415 deletions
+35
View File
@@ -0,0 +1,35 @@
/**
* 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: listUserCoupons supports coupon.js by holding or executing the list user coupons 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.
*/
listUserCoupons(status) {
return request({
url: '/coupon/user/list',
params: {
status
}
})
},
/**
* Purpose: getAvailableCoupons supports coupon.js by holding or executing the get available coupons 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.
*/
getAvailableCoupons(productTags, productPrice, shopId) {
return request({
url: '/coupon/available',
params: {
productTags,
productPrice,
shopId
}
})
}
}