| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import https from '@/plugins/luch-request_0.0.7/request'
- /** *
- * 优惠券列表 m
- */
- export const getList = data => {
- return https.get('/hb/list', data)
- }
- /**
- * 某门店下的所有可用红包
- */
- export const getAvailableHb = data => {
- return https.get('/hb/available-hb', data)
- }
- // ===================== B 端 ========================
- /** *
- * 优惠券列表 b
- */
- export const getListB = data => {
- return https.get('/hb/list', data)
- }
- /** *
- * 新人优惠券设置的详情 b
- */
- export const couponAssetDet = data => {
- return https.get('/coupon-asset/detail', data)
- }
- /** *
- * 奖励设置详情 b
- */
- export const couponAssetUpdate = data => {
- return https.post('/coupon-asset/update', data)
- }
- /** *
- * 门店领取优惠券 m
- */
- export const receiveGift = data => {
- return https.post('/invite/get-new-gift', data)
- }
|