diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 6617cfe..e07de3a 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -19,12 +19,13 @@ const install = (Vue, vm) => { // }, // }); + uni.setStorageSync('deptId', 101); Vue.prototype.$u.http.setConfig({ // baseUrl: 'http://61.174.243.28:15861', // baseUrl: 'http://192.168.2.14:8080', // baseUrl: 'http://124.221.246.124:2289', - // baseUrl: 'https://dianche.chuantewulian.cn/prod-api', - baseUrl: 'https://dche.ccttiot.com/prod-api', + baseUrl: 'https://dianche.chuantewulian.cn/prod-api', + // baseUrl: 'https://dche.ccttiot.com/prod-api', loadingText: '努力加载中~', // loadingTime: 2000, // 设置自定义头部content-type @@ -34,7 +35,7 @@ const install = (Vue, vm) => { }, // ...... }); - + // 请求拦截部分,如配置,每次请求前都会执行 Vue.prototype.$u.http.interceptor.request = (config) => { // 引用token diff --git a/manifest.json b/manifest.json index cad1f86..8d15cb5 100644 --- a/manifest.json +++ b/manifest.json @@ -51,7 +51,7 @@ /* 小程序特有相关 */ "mp-weixin" : { "libVersion" : "latest", - "appid" : "wx3428c498d5061192", + "appid" : "wx4d178f8c80348214", "setting" : { "urlCheck" : false }, diff --git a/page_user/agreement.vue b/page_user/agreement.vue index 24a755c..d1f80f7 100644 --- a/page_user/agreement.vue +++ b/page_user/agreement.vue @@ -1,17 +1,24 @@