|
@@ -95,6 +95,8 @@ public class ArticlePromotionService {
|
|
|
private Map<String, Map<String, Map<String, String>>> produceConfig;
|
|
|
@Value("${topProducePlanId:}")
|
|
|
private String topProducePlanId;
|
|
|
+ @Value("${readOpenFissionRateThreshold:}")
|
|
|
+ private Double readOpenFissionRateThreshold;
|
|
|
|
|
|
private final List<String> contentPoolType = Arrays.asList("autoArticlePoolLevel1", "autoArticlePoolLevel3", "autoArticlePoolLevel4");
|
|
|
|
|
@@ -196,7 +198,7 @@ public class ArticlePromotionService {
|
|
|
.collect(Collectors.toList());
|
|
|
} else {
|
|
|
// 使用新规则过滤
|
|
|
- listStrategyV2 = promotionWithReadOpenFissionRate(0.5, list);
|
|
|
+ listStrategyV2 = promotionWithReadOpenFissionRate(readOpenFissionRateThreshold, list);
|
|
|
}
|
|
|
listStrategyV2 = listStrategyV2.stream().filter(o -> !StrategyV1WxSn.contains(o.getWxSn())).collect(Collectors.toList());
|
|
|
|