功能:同步小程序流程
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
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',
|
||||
@@ -14,6 +18,10 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 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',
|
||||
|
||||
Reference in New Issue
Block a user