From 4d93aae5d5845e2c0449a122c1596126c2c0c755 Mon Sep 17 00:00:00 2001 From: sj <1304317391@qq.com> Date: Wed, 30 Nov 2022 16:30:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E4=BC=98=E6=83=A0=E5=88=B8?= =?UTF-8?q?=E5=8F=91=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bxg/yxStoreCoupon.js | 9 +++++++++ src/views/bxg/activity/coupon/form3.vue | 19 ++++++++++++++----- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/api/bxg/yxStoreCoupon.js b/src/api/bxg/yxStoreCoupon.js index 64318ce..01f37c1 100644 --- a/src/api/bxg/yxStoreCoupon.js +++ b/src/api/bxg/yxStoreCoupon.js @@ -8,6 +8,15 @@ export function add(data) { }) } +//发放优惠券 +export function give(data) { + return request({ + url: '/bxg/api/yxStoreCoupon/give', + method: 'post', + data + }) +} + export function del(id) { return request({ url: '/bxg/api/yxStoreCoupon/' + id, diff --git a/src/views/bxg/activity/coupon/form3.vue b/src/views/bxg/activity/coupon/form3.vue index f315eae..0820717 100644 --- a/src/views/bxg/activity/coupon/form3.vue +++ b/src/views/bxg/activity/coupon/form3.vue @@ -87,10 +87,11 @@ - + - + - \ No newline at end of file