修复在线用户判断逻辑

master
liguonan 4 years ago
parent 8b5d254242
commit de2ac66f0b
  1. 2
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserOnlineServiceImpl.java

@ -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;
}

Loading…
Cancel
Save