Commit 89ea3c4bd2617b07b2e8d4cc07f79a3efb9d5b4a
1 parent
5d51745968
Exists in
master
and in
6 other branches
听力诊断配置文件
Showing 2 changed files with 10 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/FollowUpController.java
View file @
89ea3c4
| 1 | 1 | package com.lyms.platform.operate.web.controller; |
| 2 | 2 | |
| 3 | 3 | import com.lyms.platform.biz.service.BabyService; |
| 4 | +import com.lyms.platform.common.annotation.TokenRequired; | |
| 4 | 5 | import com.lyms.platform.common.base.BaseController; |
| 5 | 6 | import com.lyms.platform.common.base.LoginContext; |
| 6 | 7 | import com.lyms.platform.common.constants.ErrorCodeConstants; |
| ... | ... | @@ -52,6 +53,7 @@ |
| 52 | 53 | */ |
| 53 | 54 | @RequestMapping(method = RequestMethod.GET, value = "/getFollowUpList") |
| 54 | 55 | @ResponseBody |
| 56 | + @TokenRequired | |
| 55 | 57 | public BaseResponse getFollowUpList(String babyId, HttpServletRequest request) { |
| 56 | 58 | |
| 57 | 59 | BabyPatientExtendEarFollowUpQuery query = new BabyPatientExtendEarFollowUpQuery(); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HearingDiagnoseController.java
View file @
89ea3c4
| ... | ... | @@ -2,6 +2,7 @@ |
| 2 | 2 | |
| 3 | 3 | import com.lyms.platform.biz.service.BabyService; |
| 4 | 4 | import com.lyms.platform.biz.service.BasicConfigService; |
| 5 | +import com.lyms.platform.common.annotation.TokenRequired; | |
| 5 | 6 | import com.lyms.platform.common.base.BaseController; |
| 6 | 7 | import com.lyms.platform.common.base.LoginContext; |
| 7 | 8 | import com.lyms.platform.common.constants.ErrorCodeConstants; |
| ... | ... | @@ -10,7 +11,10 @@ |
| 10 | 11 | import com.lyms.platform.operate.web.facade.AutoMatchFacade; |
| 11 | 12 | import com.lyms.platform.operate.web.request.HearingDiagnoseRequest; |
| 12 | 13 | import com.lyms.platform.operate.web.result.HearingDiagnoseListResult; |
| 13 | -import com.lyms.platform.permission.model.*; | |
| 14 | +import com.lyms.platform.permission.model.BabyPatientExtendEarHearingDiagnose; | |
| 15 | +import com.lyms.platform.permission.model.BabyPatientExtendEarHearingDiagnoseQuery; | |
| 16 | +import com.lyms.platform.permission.model.HighriskChangeHospital; | |
| 17 | +import com.lyms.platform.permission.model.HighriskChangeHospitalQuery; | |
| 14 | 18 | import com.lyms.platform.permission.service.BabyPatientExtendEarHearingDiagnoseService; |
| 15 | 19 | import com.lyms.platform.permission.service.BabyPatientExtendEarScreenService; |
| 16 | 20 | import com.lyms.platform.permission.service.HighriskChangeHospitalService; |
| ... | ... | @@ -74,6 +78,7 @@ |
| 74 | 78 | */ |
| 75 | 79 | @RequestMapping(method = RequestMethod.GET, value = "/getHearingDiagnose") |
| 76 | 80 | @ResponseBody |
| 81 | + @TokenRequired | |
| 77 | 82 | public BaseResponse getHearingDiagnose(String babyId, HttpServletRequest request) { |
| 78 | 83 | //获取当前登录用户ID |
| 79 | 84 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
| ... | ... | @@ -123,6 +128,7 @@ |
| 123 | 128 | */ |
| 124 | 129 | @RequestMapping(method = RequestMethod.GET, value = "/queryHearingDiagnoseList") |
| 125 | 130 | @ResponseBody |
| 131 | + @TokenRequired | |
| 126 | 132 | public BaseResponse queryHearingDiagnoseList(HearingDiagnoseRequest hdReq, HttpServletRequest request) { |
| 127 | 133 | //获取当前登录用户ID |
| 128 | 134 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
| ... | ... | @@ -258,6 +264,7 @@ |
| 258 | 264 | */ |
| 259 | 265 | @RequestMapping(method = RequestMethod.POST, value = "/delHearingDiagnose") |
| 260 | 266 | @ResponseBody |
| 267 | + @TokenRequired | |
| 261 | 268 | public BaseResponse delHearingDiagnose(BabyPatientExtendEarHearingDiagnose obj, HttpServletRequest request) { |
| 262 | 269 | if (StringUtils.isEmpty(obj.getId())) { |
| 263 | 270 | return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("请传入要修改的听力诊断id"); |