Authored by hugufei

列表全部返回找回类型,非召回的场景,使用默认即可

... ... @@ -7,6 +7,7 @@ import java.util.Map;
import javax.annotation.PostConstruct;
import com.yoho.search.recall.scene.beans.strategy.StrategyEnum;
import org.apache.commons.collections.MapUtils;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
... ... @@ -220,6 +221,10 @@ public class ProductIndexBaseService {
productMap.put("deposit", MapUtils.getDoubleValue(map, ProductIndexEsField.deposit, 0));
productMap.put("deposit_multiples", MapUtils.getIntValue(map, ProductIndexEsField.depositMultiples));
// 找回类型-全部使用默认即可
productMap.put("recall_type", StrategyEnum.DEFAULT.name());
return productMap;
}
... ...
... ... @@ -31,8 +31,6 @@ public class DefaultProductListService {
@Autowired
private SearchCommonService searchCommonService;
@Autowired
private SearchCommonHelper searchCommonHelper;
@Autowired
private ProductListHelper productListHelper;
/**
... ...