diff --git a/src/api/user.ts b/src/api/user.ts index cc4ae4c..903864b 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -93,6 +93,13 @@ export function getMyCoupon() { return http.Post('/api/UserCoupon/coupinList') } +/** + * 个人中心可用优惠券 + */ +export function getMyAvailableCoupon() { + return http.Post('/api/UserCoupon/personUserCoupinList') +} + /** * 领取个人中心优惠券 */ diff --git a/src/bundle/coupon/my-coupon.vue b/src/bundle/coupon/my-coupon.vue index 620b5cf..9f79c8e 100644 --- a/src/bundle/coupon/my-coupon.vue +++ b/src/bundle/coupon/my-coupon.vue @@ -38,7 +38,7 @@ - + @@ -66,7 +66,7 @@