From 87bd79b8eec58548d217900051e8f9aaf361fe38 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 25 Jun 2023 20:28:37 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=88=91=E7=9A=84=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=8A=B5=E3=80=91=201.=20=E5=AE=9E=E7=8E=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/promotion/coupon.js | 4 + pages/users/user_coupon/index.vue | 167 +++++++++++++++--------------- 2 files changed, 88 insertions(+), 83 deletions(-) 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 @@ - -