Authored by hugufei

人气兜底最少一页

... ... @@ -141,7 +141,7 @@ public class CommonRecallRequestBuilder {
*/
private RecallRequest buildCommonHeatValueStrategy(UserRecallRequest userRecallRequest, int defaultSize) {
int size = recallConfigService.queryStrategyConfigSize(userRecallRequest, StrategyEnum.COMMON_HEAT_VALUE, defaultSize);
if (size == 0) {
if (size == 0 || size<defaultSize) {
size = defaultSize;
}
CommonHeatValueStrategy strategy = new CommonHeatValueStrategy(size);
... ...