!55 修复在线用户判断逻辑

Merge pull request !55 from 心悦李国楠/dev-心悦
This commit is contained in:
若依 2020-08-05 11:39:09 +08:00 committed by Gitee
commit 98982515f7
1 changed files with 1 additions and 1 deletions

View File

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