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