Przeglądaj źródła

Merge branch 'dev' of http://39.101.143.165:8090/fxw/GuangYuYuan-shanghu into dev

付晓文。 1 dzień temu
rodzic
commit
9f77569125
2 zmienionych plików z 2 dodań i 4 usunięć
  1. 1 3
      src/common/config.js
  2. 1 1
      src/utils/request.js

+ 1 - 3
src/common/config.js

@@ -5,10 +5,8 @@ const staticUrl = 'https://life.baoxianzhanggui.com/pro-img/nightFragrance';
 
 // 正式环境
 // let baseUrl = 'https://test.baoxianzhanggui.com/nightFragrance';
-//let baseUrl = 'https://city.baoxianzhanggui.com/nightFragrance'
+let baseUrl = 'https://city.baoxianzhanggui.com/nightFragrance'
 let h5Url = 'https://city.baoxianzhanggui.com/fragrance'
-// let baseUrl = 'https://9ml9749325jl.vicp.fun/jeecg-boot';
-let baseUrl = 'https://9ml9749325jl.vicp.fun';
 //let baseUrl = 'http://192.168.0.49:8087'
 // let baseUrl = 'https://8c55-171-118-90-51.ngrok-free.app'
 

+ 1 - 1
src/utils/request.js

@@ -17,7 +17,7 @@ export default (params) => {
 				if (res.statusCode === 200) {
                     // 401
                     if (res.data.code == 401) {
-						// uni.clearStorage();
+						uni.clearStorage();
 						// uni.removeStorageSync('access-token');
                     }
 					resolve(res);