Commit 1b7be949876c13bcfa82bbba7197041fbbd05a7d
1 parent
928ec274b4
Exists in
master
儿童接口
Showing 1 changed file with 2 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyBuildController.java
View file @
1b7be94
| ... | ... | @@ -378,6 +378,7 @@ |
| 378 | 378 | */ |
| 379 | 379 | @RequestMapping(method = RequestMethod.GET, value = "/getBabyGroupCount") |
| 380 | 380 | @ResponseBody |
| 381 | + @TokenRequired | |
| 381 | 382 | public BaseResponse getBabyGroupCount(@Valid @RequestBody BabyManageRequest babyManageRequest, |
| 382 | 383 | HttpServletRequest request) { |
| 383 | 384 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
| ... | ... | @@ -391,6 +392,7 @@ |
| 391 | 392 | */ |
| 392 | 393 | @RequestMapping(method = RequestMethod.GET, value = "/getBabyGroupRightCount") |
| 393 | 394 | @ResponseBody |
| 395 | + @TokenRequired | |
| 394 | 396 | public BaseResponse getBabyGroupRightCount(@Valid @RequestBody BabyManageRequest babyManageRequest,HttpServletRequest request){ |
| 395 | 397 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
| 396 | 398 | return babyBookbuildingFacade.getBabyGroupRightCount(babyManageRequest,loginState.getId()); |