|
@@ -50,6 +50,16 @@ public class ViewCountRateStrategy implements ScoreStrategy {
|
|
|
continue;
|
|
|
}
|
|
|
double avgViewCountPos = accountIndexAvgViewCountService.getAvgReadCountByDB(avgInfoList, param.getGhId(), i + 1);
|
|
|
+ // 缺省头条均值设置为2w,次条为1w
|
|
|
+ if (avgViewCountPos < 10) {
|
|
|
+ if (i == 0) {
|
|
|
+ avgViewCountPos = 20000D;
|
|
|
+ } else if (i == 1) {
|
|
|
+ avgViewCountPos = 10000D;
|
|
|
+ } else {
|
|
|
+ avgViewCountPos = 400D;
|
|
|
+ }
|
|
|
+ }
|
|
|
double showViewCountSum = 0D;
|
|
|
double avgViewCountSum = 0D;
|
|
|
double showViewCountSumFirst = 0D;
|