src/main/java/com/zy/common/web/BaseController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/common/web/BaseController.java
@@ -43,6 +43,9 @@ private UserLoginService userLoginService; protected Long getUserId(){ if(Cools.isEmpty(request.getAttribute("userId"))){ return 000L; } return Long.parseLong(String.valueOf(request.getAttribute("userId"))); }