|
|
@@ -345,11 +345,11 @@ public class LifeUserService extends ServiceImpl<LifeUserMapper, LifeUser> {
|
|
|
String endDate = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
|
|
|
List<LifeUserLog> lsit = lifeUserLogMapper.getLifeUserLogByDate(startDate, endDate, macIp);
|
|
|
|
|
|
- if (lsit.size() >= riskControlProperties.getAccountAbnormal().getRegCount24h() && !isViolation(startDate, endDate, macIp, user.getId())) {
|
|
|
+ if (lsit.size() > riskControlProperties.getAccountAbnormal().getRegCount24h() && !isViolation(startDate, endDate, macIp, user.getId())) {
|
|
|
String detailInfo = lsit.stream()
|
|
|
.map(row -> row.getUserId().toString())
|
|
|
.collect(Collectors.joining(","));
|
|
|
- alienSecondFeign.recordRiskControlData(user.getId(), 2, "账号异常", macIp, detailInfo + "," + user.getId());
|
|
|
+ alienSecondFeign.recordRiskControlData(user.getId(), 2, "账号异常", macIp, detailInfo);
|
|
|
}
|
|
|
}
|
|
|
// 第一次登录,添加用户基础积分
|