Commit 99391c51b26f75927c66ea5b5fc7c540c2a2689d
1 parent
f76292e624
Exists in
master
and in
8 other branches
update
Showing 1 changed file with 6 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PremaritalCheckupController.java
View file @
99391c5
... | ... | @@ -42,7 +42,12 @@ |
42 | 42 | System.out.println("...............start.............."); |
43 | 43 | //获取当前登录用户ID |
44 | 44 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
45 | - System.out.println("id.........................." + loginState.getId()); | |
45 | + if (loginState==null){ | |
46 | + System.out.println("...............end.............."); | |
47 | + }else { | |
48 | + System.out.println("id.........................." + loginState.getId()); | |
49 | + } | |
50 | + | |
46 | 51 | return premaritalCheckupFacade.addPremaritalCheckup(addRequest , loginState.getId()); |
47 | 52 | } |
48 | 53 |