123
This commit is contained in:
@@ -83,12 +83,14 @@ public class LoginNotifyHandle implements IHandle {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
log.info("开启了隐私模式或者不是男的上线 user={}",JSON.toJSONString(user));
|
||||
}
|
||||
}
|
||||
|
||||
private void updateUserInfoSB(Long userId, String ip,String imei) {
|
||||
String address = AddressUtils.getRealAddressByIP(ip);
|
||||
UserInfo userInfo = userInfoService.getById(userId);
|
||||
UserInfo userInfo = userInfoService.getByUserId(userId);
|
||||
UserInfo update = new UserInfo();
|
||||
update.setUserId(userId);
|
||||
update.setLoginCount(userInfo.getLoginCount()==null?0:userInfo.getLoginCount()+1);
|
||||
|
||||
Reference in New Issue
Block a user