From f306f2e5c6aed0ee50f42a4c91421a4652204f42 Mon Sep 17 00:00:00 2001 From: "3321822538@qq.com" <3321822538@qq.com> Date: Fri, 7 Jun 2024 18:02:00 +0800 Subject: [PATCH] aaa --- common/http.interceptor.js | 8 +- page_user/about.vue | 5 +- page_user/daili/cjdaili.vue | 4 +- page_user/daili/index.vue | 7 +- page_user/daili/shanghu.vue | 4 +- page_user/daili/yunwei.vue | 4 +- page_user/ditu.vue | 4 +- page_user/hezuo/index.vue | 5 +- page_user/jifei.vue | 5 +- page_user/listshu/edit.vue | 4 +- page_user/listshu/index.vue | 5 +- page_user/listshu/quanxian.vue | 5 +- page_user/listshu/shangjialist.vue | 5 +- page_user/listshu/xqdetail.vue | 5 +- page_user/order/detailshop.vue | 133 +++++++++++--- page_user/order/index.vue | 23 +-- page_user/order/xiangqing.vue | 163 ++++++++++++++---- page_user/shopdetail.vue | 5 +- page_user/shopedit.vue | 5 +- page_user/shuju/index.vue | 5 +- page_user/shuju/lsfx.vue | 5 +- page_user/yajin/index.vue | 5 +- page_user/yunying/gongdan/index.vue | 5 +- page_user/yunying/gongdan/liushui.vue | 5 +- page_user/yunying/gongdan/lsmx.vue | 5 +- page_user/yunying/gongdan/mingxi.vue | 5 +- page_user/yunying/gongdan/tanchu.vue | 5 +- page_user/yunying/index.vue | 5 +- pages/abbr/index.vue | 5 +- .../devicemanagement/chargepallist/index.vue | 58 ++++--- .../chargepallist/listdetail/index.vue | 5 +- .../devicemanagement/failure/index.vue | 5 +- .../failure/yichang/index.vue | 5 +- pages/agentpages/devicemanagement/index.vue | 64 +++---- .../devicemanagement/lnstallation/index.vue | 5 +- .../repairapplication/index.vue | 5 +- .../repairapplication/shenbao/index.vue | 5 +- .../devicemanagement/xiajilist/index.vue | 74 +++++--- pages/agentpages/index/index.vue | 96 ++++++----- .../shopguanli/discipleshop/index.vue | 5 +- pages/agentpages/shopguanli/index.vue | 25 ++- pages/agentpages/shopguanli/myshop/index.vue | 5 +- .../agentpages/shopguanli/setupshop/index.vue | 5 +- pages/detail/detailed/index.vue | 4 +- pages/detail/index.vue | 5 +- pages/income/index.vue | 5 +- pages/myorder/index.vue | 8 +- pages/nearbystores/index.vue | 10 +- 48 files changed, 521 insertions(+), 322 deletions(-) diff --git a/common/http.interceptor.js b/common/http.interceptor.js index bd14000..df97676 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -1,6 +1,6 @@ const install = (Vue, vm) => { Vue.prototype.$u.http.setConfig({ - baseUrl: 'http://192.168.2.88:3100/dev-api', + baseUrl: 'http://124.221.246.124:2288/dev-api', // baseUrl: 'https://znb.ccttiot.com', loadingText: '努力加载中~', loadingTime: 800, @@ -9,24 +9,18 @@ const install = (Vue, vm) => { 'content-type': 'application/json;charset=UTF-8', }, - // ...... }); // 请求拦截部分,如配置,每次请求前都会执行 Vue.prototype.$u.http.interceptor.request = (config) => { const token = uni.getStorageSync('token'); config.header.Authorization = token; - // config.header.Tenant-Id=1 // #ifdef H5 config.header.Authorization = 'Bearer '+token; // #endif - // 可以对某个url进行特别处理,此url参数为this.$u.get(url)中的url值 if(config.url == '/user/login') config.header.noToken = true; // 最后需要将config进行return return config; - - // 如果return一个false值,则会取消本次请求 - // if(config.url == '/user/rest') return false; // 取消某次请求 } // 响应拦截,如配置,每次请求结束都会执行本方法 diff --git a/page_user/about.vue b/page_user/about.vue index 972a29d..c0fce33 100644 --- a/page_user/about.vue +++ b/page_user/about.vue @@ -1,7 +1,6 @@