diff --git a/api/promotion/coupon.js b/api/promotion/coupon.js index d3549b59..0d2d08bd 100644 --- a/api/promotion/coupon.js +++ b/api/promotion/coupon.js @@ -6,6 +6,10 @@ export function takeCoupon(templateId) { }); } +export function getCouponPage(data) { + return request.get("app-api/promotion/coupon/page", data); +} + export function getCouponTemplateList(spuId, useType) { return request.get("app-api/promotion/coupon-template/list", { spuId, diff --git a/pages/users/user_coupon/index.vue b/pages/users/user_coupon/index.vue index 662e4368..e3aa3412 100644 --- a/pages/users/user_coupon/index.vue +++ b/pages/users/user_coupon/index.vue @@ -1,87 +1,80 @@ - -