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