Commit ea8b698bf25e3bf71e8f1c9457857e36238f865b
1 parent
044536648f
Exists in
master
and in
6 other branches
改字段
Showing 3 changed files with 22 additions and 0 deletions
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PlantformConfigController.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/PlantformConfigService.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PlantformConfigServiceImpl.java
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PlantformConfigController.java
View file @
ea8b698
| ... | ... | @@ -24,6 +24,13 @@ |
| 24 | 24 | @Autowired |
| 25 | 25 | private PlantformConfigService plantformConfigService; |
| 26 | 26 | |
| 27 | + @TokenRequired | |
| 28 | + @ResponseBody | |
| 29 | + @RequestMapping("/errormsg") | |
| 30 | + public String errormsg(HttpServletRequest request) { | |
| 31 | + return plantformConfigService.getErrorMsg(getUserId(request)); | |
| 32 | + } | |
| 33 | + | |
| 27 | 34 | /** |
| 28 | 35 | * 自定义类型列表 |
| 29 | 36 | */ |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/PlantformConfigService.java
View file @
ea8b698
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PlantformConfigServiceImpl.java
View file @
ea8b698
| ... | ... | @@ -164,5 +164,18 @@ |
| 164 | 164 | mongoTemplate.updateFirst(Query.query(Criteria.where("id").is(id)), Update.update("yn", "0"), PlantformConfigModel.class); |
| 165 | 165 | return RespBuilder.buildSuccess(); |
| 166 | 166 | } |
| 167 | + | |
| 168 | + @Override | |
| 169 | + public String getErrorMsg(Integer userId) { | |
| 170 | + String message = new String("在所有的儿童眼病中,以“视网膜母细胞瘤”、“先天性白内障”、“先天性青光眼”、“眼外伤”、“先天性眼组织异常”等对视觉影响最大,轻则丧失视力,重则危及生命。<br/>\n" + | |
| 171 | + "\n" + | |
| 172 | + "新生儿眼病筛查结果只是孩子目前的眼睛情况,由于宝宝出生以后,特别是3 岁以前,眼睛的结构和功能都在迅速发育,初筛通过并不意味着您宝宝在生长的发育过程中不会出现眼病问题。\n" + | |
| 173 | + "还有一些发育性眼病如斜视、弱视、屈光不正等,要发育到一定阶段才能发现出来,这些眼病通过后\n" + | |
| 174 | + "天的及时矫治是可以得到治愈的。所以说儿童眼病的预防就是定期对儿童的眼睛视功能发育进行追\n" + | |
| 175 | + "踪检查,发现异常及时进行早期干预,防止视功能的正常发育受到干扰,导致终生遗憾。<br/>\n" + | |
| 176 | + "\n" + | |
| 177 | + "因此,医生建议您: 即使初筛通过也要带宝宝进行定期的眼保健检查,以便早期发现眼病,早期治疗。"); | |
| 178 | + return message; | |
| 179 | + } | |
| 167 | 180 | } |