Commit 72e16d1cda2bcd963d000f2bb77d1277c0eb6fd6
1 parent
2635fc63ae
Exists in
dev
产妇转诊
Showing 1 changed file with 2 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ApplyScreeningController.java
View file @
72e16d1
| ... | ... | @@ -74,6 +74,7 @@ |
| 74 | 74 | */ |
| 75 | 75 | @RequestMapping(method = RequestMethod.GET, value = "/queryMedicalInfo") |
| 76 | 76 | @ResponseBody |
| 77 | + @TokenRequired | |
| 77 | 78 | public BaseResponse queryMedicalInfo(@Valid ApplyScreeningQueryRequest screeningQueryRequest, HttpServletRequest request) { |
| 78 | 79 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
| 79 | 80 | return applyScreeningFacade.queryMedicalInfo(screeningQueryRequest,loginState.getId()); |
| ... | ... | @@ -84,6 +85,7 @@ |
| 84 | 85 | */ |
| 85 | 86 | @RequestMapping(method = RequestMethod.POST, value = "/saveChange") |
| 86 | 87 | @ResponseBody |
| 88 | + @TokenRequired | |
| 87 | 89 | public BaseResponse saveChange(@Valid @RequestBody PatientBaseResult patientBaseResult, HttpServletRequest request) { |
| 88 | 90 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
| 89 | 91 | return applyScreeningFacade.saveChange(patientBaseResult,loginState.getId()); |