diff --git a/config/goods.js b/config/goods.js index 2519dd3..3c6a8f0 100644 --- a/config/goods.js +++ b/config/goods.js @@ -1,15 +1,3 @@ -/* - * @Descripttion: - * @version: - * @Author: kBank - * @Date: 2022-11-23 11:10:29 - */ -/* - * @Descripttion: - * @version: - * @Author: kBank - * @Date: 2022-11-23 11:10:29 - */ const http = uni.$u.http //商品列表 @@ -117,3 +105,6 @@ export const energyShop = params => //hi粉确认订单 export const energyShopSilo = params => http.post('/sale/api/order/valid-silo', params) + +export const getAllCategory = params => + http.get('/sale/api/area-classify/listTree', { params }) diff --git a/config/request.js b/config/request.js index de3f61c..1c3341b 100644 --- a/config/request.js +++ b/config/request.js @@ -1,9 +1,3 @@ -/* - * @Descripttion: - * @version: - * @Author: kBank - * @Date: 2022-05-24 14:43:45 - */ import { getToken, removeToken } from '@/config/auth.js' module.exports = vm => { @@ -19,7 +13,7 @@ module.exports = vm => { //#ifdef DEV_SERVER console.log('DEV_SERVER') - config.baseURL = 'https://t-app.beida666.com/prod-api' + config.baseURL = 'http://192.168.2.102:8080' //#endif //#ifdef QA_SERVER diff --git a/pages/specialArea/list.vue b/pages/specialArea/list.vue index 0847d86..e6231e4 100644 --- a/pages/specialArea/list.vue +++ b/pages/specialArea/list.vue @@ -1,9 +1,3 @@ -