|
|
@@ -617,7 +617,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
|
|
|
// 获取实际发布数量
|
|
|
int sameCategoryCount = secondGoodsRecordList.size();
|
|
|
// 如果发布数量超过限制,记录风控数据
|
|
|
- if (sameCategoryCount >= publishLimit) {
|
|
|
+ if (sameCategoryCount > publishLimit) {
|
|
|
// "异常发布-同类商品发布频率"
|
|
|
riskControlService.recordRiskControlData(goods.getUserId(), RiskControlRuleTypeEnum.TRANSACTION_FRAUD.getRuleType(), RiskControlRuleTypeEnum.TRANSACTION_FRAUD.getDescription(), goods.getId().toString(),json);
|
|
|
return false;
|
|
|
@@ -657,7 +657,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
|
|
|
// 获取实际发布数量
|
|
|
int sameCategoryCount = secondGoodsList.size();
|
|
|
// 如果发布数量超过限制,记录风控数据
|
|
|
- if (sameCategoryCount >= sameCategoryLimit) {
|
|
|
+ if (sameCategoryCount > sameCategoryLimit) {
|
|
|
// "异常发布-同类商品发布频率"
|
|
|
riskControlService.recordRiskControlData(goods.getUserId(), RiskControlRuleTypeEnum.ABNORMAL_PUBLISH.getRuleType(), RiskControlRuleTypeEnum.ABNORMAL_PUBLISH.getDescription(), goods.getId().toString(),json);
|
|
|
return false;
|