Authored by hugufei

Merge branch 'master' into wn_FreeShippingCouponsPool

package com.yoho.search.service.scene;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSONObject;
import com.yoho.search.base.utils.SearchPageIdDefine;
import com.yoho.search.models.SearchApiResult;
... ... @@ -22,8 +11,16 @@ import com.yoho.search.service.scene.common.AbstractSceneService;
import com.yoho.search.service.scene.common.CommonSceneProductListService;
import com.yoho.search.service.scene.common.SceneSelectionsService;
import com.yoho.search.service.scene.recall.SortRecallSceneService;
import com.yoho.search.service.service.IAggRecommendService;
import com.yoho.search.service.service.IProductIndexService;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
@Service
public class SortSceneService extends AbstractSceneService {
... ... @@ -37,10 +34,6 @@ public class SortSceneService extends AbstractSceneService {
@Autowired
private SearchCommonHelper searchCommonHelper;
@Autowired
private IProductIndexService productIndexService;
@Autowired
private IAggRecommendService aggRecommendService;
@Autowired
private SortRecallSceneService sortRecallSceneService;
@Autowired
private SearchDynamicConfigService searchDynamicConfigService;
... ... @@ -127,13 +120,10 @@ public class SortSceneService extends AbstractSceneService {
if (!searchCommonHelper.isOrderEmpty(paramMap)) {
return false;
}
// int uid = searchCommonHelper.getUid(paramMap);
// if (uid <= 0) {
// return false;
// }
// if (!searchDynamicConfigService.isGoToSortRecallUser(uid)) {
// return false;
// }
int uid = searchCommonHelper.getUid(paramMap);
if (uid <= 0) {
return false;
}
return true;
}
... ...