提交 5a1dc874 authored 作者: 杨凯's avatar 杨凯

feat:家庭医生初始化

上级 234b629f
...@@ -184,8 +184,6 @@ public class ImChatTemplateImpl implements ImChatTemplate { ...@@ -184,8 +184,6 @@ public class ImChatTemplateImpl implements ImChatTemplate {
} else if (i == 1) { } else if (i == 1) {
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
if (reportDetailVo.getReportType().equals(1)) { if (reportDetailVo.getReportType().equals(1)) {
List<Map<String, Object>> mapList = new ArrayList<>();
Map<String, Object> imageMap = new HashMap<>(); Map<String, Object> imageMap = new HashMap<>();
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);
...@@ -201,9 +199,8 @@ public class ImChatTemplateImpl implements ImChatTemplate { ...@@ -201,9 +199,8 @@ public class ImChatTemplateImpl implements ImChatTemplate {
imageMap.put("team", false); imageMap.put("team", false);
imageMap.put("teamFlag", 0); imageMap.put("teamFlag", 0);
imageMap.put("toApplicationCode", IMInformConstants.IM_SYSTEM_BUSINESS_CODE); imageMap.put("toApplicationCode", IMInformConstants.IM_SYSTEM_BUSINESS_CODE);
mapList.add(imageMap);
map.put("data", mapList); map.put("data", imageMap);
msgType = "TIMCustomElem"; msgType = "TIMCustomElem";
} }
content = JSONObject.toJSONString(map); content = JSONObject.toJSONString(map);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论