shish 7 месяцев назад
Родитель
Сommit
dc28463fba
1 измененных файлов с 2 добавлено и 16 удалено
  1. 2 16
      mallApp/src/api/hb/index.js

+ 2 - 16
mallApp/src/api/coupon/index.js → mallApp/src/api/hb/index.js

@@ -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)
 }
 
 /** *