update 同步ruoyi

2.X
疯狂的狮子li 4 years ago
parent c10d4faf9d
commit 45c72e9728

@ -137,6 +137,9 @@ public class SysUser extends BaseEntity {
*/
private Long roleId;
public SysUser(Long userId) {
this.userId = userId;
}
public boolean isAdmin() {
return isAdmin(this.userId);

Loading…
Cancel
Save