diff --git a/api/promotion/coupon.js b/api/promotion/coupon.js index 0d2d08bd..c40c9a3d 100644 --- a/api/promotion/coupon.js +++ b/api/promotion/coupon.js @@ -6,6 +6,11 @@ export function takeCoupon(templateId) { }); } +// 获得匹配指定商品的优惠劵列表 +export function getMatchCouponList(data) { + return request.get("app-api/promotion/coupon/match-list", data); +} + export function getCouponPage(data) { return request.get("app-api/promotion/coupon/page", data); } diff --git a/components/couponListWindow/index.vue b/components/couponListWindow/index.vue index 0508cd1b..bdf5d4c8 100644 --- a/components/couponListWindow/index.vue +++ b/components/couponListWindow/index.vue @@ -1,6 +1,6 @@