Commit c579b94ff073373f152c440f522a338ba8f8acba

Authored by yangfei
1 parent 180c271f7b

查询号bug修改

Showing 1 changed file with 3 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ViewController.java View file @ c579b94
... ... @@ -60,7 +60,9 @@
60 60 @TokenRequired
61 61 public void downExChuData(@RequestParam("id") String id, HttpServletRequest request, HttpServletResponse response) {
62 62 LoginContext loginState = (LoginContext) request.getAttribute("loginContext");
63   -
  63 + if(loginState == null){
  64 + return;
  65 + }
64 66 // Map<String, Object> map = viewFacade.exChuData(id, loginState.getId());
65 67 Map<String, Object> map = viewFacade.exChuData(id, loginState.getId());
66 68