|
@@ -46,7 +46,6 @@ import org.springframework.stereotype.Service;
|
|
|
import javax.annotation.PostConstruct;
|
|
import javax.annotation.PostConstruct;
|
|
|
import java.time.Duration;
|
|
import java.time.Duration;
|
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDate;
|
|
|
-import java.time.LocalDateTime;
|
|
|
|
|
import java.time.ZoneId;
|
|
import java.time.ZoneId;
|
|
|
import java.util.*;
|
|
import java.util.*;
|
|
|
import java.util.concurrent.TimeUnit;
|
|
import java.util.concurrent.TimeUnit;
|
|
@@ -428,6 +427,7 @@ public class RecommendService {
|
|
|
param.setRecommendType(recommendType);
|
|
param.setRecommendType(recommendType);
|
|
|
param.setRequestVideoId(request.getRequestVideoId());
|
|
param.setRequestVideoId(request.getRequestVideoId());
|
|
|
param.setCurrentPageSource(request.getCurrentPageSource());
|
|
param.setCurrentPageSource(request.getCurrentPageSource());
|
|
|
|
|
+ param.setOpenGId(request.getOpenGId());
|
|
|
|
|
|
|
|
Map<String, String> creativeInfoFeature = this.getCreativeInfoFeature(request.getRootSourceId(), channelName, request.getUserShareDepth());
|
|
Map<String, String> creativeInfoFeature = this.getCreativeInfoFeature(request.getRootSourceId(), channelName, request.getUserShareDepth());
|
|
|
param.setCreativeInfoFeature(creativeInfoFeature);
|
|
param.setCreativeInfoFeature(creativeInfoFeature);
|
|
@@ -580,6 +580,7 @@ public class RecommendService {
|
|
|
recallParam.setRequestVideoId(param.getRequestVideoId());
|
|
recallParam.setRequestVideoId(param.getRequestVideoId());
|
|
|
recallParam.setCurrentPageSource(param.getCurrentPageSource());
|
|
recallParam.setCurrentPageSource(param.getCurrentPageSource());
|
|
|
recallParam.setCreativeInfoFeature(param.getCreativeInfoFeature());
|
|
recallParam.setCreativeInfoFeature(param.getCreativeInfoFeature());
|
|
|
|
|
+ recallParam.setOpenGId(param.getOpenGId());
|
|
|
return recallParam;
|
|
return recallParam;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -612,6 +613,7 @@ public class RecommendService {
|
|
|
rankParam.setRequestVideoId(param.getRequestVideoId());
|
|
rankParam.setRequestVideoId(param.getRequestVideoId());
|
|
|
rankParam.setCurrentPageSource(param.getCurrentPageSource());
|
|
rankParam.setCurrentPageSource(param.getCurrentPageSource());
|
|
|
rankParam.setCreativeInfoFeature(param.getCreativeInfoFeature());
|
|
rankParam.setCreativeInfoFeature(param.getCreativeInfoFeature());
|
|
|
|
|
+ rankParam.setOpenGId(param.getOpenGId());
|
|
|
return rankParam;
|
|
return rankParam;
|
|
|
}
|
|
}
|
|
|
|
|
|