Authored by 张文文

Merge branch 'feature/coupon' into develop

... ... @@ -63,6 +63,10 @@ export default {
clickButton(item) {
let couponToken = item.couponToken;
if (item.receive === 'Y') {
return;
}
this.getCoupon({couponToken: couponToken}).then(result => {
console.log(result);
this.$createDialog({
... ...
... ... @@ -68,7 +68,6 @@ export default {
productId: productId,
page: 1,
limit: 500,
debug: 'XYZ'
}
const result = await this.$api.post('/api/ufo/product/coupon', params);
... ... @@ -82,7 +81,6 @@ export default {
async fetchProductCouponTopList({ commit }, { productId }) {
let params = {
productId: productId,
debug: 'XYZ'
}
const result = await this.$api.post('/api/ufo/product/couponTopList', params);
... ...
... ... @@ -69,7 +69,6 @@ module.exports = {
productId: {type: Number}, // 商品id
limit: { type: Number },
page: { type: Number },
debug: {type: String},
},
},
... ... @@ -81,7 +80,6 @@ module.exports = {
api: 'ufo.couponTopListOfPrdDetail.list',
params: {
productId: {type: Number}, // 商品id
debug: {type: String},
},
},
... ...