|
|
@@ -520,7 +520,7 @@ public class RiskServiceImpl implements RiskService {
|
|
|
Map<String, String> configMap = configList.stream().collect(
|
|
|
Collectors.toMap(RiskConfigView::getFieldName, RiskConfigView::getConfigVal));
|
|
|
int limitHour = Integer.parseInt(configMap.get("limitHour"));
|
|
|
- int limitCount = Integer.parseInt(configMap.get("limitCount"));
|
|
|
+ int limitCount = Integer.parseInt(configMap.get("limitCityCount"));
|
|
|
String limitCity = configMap.get("limitCity");
|
|
|
if (StringUtils.isEmpty(limitCity)) {
|
|
|
return;
|
|
|
@@ -535,7 +535,7 @@ public class RiskServiceImpl implements RiskService {
|
|
|
return;
|
|
|
}
|
|
|
if (redisService.hasKey(passkey) && limitCount <= cityUserCount) {
|
|
|
- log.warn(StrUtil.format("[risk 335] superiorId:{} appId:{} userId:{} limitCount:{}",
|
|
|
+ log.warn(StrUtil.format("[risk 335] superiorId:{} appId:{} userId:{} limitCityCount:{}",
|
|
|
userApp.getAppId(), dyzUser.getAppId(), dyzUser.getUserId(), limitCount));
|
|
|
String errorMsg = RepMessage.RISK_IP_LIMIT_VALUE;
|
|
|
if (StrUtil.isNotEmpty(iosIpLimitTip)) {
|