Kaynağa Gözat

微信医生主页二维码修改

chenweida 7 yıl önce
ebeveyn
işleme
286387e3a4

+ 2 - 3
common/common-entity/src/main/java/com/yihu/wlyy/entity/concern/ConcernDO.java

@ -149,9 +149,8 @@ public class ConcernDO extends IdEntity {
	public String getConcernSourceName() {
		switch (concernSource){
			case 1:return 	"扫描二维码";
			case 2:return 	"页面跳转";
			case 3:return 	"咨询关注";
			default: return "扫描二维码";
			case 2:return 	"咨询关注";
			default: return "其他";
		}
	}

+ 1 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/wechat/process/WeiXinEventProcess.java

@ -633,7 +633,7 @@ public class WeiXinEventProcess {
            // 图文消息URL
            url = url.replace("{server}", wechat_base_url)
                    .replace("{appId}", appId)
                    .replace("{doctorCode}", keys[0]);
                    .replace("{doctorCode}", keys[0]+"_1");
            //图片地址
            picUrl = picUrl.replace("{server}", serverUrl);

+ 1 - 1
patient-co/patient-co-wlyy/src/main/resources/system.properties

@ -12,7 +12,7 @@ ehr_services = http://localhost:9009/api/v1.0/
ehr_services_base = http://localhost:10220/api/v1.0/
# 微信图文消息URL
doctor_qrcode_url=https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri={server}%2fwx%2fhtml%2fssgg%2fhtml%2fdoctor-homepage-new.html&response_type=code&scope=snsapi_base&state={doctorCode}#wechat_redirect
doctor_qrcode_url=https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri={server}%2fwx%2fhtml%2fyszx%2fhtml%2fdoctor-homepage.html&response_type=code&scope=snsapi_base&state={doctorCode}#wechat_redirect
doctor_hos_qrcode_url=https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri={server}%2fwx%2fhtml%2fqygl%2fhtml%2fsearch-doctor.html&response_type=code&scope=snsapi_base&state={hospital}#wechat_redirect
doctor_subscribe_url=https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri={server}%2fwx%2fhtml%2fqygl%2fhtml%2fsigning-welcome.html&response_type=code&scope=snsapi_base&state=code#wechat_redirect
doctor_town_qrcode_url=https://open.weixin.qq.com/connect/oauth2/authorize?appid={appId}&redirect_uri={server}%2fwx%2fhtml%2fqygl%2fhtml%2fsearch-community.html&response_type=code&scope=snsapi_base&state={town}#wechat_redirect

+ 4 - 14
patient-co/patient-co-wlyy/src/main/resources/wechat/weixin_menu.txt

@ -1,13 +1,8 @@
{
"button":[
   {
	  "name":"家庭医生",
	  "name":"咨询医生",
	  "sub_button":[
		  {
			"type":"view",
			"name":"咨询医生",
			"url":"https://open.weixin.qq.com/connect/oauth2/authorize?appid=appId&redirect_uri=server_url%2fwx%2fhtml%2fqygl%2fhtml%2fsigning_management.html&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect"
		  },
		  {
			"type":"view",
			"name":"关注咨询",
@ -16,12 +11,12 @@
		  {
			"type":"view",
			"name":"我的关注",
			"url":"https://open.weixin.qq.com/connect/oauth2/authorize?appid=appId&redirect_uri=server_url%2fwx%2fhtml%2fyszd%2fhtml%2fdoctor-guidance.html&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect"
			"url":"https://open.weixin.qq.com/connect/oauth2/authorize?appid=appId&redirect_uri=server_url%2fwx%2fhtml%2fyszd%2fhtml%2ffocused-doctor.html&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect"
		  },
		  {
            "type":"view",
            "name":"查找医生",
            "url":"https://open.weixin.qq.com/connect/oauth2/authorize?appid=appId&redirect_uri=server_url%2fwx%2fhtml%2fjkjy%2fhtml%2farticle_list.html&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect"
            "url":"https://open.weixin.qq.com/connect/oauth2/authorize?appid=appId&redirect_uri=server_url%2fwx%2fhtml%2fyszd%2fhtml%2fselect-consult-doctor.html&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect"
          }
	  ]
@ -33,12 +28,7 @@
		   "type":"view",
		   "name":"我的资料",
		   "url":"https://open.weixin.qq.com/connect/oauth2/authorize?appid=appId&redirect_uri=server_url%2fwx%2fhtml%2fgrzx%2fhtml%2fmy-detail.html&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect"
		},
        {
         	"type":"click",
         	"name":"操作说明",
         	"key":"caozuoshuoming"
        }
		}
	 ]
  }
]