mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-11-30 01:00:07 +08:00
update 同步ruoyi
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user