修复在线用户判断逻辑

This commit is contained in:
liguonan 2020-08-03 17:57:33 +08:00
parent 8b5d254242
commit de2ac66f0b
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService
@Override @Override
public SysUserOnline loginUserToUserOnline(LoginUser user) public SysUserOnline loginUserToUserOnline(LoginUser user)
{ {
if (StringUtils.isNull(user) && StringUtils.isNull(user.getUser())) if (StringUtils.isNull(user) || StringUtils.isNull(user.getUser()))
{ {
return null; return null;
} }