提交 ba8de5fd authored 作者: 杨凯's avatar 杨凯

feat:家庭医生初始化

上级 91b9dfae
...@@ -344,10 +344,11 @@ public class ImChatTemplateImpl implements ImChatTemplate { ...@@ -344,10 +344,11 @@ public class ImChatTemplateImpl implements ImChatTemplate {
message.setApplicationCode(IMInformConstants.IM_SYSTEM_BUSINESS_CODE); message.setApplicationCode(IMInformConstants.IM_SYSTEM_BUSINESS_CODE);
messageInfo.setSingleAccount(newAccount(IMInformConstants.DOCTOR_APPLICATION_CODE, doctorUserId)); messageInfo.setSingleAccount(newAccount(IMInformConstants.DOCTOR_APPLICATION_CODE, doctorUserId));
messageInfo.setSelfAccount(newAccount(IMInformConstants.PATIENT_APPLICATION_CODE, patientSignInfo.getPatientUserId())); messageInfo.setSelfAccount(newAccount(IMInformConstants.PATIENT_APPLICATION_CODE, patientSignInfo.getPatientUserId()));
if (!StringUtils.isEmpty(msgType)) { // if (!StringUtils.isEmpty(msgType)) {
messageInfo.setMsgType(msgType); messageInfo.setMsgType(msgType);
} // }
messageInfo.setMessage(message); messageInfo.setMessage(message);
log.info("messageInfo={}", messageInfo);
return messageInfo; return messageInfo;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论