|
|
@@ -12,7 +12,6 @@ import com.tzld.longarticle.recommend.server.mapper.crawler.ext.ArticleUserGroup
|
|
|
import com.tzld.longarticle.recommend.server.mapper.longArticle.LongArticleBaseMapper;
|
|
|
import com.tzld.longarticle.recommend.server.model.dto.Content;
|
|
|
import com.tzld.longarticle.recommend.server.model.dto.UserGroupCountDTO;
|
|
|
-import com.tzld.longarticle.recommend.server.model.entity.aigc.PublishPlan;
|
|
|
import com.tzld.longarticle.recommend.server.model.entity.crawler.AccountAvgInfo;
|
|
|
import com.tzld.longarticle.recommend.server.model.entity.crawler.PublishSortLog;
|
|
|
import com.tzld.longarticle.recommend.server.model.param.RecommendParam;
|
|
|
@@ -166,11 +165,11 @@ public class RecommendService {
|
|
|
}
|
|
|
}
|
|
|
// 服务号计划走服务号随机策略
|
|
|
- PublishPlan publishPlan = publishPlanRepository.getById(param.getPlanId());
|
|
|
- if (publishPlan.getName().contains("服务号")
|
|
|
- && !Objects.equals(request.getPushType(), PushTypeEnum.BATCH_GROUP_PUBLISH.getVal())) {
|
|
|
- param.setStrategy(RankStrategyEnum.FWH_STRATEGY.getStrategy());
|
|
|
- }
|
|
|
+ //PublishPlan publishPlan = publishPlanRepository.getById(param.getPlanId());
|
|
|
+ //if (publishPlan.getName().contains("服务号")
|
|
|
+ // && !Objects.equals(request.getPushType(), PushTypeEnum.BATCH_GROUP_PUBLISH.getVal())) {
|
|
|
+ // param.setStrategy(RankStrategyEnum.FWH_STRATEGY.getStrategy());
|
|
|
+ //}
|
|
|
}
|
|
|
|
|
|
public RecommendWithUserGroupResponse recommend4FwhColdStart(RecommendRequest request) {
|