['同步下']

This commit is contained in:
2021-11-26 11:52:36 +08:00
257 changed files with 1293 additions and 39183 deletions

View File

@@ -56,11 +56,20 @@ const magCouponsRecommend = id => {
})
}
// 优惠券删除
const magCouponsDel = (coupon_id) => {
return request({
url: 'coupons/tools/coupons/' + coupon_id,
method: 'DELETE'
})
}
export {
toolsCoupons,
pushCoupons,
couponsGoods,
magCouponsInfo,
magCouponsStatus,
magCouponsRecommend
magCouponsRecommend,
magCouponsDel
}

View File

@@ -58,6 +58,37 @@ const userPartne = (data) => {
})
}
// 我的优惠券
const userCoupon = (data) => {
return request({
url: 'coupons/user/coupons',
data: data
})
}
// 我的优惠券-详情
const couponsInfo = (coupon_grant_id) => {
return request({
url: 'coupons/user/coupons/' + coupon_grant_id
})
}
// 我的优惠券-二维码
const getQrcodeByGrantId = (data) => {
return request({
url: 'coupons/user/coupons/qrcode',
data: data
})
}
// 我的优惠券-列表
const userCouponList = (coupon_id, data) => {
return request({
url: 'coupons/user/coupons/' + coupon_id + '/list',
data: data
})
}
export {
userIndex,
userNotice,
@@ -65,5 +96,9 @@ export {
userHelp,
userClause,
userInvite,
userPartne
userPartne,
userCoupon,
couponsInfo,
getQrcodeByGrantId,
userCouponList
}