Browse Source

修改预约挂号appid名称

lulihong 6 years ago
parent
commit
81acb58835
3 changed files with 5 additions and 5 deletions
  1. 1 1
      html/wdyy/html/yuyueguahao.html
  2. 1 1
      html/wdyy/html/yuyuejilu.html
  3. 3 3
      js/weixin_common.js

+ 1 - 1
html/wdyy/html/yuyueguahao.html

@ -13,7 +13,7 @@
			var userAgent = window.localStorage.getItem(agentName);
			if(userAgent){
				var jsonstr = $.parseJSON(userAgent);
				top.location.href = registrationServer+"/apiweb/tp.html?point=department&hospitalId="+hospitalId+"&thirdPartyUserId=" + jsonstr.uid + "&appId="+appId+"&sourceType=1";
				top.location.href = registrationServer+"/apiweb/tp.html?point=department&hospitalId="+hospitalId+"&thirdPartyUserId=" + jsonstr.uid + "&appId="+yuYueAppId+"&sourceType=1";
			}
		</script>
	</body>

+ 1 - 1
html/wdyy/html/yuyuejilu.html

@ -13,7 +13,7 @@
			var userAgent = window.localStorage.getItem(agentName);
			if(userAgent){
				var jsonstr = $.parseJSON(userAgent);
				top.location.href = registrationServer+"/apiweb/tp.html?point=ghjl&thirdPartyUserId=" + jsonstr.uid + "&appId="+appId+"&sourceType=1";
				top.location.href = registrationServer+"/apiweb/tp.html?point=ghjl&thirdPartyUserId=" + jsonstr.uid + "&appId="+yuYueAppId+"&sourceType=1";
			}
		</script>
	</body>

+ 3 - 3
js/weixin_common.js

@ -1,6 +1,6 @@
//切换发布版本 true:正式版,连接生产环境;false:测试版,连接测试环境。
var publish_version = true;
var publish_version = false;
//var publish_version = false;
if(publish_version){
	//正式环境(城市i健康)
   var server = "http://srijk.yihu.com/wlyy/";
@ -17,7 +17,7 @@ if(publish_version){
    var imgUrlDomain = 'http://srijk.yihu.com/';
    var profileServer = "http://jksr.srswjw.gov.cn:1235"; // 健康档案(上饶)服务地址
    var registrationServer = "https://wxauth.yihu.com";// 预约挂号服务地址
    var appId = "9000424";//预约挂号-应用ID
    var yuYueAppId = "9000424";//预约挂号-应用ID
    var hospitalId = "1025056";//预约挂号-上饶县人民医院的id
}else{
	//测试环境
@ -47,7 +47,7 @@ if(publish_version){
    var profileServer = "http://ehr.yihu.com"; // 健康档案(上饶)服务地址
    
    var registrationServer = "https://mguidewebtest.yihu.com";// 预约挂号服务地址
	var appId = "9000424";//预约挂号-应用ID
	var yuYueAppId = "9000424";//预约挂号-应用ID
	var hospitalId = "1024727";//预约挂号-健康之路(演示医院)
}