|
@@ -56,7 +56,7 @@ public class StpInterfaceImpl implements StpInterface {
|
|
|
//从redis 中获取登录用户角色
|
|
|
try {
|
|
|
LambdaQueryWrapper<SysUser> wrapper = new LambdaQueryWrapper<>();
|
|
|
- wrapper.eq(SysUser::getId,loginId);
|
|
|
+ wrapper.eq(SysUser::getManageId,loginId);
|
|
|
SysUser one = sysUserService.getOne(wrapper);
|
|
|
if(one.getStatus() == 0){
|
|
|
throw new BusinessException(ResultCode.USERNAME_ERROR);
|