|
@@ -58,6 +58,10 @@ public class RiskControlProperties {
|
|
|
* 24小时内发布成功记录次数阈值
|
|
* 24小时内发布成功记录次数阈值
|
|
|
*/
|
|
*/
|
|
|
private int publishCount24h = 3;
|
|
private int publishCount24h = 3;
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 时间窗口(小时)
|
|
|
|
|
+ */
|
|
|
|
|
+ private int timeWindowHours = 24;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Data
|
|
@Data
|
|
@@ -66,5 +70,10 @@ public class RiskControlProperties {
|
|
|
* 24小时内发布同类商品数量阈值
|
|
* 24小时内发布同类商品数量阈值
|
|
|
*/
|
|
*/
|
|
|
private int sameCategoryCount24h = 10;
|
|
private int sameCategoryCount24h = 10;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 时间窗口(小时)
|
|
|
|
|
+ */
|
|
|
|
|
+ private int timeWindowHours = 24;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|