Commit a765756864c229d22c8a5ec53053b171c5f8f854
1 parent
6089f63692
Exists in
master
and in
8 other branches
1
Showing 1 changed file with 4 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ApplyOrderController.java
View file @
a765756
| ... | ... | @@ -75,8 +75,10 @@ |
| 75 | 75 | */ |
| 76 | 76 | @RequestMapping(method = RequestMethod.GET,value = "/applyorder") |
| 77 | 77 | @ResponseBody |
| 78 | - public BaseResponse queryApplyOrder(ApplyOrderQueryRequest orderQueryRequest){ | |
| 79 | - return applyOrderFacade.queryApplyOrder(orderQueryRequest); | |
| 78 | + @TokenRequired | |
| 79 | + public BaseResponse queryApplyOrder(ApplyOrderQueryRequest orderQueryRequest,HttpServletRequest request){ | |
| 80 | + LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); | |
| 81 | + return applyOrderFacade.queryApplyOrder(orderQueryRequest,loginState.getId()); | |
| 80 | 82 | } |
| 81 | 83 | } |