Browse Source

fix:logutil增加了用户id信息

xuxiaopang 2 years ago
parent
commit
ed03fe3e24
1 changed files with 4 additions and 0 deletions
  1. 4 0
      web/src/main/java/cn/seecoder/web/model/po/user/UserPO.java

+ 4 - 0
web/src/main/java/cn/seecoder/web/model/po/user/UserPO.java

@@ -63,4 +63,8 @@ public class UserPO implements UserDetails {
 	public boolean isEnabled() {
 		return true;
 	}
+
+	public Integer getId(){
+		return this.id;
+	}
 }