diff --git a/src/api/system/coupon.js b/src/api/system/coupon.js index 9b81337..2a6ef03 100644 --- a/src/api/system/coupon.js +++ b/src/api/system/coupon.js @@ -42,3 +42,12 @@ export function delCoupon(couponId) { method: 'delete' }) } + +// 派发优惠券 +export function issueCoupon(data) { + return request({ + url: '/system/coupon/issue', + method: 'post', + data: data + }) +} diff --git a/src/views/system/coupon/index.vue b/src/views/system/coupon/index.vue index 7fea81b..2689b55 100644 --- a/src/views/system/coupon/index.vue +++ b/src/views/system/coupon/index.vue @@ -84,6 +84,7 @@ + - + + + + - +