|
|
@@ -1,24 +1,10 @@
|
|
|
import https from '@/plugins/luch-request_0.0.7/request'
|
|
|
|
|
|
-/** *
|
|
|
- * 登录客户的优惠情况 m
|
|
|
- */
|
|
|
-// export const discount = data => {
|
|
|
-// return https.get('/user/discount', data)
|
|
|
-// }
|
|
|
-
|
|
|
-/** *
|
|
|
- * 登录客户的优惠券列表 m
|
|
|
- */
|
|
|
-// export const list = data => {
|
|
|
-// return https.get('/user/discount', data)
|
|
|
-// }
|
|
|
-
|
|
|
/** *
|
|
|
* 优惠券列表 m
|
|
|
*/
|
|
|
export const getList = data => {
|
|
|
- return https.get('/coupon/list', data)
|
|
|
+ return https.get('/hb/list', data)
|
|
|
}
|
|
|
|
|
|
// ===================== B 端 ========================
|
|
|
@@ -27,7 +13,7 @@ export const getList = data => {
|
|
|
* 优惠券列表 b
|
|
|
*/
|
|
|
export const getListB = data => {
|
|
|
- return https.get('/coupon/list', data)
|
|
|
+ return https.get('/hb/list', data)
|
|
|
}
|
|
|
|
|
|
/** *
|