Authored by unknown

优化场景接口包名

Showing 15 changed files with 79 additions and 79 deletions
package com.yoho.search.service.restapi.split;
package com.yoho.search.service.restapi.scene;
import java.util.Map;
... ... @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.yoho.search.service.split.impl.CouponSearchService;
import com.yoho.search.service.servicenew.scene.CouponSceneService;
import com.yoho.search.service.utils.HttpServletRequestUtils;
import com.yoho.search.service.vo.SearchApiResult;
... ... @@ -21,10 +21,10 @@ import com.yoho.search.service.vo.SearchApiResult;
*
*/
@Controller
public class CouponSearchController {
public class CouponSceneController {
@Autowired
private CouponSearchService couponSearchService;
private CouponSceneService couponSearchService;
/**
* 优惠券商品列表
... ...
package com.yoho.search.service.restapi.split;
package com.yoho.search.service.restapi.scene;
import java.util.Map;
... ... @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.yoho.search.service.split.impl.FuzzySearchService;
import com.yoho.search.service.servicenew.scene.FuzzySceneService;
import com.yoho.search.service.utils.HttpServletRequestUtils;
import com.yoho.search.service.vo.SearchApiResult;
... ... @@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult;
*
*/
@Controller
public class FuzzySearchController {
public class FuzzySceneController {
@Autowired
private FuzzySearchService fuzzySearchService;
private FuzzySceneService fuzzySearchService;
/**
* 模糊搜索列表
... ...
package com.yoho.search.service.restapi.split;
package com.yoho.search.service.restapi.scene;
import java.util.Map;
... ... @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.yoho.search.service.split.impl.NewArrivalService;
import com.yoho.search.service.servicenew.scene.NewArrivalSceneService;
import com.yoho.search.service.utils.HttpServletRequestUtils;
import com.yoho.search.service.vo.SearchApiResult;
... ... @@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult;
*
*/
@Controller
public class NewArrivalSearchController {
public class NewArrivalSceneController {
@Autowired
private NewArrivalService newArrivalService;
private NewArrivalSceneService newArrivalService;
/**
* 店铺页列表
... ...
package com.yoho.search.service.restapi.split;
package com.yoho.search.service.restapi.scene;
import java.util.Map;
... ... @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.yoho.search.service.split.impl.ShopSearchService;
import com.yoho.search.service.servicenew.scene.ShopSceneService;
import com.yoho.search.service.utils.HttpServletRequestUtils;
import com.yoho.search.service.vo.SearchApiResult;
... ... @@ -21,10 +21,10 @@ import com.yoho.search.service.vo.SearchApiResult;
*
*/
@Controller
public class ShopSearchController {
public class ShopSceneController {
@Autowired
private ShopSearchService shopSearchService;
private ShopSceneService shopSearchService;
/**
* 店铺页列表
... ...
package com.yoho.search.service.restapi.split;
package com.yoho.search.service.restapi.scene;
import java.util.Map;
... ... @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.yoho.search.service.split.impl.SortSearchService;
import com.yoho.search.service.servicenew.scene.SortSceneService;
import com.yoho.search.service.utils.HttpServletRequestUtils;
import com.yoho.search.service.vo.SearchApiResult;
... ... @@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult;
* @author gufei.hu
*/
@Controller
public class SortSearchController {
public class SortSceneController {
@Autowired
private SortSearchService sortSearchService;
private SortSceneService sortSearchService;
/**
* 品类页列表
... ...
package com.yoho.search.service.restapi.split;
package com.yoho.search.service.restapi.scene;
import java.util.Map;
... ... @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.yoho.search.service.split.impl.ZqSearchService;
import com.yoho.search.service.servicenew.scene.ZqSceneService;
import com.yoho.search.service.utils.HttpServletRequestUtils;
import com.yoho.search.service.vo.SearchApiResult;
... ... @@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult;
*
*/
@Controller
public class ZqSearchController {
public class ZqSceneController {
@Autowired
private ZqSearchService zqSearchService;
private ZqSceneService zqSearchService;
/**
* 专区搜索列表
... ...
package com.yoho.search.service.split.impl;
package com.yoho.search.service.servicenew.scene;
import java.util.List;
import java.util.Map;
... ... @@ -11,21 +11,21 @@ import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSONObject;
import com.yoho.search.base.utils.SearchPageIdDefine;
import com.yoho.search.core.es.agg.IAggregation;
import com.yoho.search.service.split.AbstractSplitService;
import com.yoho.search.service.split.common.SplitProductListService;
import com.yoho.search.service.split.common.SplitSelectionsService;
import com.yoho.search.service.servicenew.scene.common.AbstractSceneService;
import com.yoho.search.service.servicenew.scene.common.SceneProductListService;
import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService;
import com.yoho.search.service.utils.SearchApiResultUtils;
import com.yoho.search.service.vo.SearchApiResult;
@Service
public class CouponSearchService extends AbstractSplitService{
public class CouponSceneService extends AbstractSceneService{
private static final Logger logger = LoggerFactory.getLogger(CouponSearchService.class);
private static final Logger logger = LoggerFactory.getLogger(CouponSceneService.class);
@Autowired
private SplitProductListService splitProductListService;
private SceneProductListService splitProductListService;
@Autowired
private SplitSelectionsService splitSelectionsService;
private SceneSelectionsService splitSelectionsService;
@Override
public String pageId() {
... ...
package com.yoho.search.service.split.impl;
package com.yoho.search.service.servicenew.scene;
import java.util.Map;
... ... @@ -13,22 +13,22 @@ import com.yoho.search.base.utils.SearchPageIdDefine;
import com.yoho.search.service.service.SearchDynamicConfigService;
import com.yoho.search.service.service.helper.SearchCommonHelper;
import com.yoho.search.service.servicenew.ISearchRecommendService;
import com.yoho.search.service.split.AbstractSplitService;
import com.yoho.search.service.split.common.SplitProductListService;
import com.yoho.search.service.split.common.SplitSelectionsService;
import com.yoho.search.service.servicenew.scene.common.AbstractSceneService;
import com.yoho.search.service.servicenew.scene.common.SceneProductListService;
import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService;
import com.yoho.search.service.utils.SearchApiResultUtils;
import com.yoho.search.service.utils.SearchRequestParams;
import com.yoho.search.service.vo.SearchApiResult;
@Service
public class FuzzySearchService extends AbstractSplitService{
public class FuzzySceneService extends AbstractSceneService{
private static final Logger logger = LoggerFactory.getLogger(FuzzySearchService.class);
private static final Logger logger = LoggerFactory.getLogger(FuzzySceneService.class);
@Autowired
private SplitProductListService splitProductListService;
private SceneProductListService splitProductListService;
@Autowired
private SplitSelectionsService splitSelectionsService;
private SceneSelectionsService splitSelectionsService;
@Autowired
private SearchCommonHelper searchCommonHelper;
@Autowired
... ...
package com.yoho.search.service.split.impl;
package com.yoho.search.service.servicenew.scene;
import java.util.List;
import java.util.Map;
... ... @@ -11,21 +11,21 @@ import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSONObject;
import com.yoho.search.base.utils.SearchPageIdDefine;
import com.yoho.search.core.es.agg.IAggregation;
import com.yoho.search.service.split.AbstractSplitService;
import com.yoho.search.service.split.common.SplitProductListService;
import com.yoho.search.service.split.common.SplitSelectionsService;
import com.yoho.search.service.servicenew.scene.common.AbstractSceneService;
import com.yoho.search.service.servicenew.scene.common.SceneProductListService;
import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService;
import com.yoho.search.service.utils.SearchApiResultUtils;
import com.yoho.search.service.vo.SearchApiResult;
@Service
public class NewArrivalService extends AbstractSplitService{
public class NewArrivalSceneService extends AbstractSceneService{
private static final Logger logger = LoggerFactory.getLogger(NewArrivalService.class);
private static final Logger logger = LoggerFactory.getLogger(NewArrivalSceneService.class);
@Autowired
private SplitProductListService splitProductListService;
private SceneProductListService splitProductListService;
@Autowired
private SplitSelectionsService splitSelectionsService;
private SceneSelectionsService splitSelectionsService;
@Override
public String pageId() {
... ...
package com.yoho.search.service.split.impl;
package com.yoho.search.service.servicenew.scene;
import java.util.List;
import java.util.Map;
... ... @@ -11,21 +11,21 @@ import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSONObject;
import com.yoho.search.base.utils.SearchPageIdDefine;
import com.yoho.search.core.es.agg.IAggregation;
import com.yoho.search.service.split.AbstractSplitService;
import com.yoho.search.service.split.common.SplitProductListService;
import com.yoho.search.service.split.common.SplitSelectionsService;
import com.yoho.search.service.servicenew.scene.common.AbstractSceneService;
import com.yoho.search.service.servicenew.scene.common.SceneProductListService;
import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService;
import com.yoho.search.service.utils.SearchApiResultUtils;
import com.yoho.search.service.vo.SearchApiResult;
@Service
public class ShopSearchService extends AbstractSplitService {
public class ShopSceneService extends AbstractSceneService {
private static final Logger logger = LoggerFactory.getLogger(SortSearchService.class);
private static final Logger logger = LoggerFactory.getLogger(SortSceneService.class);
@Autowired
private SplitProductListService splitProductListService;
private SceneProductListService splitProductListService;
@Autowired
private SplitSelectionsService splitSelectionsService;
private SceneSelectionsService splitSelectionsService;
@Override
public String pageId() {
... ...
package com.yoho.search.service.split.impl;
package com.yoho.search.service.servicenew.scene;
import java.util.Map;
... ... @@ -9,21 +9,21 @@ import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSONObject;
import com.yoho.search.base.utils.SearchPageIdDefine;
import com.yoho.search.service.split.AbstractSplitService;
import com.yoho.search.service.split.common.SplitProductListService;
import com.yoho.search.service.split.common.SplitSelectionsService;
import com.yoho.search.service.servicenew.scene.common.AbstractSceneService;
import com.yoho.search.service.servicenew.scene.common.SceneProductListService;
import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService;
import com.yoho.search.service.utils.SearchApiResultUtils;
import com.yoho.search.service.vo.SearchApiResult;
@Service
public class SortSearchService extends AbstractSplitService {
public class SortSceneService extends AbstractSceneService {
private static final Logger logger = LoggerFactory.getLogger(SortSearchService.class);
private static final Logger logger = LoggerFactory.getLogger(SortSceneService.class);
@Autowired
private SplitProductListService splitProductListService;
private SceneProductListService splitProductListService;
@Autowired
private SplitSelectionsService splitSelectionsService;
private SceneSelectionsService splitSelectionsService;
@Override
public String pageId() {
... ...
package com.yoho.search.service.split.impl;
package com.yoho.search.service.servicenew.scene;
import java.util.Map;
... ... @@ -9,21 +9,21 @@ import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSONObject;
import com.yoho.search.base.utils.SearchPageIdDefine;
import com.yoho.search.service.split.AbstractSplitService;
import com.yoho.search.service.split.common.SplitProductListService;
import com.yoho.search.service.split.common.SplitSelectionsService;
import com.yoho.search.service.servicenew.scene.common.AbstractSceneService;
import com.yoho.search.service.servicenew.scene.common.SceneProductListService;
import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService;
import com.yoho.search.service.utils.SearchApiResultUtils;
import com.yoho.search.service.vo.SearchApiResult;
@Service
public class ZqSearchService extends AbstractSplitService{
public class ZqSceneService extends AbstractSceneService{
private static final Logger logger = LoggerFactory.getLogger(ZqSearchService.class);
private static final Logger logger = LoggerFactory.getLogger(ZqSceneService.class);
@Autowired
private SplitProductListService splitProductListService;
private SceneProductListService splitProductListService;
@Autowired
private SplitSelectionsService splitSelectionsService;
private SceneSelectionsService splitSelectionsService;
@Override
public String pageId() {
... ...
package com.yoho.search.service.split;
package com.yoho.search.service.servicenew.scene.common;
import java.util.Map;
import com.yoho.search.service.vo.SearchApiResult;
public abstract class AbstractSplitService {
public abstract class AbstractSceneService {
public abstract String pageId();
... ...
package com.yoho.search.service.split.common;
package com.yoho.search.service.servicenew.scene.common;
import java.util.ArrayList;
import java.util.Iterator;
... ... @@ -28,7 +28,7 @@ import com.yoho.search.service.servicenew.impl.BaseService;
import com.yoho.search.service.vo.SearchApiResult;
@Service
public class SplitProductListService extends BaseService {
public class SceneProductListService extends BaseService {
@Autowired
private SearchCommonHelper searchCommonHelper;
... ...
package com.yoho.search.service.split.common;
package com.yoho.search.service.servicenew.scene.common;
import java.util.ArrayList;
import java.util.List;
... ... @@ -36,9 +36,9 @@ import com.yoho.search.service.servicenew.impl.BaseService;
import com.yoho.search.service.vo.SearchApiResult;
@Service
public class SplitSelectionsService extends BaseService {
public class SceneSelectionsService extends BaseService {
private static final Logger logger = LoggerFactory.getLogger(SplitSelectionsService.class);
private static final Logger logger = LoggerFactory.getLogger(SceneSelectionsService.class);
@Autowired
private SearchCommonHelper searchCommonHelper;
... ...