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

feat:家庭医生初始化

上级 7f64642e
...@@ -188,7 +188,7 @@ public class ImChatTemplateImpl implements ImChatTemplate { ...@@ -188,7 +188,7 @@ public class ImChatTemplateImpl implements ImChatTemplate {
imageMap.put("UserAction", CommonConstants.USER_ACTION); imageMap.put("UserAction", CommonConstants.USER_ACTION);
imageMap.put("applicationCode", IMInformConstants.IM_SYSTEM_BUSINESS_CODE); imageMap.put("applicationCode", IMInformConstants.IM_SYSTEM_BUSINESS_CODE);
imageMap.put("appointmentId", sendImMsgDTO.getAdmId()); imageMap.put("appointmentId", sendImMsgDTO.getAdmId());
imageMap.put("attacheUrl", reportDetailItemVos.get(0).getFileUrl()); imageMap.put("attacheUrl", "");
imageMap.put("businessCode", IMInformConstants.IM_SYSTEM_BUSINESS_CODE); imageMap.put("businessCode", IMInformConstants.IM_SYSTEM_BUSINESS_CODE);
imageMap.put("doctorHeadUrl", patientSignInfo.getDoctorHeadPortrait()); imageMap.put("doctorHeadUrl", patientSignInfo.getDoctorHeadPortrait());
imageMap.put("doctorName", patientSignInfo.getDoctorName()); imageMap.put("doctorName", patientSignInfo.getDoctorName());
...@@ -200,7 +200,7 @@ public class ImChatTemplateImpl implements ImChatTemplate { ...@@ -200,7 +200,7 @@ public class ImChatTemplateImpl implements ImChatTemplate {
imageMap.put("teamFlag", 0); imageMap.put("teamFlag", 0);
imageMap.put("toApplicationCode", IMInformConstants.IM_SYSTEM_BUSINESS_CODE); imageMap.put("toApplicationCode", IMInformConstants.IM_SYSTEM_BUSINESS_CODE);
map.put("Data", imageMap); map.put("Data", JSONObject.toJSONString(imageMap));
msgType = "TIMCustomElem"; msgType = "TIMCustomElem";
} }
content = JSONObject.toJSONString(map); content = JSONObject.toJSONString(map);
...@@ -494,4 +494,9 @@ public class ImChatTemplateImpl implements ImChatTemplate { ...@@ -494,4 +494,9 @@ public class ImChatTemplateImpl implements ImChatTemplate {
return reqVO; return reqVO;
} }
public static void main(String[] args) {
String s = "";
JSONObject.parseObject(s);
}
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论