Browse Source

正式线的域名和IM的ip修改

raolu 6 years ago
parent
commit
6d68671dbc
2 changed files with 5 additions and 5 deletions
  1. 3 3
      js/common_http.js
  2. 2 2
      js/im.client.js

+ 3 - 3
js/common_http.js

@ -25,13 +25,13 @@ var CITY_CODE = "450800", //"450800"
if(publish_version == true) {
    appId = "wxad04e9c4c5255acf";
    //接口服务器
    server = server = "http://www.xmtyw.cn/wlyytest/";
    server = server = "http://ggijk.yihu.com/wlyy/";
    // 图片识别请求路径
    ocrReqUrl = "http://www.xmtyw.cn/ocr/";
    ocrReqUrl = "http://ggijk.yihu.com/ocr/";
    // 健康档案接口服务器
    healthProfileServer = server;
    
    imgUrlDomain = "http://www.xmtyw.cn/";
    imgUrlDomain = "http://ggijk.yihu.com/";
} 
else if(isdemo == true) {
    appId = "wxeb86020158cf9141";

+ 2 - 2
js/im.client.js

@ -11,8 +11,8 @@ var imServer = "",
var imTimeOut = 20000;
if(publish_version){
    imServer = "http://172.19.103.72:3000/api/v2";
    socketUrl = "http://172.19.103.72:3000";
    imServer = "http://222.218.31.19:3000/api/v2";
    socketUrl = "http://222.218.31.19:3000";
}else{
    imServer = "http://172.19.103.72:3000/api/v2";
    socketUrl = "http://172.19.103.72:3000";