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

Merge pull request !55 from 心悦李国楠/dev-心悦
master
若依 4 years ago committed by Gitee
commit 98982515f7
  1. 2
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserOnlineServiceImpl.java

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

Loading…
Cancel
Save