Commit 3025c8311466867b9b9ae276ed61cbc1955273d4
1 parent
457df857fc
Exists in
master
and in
6 other branches
查询号bug修改
Showing 1 changed file with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ViewController.java
View file @
3025c83
| ... | ... | @@ -96,9 +96,12 @@ |
| 96 | 96 | * @return |
| 97 | 97 | */ |
| 98 | 98 | @RequestMapping(value = "/downExFuData", method = RequestMethod.GET) |
| 99 | - // @TokenRequired | |
| 99 | + @TokenRequired | |
| 100 | 100 | public void downExFuData(@RequestParam("id") String id, @RequestParam("num") int num, HttpServletRequest request, HttpServletResponse response) { |
| 101 | 101 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
| 102 | + if(loginState == null){ | |
| 103 | + return; | |
| 104 | + } | |
| 102 | 105 | |
| 103 | 106 | Map<String, Object> map = viewFacade.exFuData(id, num,loginState.getId()); |
| 104 | 107 |