From 1bff96951ae9c68f601c3c30ab24799a65faef7f Mon Sep 17 00:00:00 2001 From: woody Date: Mon, 27 Oct 2025 15:14:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(SpecialArealist):=20=E4=B8=93=E5=8C=BA?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/goods.js | 15 +- config/request.js | 8 +- pages/specialArea/list.vue | 286 +++++++++++++++++++++++++++++-------- 3 files changed, 234 insertions(+), 75 deletions(-) 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 @@ -