dev01 преди 3 месеца
родител
ревизия
6be0f4443d
променени са 4 файла, в които са добавени 7 реда и са изтрити 7 реда
  1. 2 2
      src/app.jsx
  2. 1 1
      src/components/common/addressPicker/index.less
  3. 2 2
      src/utils/config.js
  4. 2 2
      src/utils/servers/baseUrl.js

+ 2 - 2
src/app.jsx

@@ -87,11 +87,11 @@ class App extends Component {
         'token': token,
       },
       // 生产
-      // url: 'wss://bm.jishutao.com/webSocketServer',
+      url: 'wss://bm.jishutao.com/webSocketServer',
       // 本地
       // url: 'wss://172.16.1.199:8080/webSocketServer'
       // 测试
-      url: 'wss://uat.jishutao.com/webSocketServer'
+      // url: 'wss://uat.jishutao.com/webSocketServer'
     })
 
     //连接成功

+ 1 - 1
src/components/common/addressPicker/index.less

@@ -30,7 +30,7 @@
 
   .picker-view-wrap {
       width: 100%;
-      height: 400px;
+      height: 500px;
   }
 }
 

+ 2 - 2
src/utils/config.js

@@ -1,7 +1,7 @@
 // 本地
 // export const resourceAddress = 'http://172.16.1.199/:3000/upload;'
 // 生产
-// export const resourceAddress = 'https://s.jishutao.com/upload';
+export const resourceAddress = 'https://s.jishutao.com/upload';
 // 测试
-export const resourceAddress = 'https://static.jishutao.com/upload';
+// export const resourceAddress = 'https://static.jishutao.com/upload';
 

+ 2 - 2
src/utils/servers/baseUrl.js

@@ -8,8 +8,8 @@ const getBaseUrl = (url) => {
   } else {
     // 生产环境
     // BASE_URL = 'http://172.16.1.199:8080'
-    BASE_URL = 'https://uat.jishutao.com'
-    // BASE_URL = 'https://bm.jishutao.com'
+    // BASE_URL = 'https://uat.jishutao.com'
+    BASE_URL = 'https://bm.jishutao.com'
   }
   return BASE_URL
 }