feat: 注册用户权限

This commit is contained in:
2024-02-23 10:52:33 +08:00
parent 66f6b0787b
commit 24aa3abfd1

View File

@@ -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();