Browse Source

代码修改

LAPTOP-KB9HII50\70708 3 năm trước cách đây
mục cha
commit
f8053ab830

+ 4 - 2
svr/svr-cloud-care/src/main/java/com/yihu/jw/care/endpoint/consult/PatientConsultEndpoint.java

@ -152,8 +152,10 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
			if(list!=null&&list.size()>0){
				peerName = URLEncoder.encode(list.get(0).get("name").toString(), "UTF-8");
			}
			String url = "/chatroom/index?type="+type+"&peerId="+senderId+"&action=callVideo&peerName="+peerName+"&sessionId="+sessionId+"&content="+AesEncryptUtils.encrypt(content,"46A61629A19AE04C");
			if(StringUtils.isNotBlank(content)){
				content = URLEncoder.encode(AesEncryptUtils.encrypt(content,"46A61629A19AE04C"), "UTF-8");
			}
			String url = "/chatroom/index?type="+type+"&peerId="+senderId+"&action=callVideo&peerName="+peerName+"&sessionId="+sessionId+"&content="+content;
			logger.info("url="+url);
			messageUtil.sendDoctorGetuiMessage(targetId,"4",url,"im消息",body);