Commit 676b4b9b8be67883400c53f8ef4f299ebdee5b63
1 parent
aab0af4652
Exists in
master
and in
8 other branches
增加是否通知
Showing 1 changed file with 3 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PostReviewController.java
View file @
676b4b9
... | ... | @@ -50,6 +50,7 @@ |
50 | 50 | */ |
51 | 51 | @RequestMapping(method = RequestMethod.GET,value = "/postreviewlist") |
52 | 52 | @ResponseBody |
53 | + @TokenRequired | |
53 | 54 | public BaseResponse queryPostReviewList(@Valid PostReviewQueryRequest postReviewQueryRequest){ |
54 | 55 | return postReviewFacade.queryPostList(postReviewQueryRequest); |
55 | 56 | } |
... | ... | @@ -64,6 +65,7 @@ |
64 | 65 | */ |
65 | 66 | @RequestMapping(method = RequestMethod.GET,value = "/postreview") |
66 | 67 | @ResponseBody |
68 | + @TokenRequired | |
67 | 69 | public BaseResponse queryPostReview(@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(method = RequestMethod.DELETE,value = "/postreview") |
82 | 84 | @ResponseBody |
85 | + @TokenRequired | |
83 | 86 | public BaseResponse delPostReview(@RequestParam("id") String id) { |
84 | 87 | if(StringUtils.isEmpty(id)){ |
85 | 88 | return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("id不能为空."); |