|
|
@@ -1,5 +1,6 @@
|
|
|
package com.tzld.longarticle.recommend.server.service.recommend.score.strategy;
|
|
|
|
|
|
+import com.ctrip.framework.apollo.spring.annotation.ApolloJsonValue;
|
|
|
import com.tzld.longarticle.recommend.server.model.dto.Content;
|
|
|
import com.tzld.longarticle.recommend.server.model.dto.ContentHisPublishArticle;
|
|
|
import com.tzld.longarticle.recommend.server.model.entity.crawler.AccountAvgInfo;
|
|
|
@@ -32,7 +33,7 @@ public class ViewCountRateStrategy implements ScoreStrategy {
|
|
|
@Autowired
|
|
|
AccountAvgInfoRepository accountAvgInfoRepository;
|
|
|
|
|
|
- @Value("${view.count.rate.account.his.filter.days:{}}")
|
|
|
+ @ApolloJsonValue("${view.count.rate.account.his.filter.days:{}}")
|
|
|
private Map<String, Integer> accountHisFilterDaysConfig;
|
|
|
|
|
|
@Override
|