Commit aab0af4652e7d6b42899347405ca3ea06890bb85
1 parent
395b9a6926
Exists in
master
and in
1 other branch
增加是否通知
Showing 1 changed file with 3 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java
View file @
aab0af4
| ... | ... | @@ -36,6 +36,7 @@ |
| 36 | 36 | */ |
| 37 | 37 | @RequestMapping(value = "/matmanger",method = RequestMethod.GET) |
| 38 | 38 | @ResponseBody |
| 39 | + @TokenRequired | |
| 39 | 40 | public BaseResponse queryMatDeliver(@Valid MatDeliverQueryRequest deliverQueryRequest) { |
| 40 | 41 | return matDeliverFacade.queryMatDeliver(deliverQueryRequest); |
| 41 | 42 | } |
| ... | ... | @@ -64,6 +65,7 @@ |
| 64 | 65 | */ |
| 65 | 66 | @RequestMapping(value = "/matdel",method = RequestMethod.DELETE) |
| 66 | 67 | @ResponseBody |
| 68 | + @TokenRequired | |
| 67 | 69 | public BaseResponse delOneMatDeliver(@RequestParam("id") String id) { |
| 68 | 70 | if(StringUtils.isEmpty(id)){ |
| 69 | 71 | return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("id不能为空"); |
| ... | ... | @@ -80,6 +82,7 @@ |
| 80 | 82 | */ |
| 81 | 83 | @RequestMapping(value = "/matdel",method = RequestMethod.GET) |
| 82 | 84 | @ResponseBody |
| 85 | + @TokenRequired | |
| 83 | 86 | public BaseResponse findOneMatDeliver(@RequestParam("id") String id) { |
| 84 | 87 | if(StringUtils.isEmpty(id)){ |
| 85 | 88 | return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("id不能为空"); |