Browse Source

修改公共配置文件

lulihong 6 years ago
parent
commit
2dc66eabdf
1 changed files with 9 additions and 10 deletions
  1. 9 10
      js/weixin_common.js

+ 9 - 10
js/weixin_common.js

@ -1,10 +1,10 @@
//切换发布版本 true:正式版,连接生产环境;false:测试版,连接测试环境。
var publish_version = false;
var publish_version = true;
//var publish_version = false;
if(publish_version){
	//正式环境(厦门i健康)
    var server = "http://srijk.yihu.com/wlyy/";
	//正式环境(城市i健康)
   var server = "http://srijk.yihu.com/wlyy/";
    var appId = "wx49aa3a51b0aca27d";
    var urlName = "wlyy";
    var weixinUrl = "srijk.yihu.com";
@ -16,13 +16,11 @@ if(publish_version){
    var wxurl = "http%3a%2f%2fwww.srijk.com%2fwlyy%2fwx%2fhtml";
    var imurl="http://58.22.123.195:3000";
    var imgUrlDomain = 'http://srijk.yihu.com/';
    
    // 健康档案(上饶)服务地址
    var profileServer = "http://ehr.yihu.com"
    var profileServer = "http://ehr.yihu.com"; // 健康档案(上饶)服务地址
}else{
	//测试环境
	var server = "http://172.19.103.72:9096/wlyy/"; 
	var server = "http://172.19.103.72:9096/csijk/"; 
//	var server = "http://172.19.103.72:9096/wlyy/";
//	var server = "http://192.168.131.24:8082/";//仕杰
//	var server = "http://192.168.131.102:8081/";//伟达
@ -45,8 +43,7 @@ if(publish_version){
//  var imurl="http://192.168.131.24:3000";//仕杰
    var imgUrlDomain = 'http://172.19.103.54/';
    
    // 健康档案(上饶)服务地址
    var profileServer = "http://ehr.yihu.com"
    var profileServer = "http://ehr.yihu.com"; // 健康档案(上饶)服务地址
	
}
@ -430,7 +427,9 @@ var pageUrl  = {
    //个人中心
    "4": "../../grzx/html/my-detail.html",
    // 健康档案
    "5": "../../profile/html/index.html"
    "5": "../../profile/html/index.html",
    /**医生指导详情**/ 
    "25":"../../yszd/html/guidance-detail.html?openid="+0+"&toUser="+toUsers+"&id="+curId+"&toName="+toName,
///**签约管理首页**/  "-1":"../../qygl/html/signing-doctors.html",//签约管理首页
///**医生咨询首页**/     1:"../../yszx/html/doctor-consultation.html",
///**医生指导首页**/     3:"../../yszd/html/doctor-guidance.html",//医生指导首页