| 
					
				 | 
			
			
				@ -1,7 +1,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				package com.yihu.jw.hospital.service.wechat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.netflix.discovery.converters.Auto; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.doctor.dao.BaseDoctorDao; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.entity.base.doctor.BaseDoctorDO; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.util.wechat.WeiXinMessageReplyUtils; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -96,6 +95,17 @@ public class WeiXinEventProcess { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if ("xm_ykyy_wx".equalsIgnoreCase(wechatId)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                url = "https://intel.yanketong.com/ims-wx/#/doctorInfo?doctorCode="+keys[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                picUrl = "https://intel.yanketong.com/"+picUrl; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                article.put("Url", url); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                article.put("Title", keys[1] + "医生个人诊间"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                article.put("Description", "厦门眼科中心医院互联网医院"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                article.put("PicUrl", picUrl); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                articles.add(article); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                article.put("Url", url); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                article.put("Title", keys[1] + "医生个人诊间"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                article.put("Description", "海沧医院互联网医院"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                article.put("PicUrl", picUrl); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                articles.add(article); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            // 图文消息URL 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -103,11 +113,7 @@ public class WeiXinEventProcess { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            //图片地址 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//            picUrl = picUrl.replace("{server}", serverUrl); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            article.put("Url", url); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            article.put("Title", keys[1] + "医生个人诊间"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            article.put("Description", "厦门眼科中心医院互联网医院"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            article.put("PicUrl", picUrl); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            articles.add(article); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            // 消息XML 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            result = WeiXinMessageReplyUtils.replyNewsMessage(message.get("FromUserName"), message.get("ToUserName"), articles); 
			 |