Authored by 张文文

领券接口名修改 review by shuai.guo

... ... @@ -70,7 +70,7 @@ export default function() {
commit(Types.GET_PRODUCT_COUPON_REQUEST);
const result = await this.$api.get('/api/ufo/coupons/getCoupon', { couponTokens: couponTokens });
const result = await this.$api.get('/api/ufo/coupons/getCoupon', { coupon_tokens: couponTokens });
if (result && result.code === 200) {
commit(Types.GET_PRODUCT_COUPON_SUCCESS);
... ...
... ... @@ -33,7 +33,7 @@ module.exports = {
path: 'coupon',
api: 'ufo.coupons.getCoupon',
params: {
couponTokens: {type: String}
coupon_tokens: {type: String}
},
},
};
... ...