Commit c58cc0fd2f701f30b2400dfab22db677ab9c36e5
1 parent
114ea2d5df
Exists in
master
and in
8 other branches
update
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/FolicAcidController.java
View file @
c58cc0f
... | ... | @@ -60,11 +60,11 @@ |
60 | 60 | //删除叶酸发放记录 |
61 | 61 | @RequestMapping(value = "/deleteFolicAcid", method = RequestMethod.DELETE) |
62 | 62 | @ResponseBody |
63 | -// @TokenRequired | |
63 | + @TokenRequired | |
64 | 64 | public BaseResponse deleteFolicAcid(@RequestParam("id") String id, |
65 | 65 | HttpServletRequest request) { |
66 | 66 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
67 | - return folicAcidFacade.deleteFolicAcid(id,792); | |
67 | + return folicAcidFacade.deleteFolicAcid(id,loginState.getId()); | |
68 | 68 | } |
69 | 69 | |
70 | 70 |