Browse Source

提交修改配置ip地址

zhanglikun 4 years ago
parent
commit
a4a361fba2
2 changed files with 4 additions and 4 deletions
  1. 1 1
      src/apps/mobile/http.js
  2. 3 3
      src/config.js

+ 1 - 1
src/apps/mobile/http.js

@@ -74,7 +74,7 @@ if (!store.state.token) {
 
 const http = axios.create({
   // baseURL: 'http://192.168.1.46',
-  baseURL: 'http://111.47.6.224:10227',
+  baseURL: 'http://220.249.127.210:10227',
   timeout: 5000,
   async:false, //或false,是否异步
   headers: {

+ 3 - 3
src/config.js

@@ -1,8 +1,8 @@
 // 开发环境
-export const baseUrl = 'http://111.47.6.224:10227/udream';  // 后端接口url
-export const uploadUrl = 'http://111.47.6.224:10227/udream/files/oss'; // 上传地址
+export const baseUrl = 'http://220.249.127.210:10227/udream';  // 后端接口url
+export const uploadUrl = 'http://220.249.127.210:10227/udream/files/oss'; // 上传地址
 export const staticUrl = 'http://sellerAdminpp.udreamtech.com/files/ty/'; // 后端返回图片的静态资源url
-export const webSocketUrl = 'ws:///111.47.6.224:8002/ws'; // WebSocketUrl
+export const webSocketUrl = 'ws:///220.249.127.210:8002/ws'; // WebSocketUrl
 
 // export const baseUrl = 'http://lift.whlhcx.com/'; // 后端接口url
 // export const baseUrl = 'http://192.168.31.100:20250'; // 后端接口url 魏瑞峰