|
@@ -93,7 +93,8 @@ public class RecommendService {
|
|
|
}
|
|
|
|
|
|
private void setStrategy(RecommendRequest request, RecommendParam param) {
|
|
|
- if (Objects.equals(request.getPushType(), PushTypeEnum.AUTO_PUBLISH.getVal())) {
|
|
|
+ if (Objects.equals(request.getPushType(), PushTypeEnum.AUTO_PUBLISH.getVal())
|
|
|
+ || Objects.equals(request.getPushType(), PushTypeEnum.ROBOPOST.getVal())) {
|
|
|
param.setStrategy(RankStrategyEnum.INFINITE_STRATEGY.getStrategy());
|
|
|
param.setType(ArticleTypeEnum.WUXIANLIU.getVal());
|
|
|
return;
|