feat: 注册用户权限
This commit is contained in:
1 parent
66f6b0787b
commit
24aa3abfd1
1 file changed
+1
-1
+1
-1
@@ -76,7 +76,7 @@ public class AuthUserDomainServiceImpl implements AuthUserDomainService {
|
||||
|
||||
// 用户和角色关联
|
||||
AuthRole authRole=new AuthRole();
|
||||
authRole.setRoleKey(AuthConstant.ADMIN);
|
||||
authRole.setRoleKey(AuthConstant.NORMAL_USER);
|
||||
AuthRole roleResult = authRoleService.queryByCondition(authRole);
|
||||
Long roleId = roleResult.getId();
|
||||
Long userId = authUser.getId();
|
||||
|
||||
Reference in new issue
Block a user