Showing
15 changed files
with
79 additions
and
79 deletions
1 | -package com.yoho.search.service.restapi.split; | 1 | +package com.yoho.search.service.restapi.scene; |
2 | 2 | ||
3 | import java.util.Map; | 3 | import java.util.Map; |
4 | 4 | ||
@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | ||
10 | import org.springframework.web.bind.annotation.RequestMethod; | 10 | import org.springframework.web.bind.annotation.RequestMethod; |
11 | import org.springframework.web.bind.annotation.ResponseBody; | 11 | import org.springframework.web.bind.annotation.ResponseBody; |
12 | 12 | ||
13 | -import com.yoho.search.service.split.impl.CouponSearchService; | 13 | +import com.yoho.search.service.servicenew.scene.CouponSceneService; |
14 | import com.yoho.search.service.utils.HttpServletRequestUtils; | 14 | import com.yoho.search.service.utils.HttpServletRequestUtils; |
15 | import com.yoho.search.service.vo.SearchApiResult; | 15 | import com.yoho.search.service.vo.SearchApiResult; |
16 | 16 | ||
@@ -21,10 +21,10 @@ import com.yoho.search.service.vo.SearchApiResult; | @@ -21,10 +21,10 @@ import com.yoho.search.service.vo.SearchApiResult; | ||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | @Controller | 23 | @Controller |
24 | -public class CouponSearchController { | 24 | +public class CouponSceneController { |
25 | 25 | ||
26 | @Autowired | 26 | @Autowired |
27 | - private CouponSearchService couponSearchService; | 27 | + private CouponSceneService couponSearchService; |
28 | 28 | ||
29 | /** | 29 | /** |
30 | * 优惠券商品列表 | 30 | * 优惠券商品列表 |
1 | -package com.yoho.search.service.restapi.split; | 1 | +package com.yoho.search.service.restapi.scene; |
2 | 2 | ||
3 | import java.util.Map; | 3 | import java.util.Map; |
4 | 4 | ||
@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | ||
10 | import org.springframework.web.bind.annotation.RequestMethod; | 10 | import org.springframework.web.bind.annotation.RequestMethod; |
11 | import org.springframework.web.bind.annotation.ResponseBody; | 11 | import org.springframework.web.bind.annotation.ResponseBody; |
12 | 12 | ||
13 | -import com.yoho.search.service.split.impl.FuzzySearchService; | 13 | +import com.yoho.search.service.servicenew.scene.FuzzySceneService; |
14 | import com.yoho.search.service.utils.HttpServletRequestUtils; | 14 | import com.yoho.search.service.utils.HttpServletRequestUtils; |
15 | import com.yoho.search.service.vo.SearchApiResult; | 15 | import com.yoho.search.service.vo.SearchApiResult; |
16 | 16 | ||
@@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult; | @@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult; | ||
20 | * | 20 | * |
21 | */ | 21 | */ |
22 | @Controller | 22 | @Controller |
23 | -public class FuzzySearchController { | 23 | +public class FuzzySceneController { |
24 | 24 | ||
25 | @Autowired | 25 | @Autowired |
26 | - private FuzzySearchService fuzzySearchService; | 26 | + private FuzzySceneService fuzzySearchService; |
27 | 27 | ||
28 | /** | 28 | /** |
29 | * 模糊搜索列表 | 29 | * 模糊搜索列表 |
1 | -package com.yoho.search.service.restapi.split; | 1 | +package com.yoho.search.service.restapi.scene; |
2 | 2 | ||
3 | import java.util.Map; | 3 | import java.util.Map; |
4 | 4 | ||
@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | ||
10 | import org.springframework.web.bind.annotation.RequestMethod; | 10 | import org.springframework.web.bind.annotation.RequestMethod; |
11 | import org.springframework.web.bind.annotation.ResponseBody; | 11 | import org.springframework.web.bind.annotation.ResponseBody; |
12 | 12 | ||
13 | -import com.yoho.search.service.split.impl.NewArrivalService; | 13 | +import com.yoho.search.service.servicenew.scene.NewArrivalSceneService; |
14 | import com.yoho.search.service.utils.HttpServletRequestUtils; | 14 | import com.yoho.search.service.utils.HttpServletRequestUtils; |
15 | import com.yoho.search.service.vo.SearchApiResult; | 15 | import com.yoho.search.service.vo.SearchApiResult; |
16 | 16 | ||
@@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult; | @@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult; | ||
20 | * | 20 | * |
21 | */ | 21 | */ |
22 | @Controller | 22 | @Controller |
23 | -public class NewArrivalSearchController { | 23 | +public class NewArrivalSceneController { |
24 | 24 | ||
25 | @Autowired | 25 | @Autowired |
26 | - private NewArrivalService newArrivalService; | 26 | + private NewArrivalSceneService newArrivalService; |
27 | 27 | ||
28 | /** | 28 | /** |
29 | * 店铺页列表 | 29 | * 店铺页列表 |
1 | -package com.yoho.search.service.restapi.split; | 1 | +package com.yoho.search.service.restapi.scene; |
2 | 2 | ||
3 | import java.util.Map; | 3 | import java.util.Map; |
4 | 4 | ||
@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | ||
10 | import org.springframework.web.bind.annotation.RequestMethod; | 10 | import org.springframework.web.bind.annotation.RequestMethod; |
11 | import org.springframework.web.bind.annotation.ResponseBody; | 11 | import org.springframework.web.bind.annotation.ResponseBody; |
12 | 12 | ||
13 | -import com.yoho.search.service.split.impl.ShopSearchService; | 13 | +import com.yoho.search.service.servicenew.scene.ShopSceneService; |
14 | import com.yoho.search.service.utils.HttpServletRequestUtils; | 14 | import com.yoho.search.service.utils.HttpServletRequestUtils; |
15 | import com.yoho.search.service.vo.SearchApiResult; | 15 | import com.yoho.search.service.vo.SearchApiResult; |
16 | 16 | ||
@@ -21,10 +21,10 @@ import com.yoho.search.service.vo.SearchApiResult; | @@ -21,10 +21,10 @@ import com.yoho.search.service.vo.SearchApiResult; | ||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | @Controller | 23 | @Controller |
24 | -public class ShopSearchController { | 24 | +public class ShopSceneController { |
25 | 25 | ||
26 | @Autowired | 26 | @Autowired |
27 | - private ShopSearchService shopSearchService; | 27 | + private ShopSceneService shopSearchService; |
28 | 28 | ||
29 | /** | 29 | /** |
30 | * 店铺页列表 | 30 | * 店铺页列表 |
1 | -package com.yoho.search.service.restapi.split; | 1 | +package com.yoho.search.service.restapi.scene; |
2 | 2 | ||
3 | import java.util.Map; | 3 | import java.util.Map; |
4 | 4 | ||
@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | ||
10 | import org.springframework.web.bind.annotation.RequestMethod; | 10 | import org.springframework.web.bind.annotation.RequestMethod; |
11 | import org.springframework.web.bind.annotation.ResponseBody; | 11 | import org.springframework.web.bind.annotation.ResponseBody; |
12 | 12 | ||
13 | -import com.yoho.search.service.split.impl.SortSearchService; | 13 | +import com.yoho.search.service.servicenew.scene.SortSceneService; |
14 | import com.yoho.search.service.utils.HttpServletRequestUtils; | 14 | import com.yoho.search.service.utils.HttpServletRequestUtils; |
15 | import com.yoho.search.service.vo.SearchApiResult; | 15 | import com.yoho.search.service.vo.SearchApiResult; |
16 | 16 | ||
@@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult; | @@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult; | ||
20 | * @author gufei.hu | 20 | * @author gufei.hu |
21 | */ | 21 | */ |
22 | @Controller | 22 | @Controller |
23 | -public class SortSearchController { | 23 | +public class SortSceneController { |
24 | 24 | ||
25 | @Autowired | 25 | @Autowired |
26 | - private SortSearchService sortSearchService; | 26 | + private SortSceneService sortSearchService; |
27 | 27 | ||
28 | /** | 28 | /** |
29 | * 品类页列表 | 29 | * 品类页列表 |
1 | -package com.yoho.search.service.restapi.split; | 1 | +package com.yoho.search.service.restapi.scene; |
2 | 2 | ||
3 | import java.util.Map; | 3 | import java.util.Map; |
4 | 4 | ||
@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; | ||
10 | import org.springframework.web.bind.annotation.RequestMethod; | 10 | import org.springframework.web.bind.annotation.RequestMethod; |
11 | import org.springframework.web.bind.annotation.ResponseBody; | 11 | import org.springframework.web.bind.annotation.ResponseBody; |
12 | 12 | ||
13 | -import com.yoho.search.service.split.impl.ZqSearchService; | 13 | +import com.yoho.search.service.servicenew.scene.ZqSceneService; |
14 | import com.yoho.search.service.utils.HttpServletRequestUtils; | 14 | import com.yoho.search.service.utils.HttpServletRequestUtils; |
15 | import com.yoho.search.service.vo.SearchApiResult; | 15 | import com.yoho.search.service.vo.SearchApiResult; |
16 | 16 | ||
@@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult; | @@ -20,10 +20,10 @@ import com.yoho.search.service.vo.SearchApiResult; | ||
20 | * | 20 | * |
21 | */ | 21 | */ |
22 | @Controller | 22 | @Controller |
23 | -public class ZqSearchController { | 23 | +public class ZqSceneController { |
24 | 24 | ||
25 | @Autowired | 25 | @Autowired |
26 | - private ZqSearchService zqSearchService; | 26 | + private ZqSceneService zqSearchService; |
27 | 27 | ||
28 | /** | 28 | /** |
29 | * 专区搜索列表 | 29 | * 专区搜索列表 |
1 | -package com.yoho.search.service.split.impl; | 1 | +package com.yoho.search.service.servicenew.scene; |
2 | 2 | ||
3 | import java.util.List; | 3 | import java.util.List; |
4 | import java.util.Map; | 4 | import java.util.Map; |
@@ -11,21 +11,21 @@ import org.springframework.stereotype.Service; | @@ -11,21 +11,21 @@ import org.springframework.stereotype.Service; | ||
11 | import com.alibaba.fastjson.JSONObject; | 11 | import com.alibaba.fastjson.JSONObject; |
12 | import com.yoho.search.base.utils.SearchPageIdDefine; | 12 | import com.yoho.search.base.utils.SearchPageIdDefine; |
13 | import com.yoho.search.core.es.agg.IAggregation; | 13 | import com.yoho.search.core.es.agg.IAggregation; |
14 | -import com.yoho.search.service.split.AbstractSplitService; | ||
15 | -import com.yoho.search.service.split.common.SplitProductListService; | ||
16 | -import com.yoho.search.service.split.common.SplitSelectionsService; | 14 | +import com.yoho.search.service.servicenew.scene.common.AbstractSceneService; |
15 | +import com.yoho.search.service.servicenew.scene.common.SceneProductListService; | ||
16 | +import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService; | ||
17 | import com.yoho.search.service.utils.SearchApiResultUtils; | 17 | import com.yoho.search.service.utils.SearchApiResultUtils; |
18 | import com.yoho.search.service.vo.SearchApiResult; | 18 | import com.yoho.search.service.vo.SearchApiResult; |
19 | 19 | ||
20 | @Service | 20 | @Service |
21 | -public class CouponSearchService extends AbstractSplitService{ | 21 | +public class CouponSceneService extends AbstractSceneService{ |
22 | 22 | ||
23 | - private static final Logger logger = LoggerFactory.getLogger(CouponSearchService.class); | 23 | + private static final Logger logger = LoggerFactory.getLogger(CouponSceneService.class); |
24 | 24 | ||
25 | @Autowired | 25 | @Autowired |
26 | - private SplitProductListService splitProductListService; | 26 | + private SceneProductListService splitProductListService; |
27 | @Autowired | 27 | @Autowired |
28 | - private SplitSelectionsService splitSelectionsService; | 28 | + private SceneSelectionsService splitSelectionsService; |
29 | 29 | ||
30 | @Override | 30 | @Override |
31 | public String pageId() { | 31 | public String pageId() { |
1 | -package com.yoho.search.service.split.impl; | 1 | +package com.yoho.search.service.servicenew.scene; |
2 | 2 | ||
3 | import java.util.Map; | 3 | import java.util.Map; |
4 | 4 | ||
@@ -13,22 +13,22 @@ import com.yoho.search.base.utils.SearchPageIdDefine; | @@ -13,22 +13,22 @@ import com.yoho.search.base.utils.SearchPageIdDefine; | ||
13 | import com.yoho.search.service.service.SearchDynamicConfigService; | 13 | import com.yoho.search.service.service.SearchDynamicConfigService; |
14 | import com.yoho.search.service.service.helper.SearchCommonHelper; | 14 | import com.yoho.search.service.service.helper.SearchCommonHelper; |
15 | import com.yoho.search.service.servicenew.ISearchRecommendService; | 15 | import com.yoho.search.service.servicenew.ISearchRecommendService; |
16 | -import com.yoho.search.service.split.AbstractSplitService; | ||
17 | -import com.yoho.search.service.split.common.SplitProductListService; | ||
18 | -import com.yoho.search.service.split.common.SplitSelectionsService; | 16 | +import com.yoho.search.service.servicenew.scene.common.AbstractSceneService; |
17 | +import com.yoho.search.service.servicenew.scene.common.SceneProductListService; | ||
18 | +import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService; | ||
19 | import com.yoho.search.service.utils.SearchApiResultUtils; | 19 | import com.yoho.search.service.utils.SearchApiResultUtils; |
20 | import com.yoho.search.service.utils.SearchRequestParams; | 20 | import com.yoho.search.service.utils.SearchRequestParams; |
21 | import com.yoho.search.service.vo.SearchApiResult; | 21 | import com.yoho.search.service.vo.SearchApiResult; |
22 | 22 | ||
23 | @Service | 23 | @Service |
24 | -public class FuzzySearchService extends AbstractSplitService{ | 24 | +public class FuzzySceneService extends AbstractSceneService{ |
25 | 25 | ||
26 | - private static final Logger logger = LoggerFactory.getLogger(FuzzySearchService.class); | 26 | + private static final Logger logger = LoggerFactory.getLogger(FuzzySceneService.class); |
27 | 27 | ||
28 | @Autowired | 28 | @Autowired |
29 | - private SplitProductListService splitProductListService; | 29 | + private SceneProductListService splitProductListService; |
30 | @Autowired | 30 | @Autowired |
31 | - private SplitSelectionsService splitSelectionsService; | 31 | + private SceneSelectionsService splitSelectionsService; |
32 | @Autowired | 32 | @Autowired |
33 | private SearchCommonHelper searchCommonHelper; | 33 | private SearchCommonHelper searchCommonHelper; |
34 | @Autowired | 34 | @Autowired |
1 | -package com.yoho.search.service.split.impl; | 1 | +package com.yoho.search.service.servicenew.scene; |
2 | 2 | ||
3 | import java.util.List; | 3 | import java.util.List; |
4 | import java.util.Map; | 4 | import java.util.Map; |
@@ -11,21 +11,21 @@ import org.springframework.stereotype.Service; | @@ -11,21 +11,21 @@ import org.springframework.stereotype.Service; | ||
11 | import com.alibaba.fastjson.JSONObject; | 11 | import com.alibaba.fastjson.JSONObject; |
12 | import com.yoho.search.base.utils.SearchPageIdDefine; | 12 | import com.yoho.search.base.utils.SearchPageIdDefine; |
13 | import com.yoho.search.core.es.agg.IAggregation; | 13 | import com.yoho.search.core.es.agg.IAggregation; |
14 | -import com.yoho.search.service.split.AbstractSplitService; | ||
15 | -import com.yoho.search.service.split.common.SplitProductListService; | ||
16 | -import com.yoho.search.service.split.common.SplitSelectionsService; | 14 | +import com.yoho.search.service.servicenew.scene.common.AbstractSceneService; |
15 | +import com.yoho.search.service.servicenew.scene.common.SceneProductListService; | ||
16 | +import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService; | ||
17 | import com.yoho.search.service.utils.SearchApiResultUtils; | 17 | import com.yoho.search.service.utils.SearchApiResultUtils; |
18 | import com.yoho.search.service.vo.SearchApiResult; | 18 | import com.yoho.search.service.vo.SearchApiResult; |
19 | 19 | ||
20 | @Service | 20 | @Service |
21 | -public class NewArrivalService extends AbstractSplitService{ | 21 | +public class NewArrivalSceneService extends AbstractSceneService{ |
22 | 22 | ||
23 | - private static final Logger logger = LoggerFactory.getLogger(NewArrivalService.class); | 23 | + private static final Logger logger = LoggerFactory.getLogger(NewArrivalSceneService.class); |
24 | 24 | ||
25 | @Autowired | 25 | @Autowired |
26 | - private SplitProductListService splitProductListService; | 26 | + private SceneProductListService splitProductListService; |
27 | @Autowired | 27 | @Autowired |
28 | - private SplitSelectionsService splitSelectionsService; | 28 | + private SceneSelectionsService splitSelectionsService; |
29 | 29 | ||
30 | @Override | 30 | @Override |
31 | public String pageId() { | 31 | public String pageId() { |
1 | -package com.yoho.search.service.split.impl; | 1 | +package com.yoho.search.service.servicenew.scene; |
2 | 2 | ||
3 | import java.util.List; | 3 | import java.util.List; |
4 | import java.util.Map; | 4 | import java.util.Map; |
@@ -11,21 +11,21 @@ import org.springframework.stereotype.Service; | @@ -11,21 +11,21 @@ import org.springframework.stereotype.Service; | ||
11 | import com.alibaba.fastjson.JSONObject; | 11 | import com.alibaba.fastjson.JSONObject; |
12 | import com.yoho.search.base.utils.SearchPageIdDefine; | 12 | import com.yoho.search.base.utils.SearchPageIdDefine; |
13 | import com.yoho.search.core.es.agg.IAggregation; | 13 | import com.yoho.search.core.es.agg.IAggregation; |
14 | -import com.yoho.search.service.split.AbstractSplitService; | ||
15 | -import com.yoho.search.service.split.common.SplitProductListService; | ||
16 | -import com.yoho.search.service.split.common.SplitSelectionsService; | 14 | +import com.yoho.search.service.servicenew.scene.common.AbstractSceneService; |
15 | +import com.yoho.search.service.servicenew.scene.common.SceneProductListService; | ||
16 | +import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService; | ||
17 | import com.yoho.search.service.utils.SearchApiResultUtils; | 17 | import com.yoho.search.service.utils.SearchApiResultUtils; |
18 | import com.yoho.search.service.vo.SearchApiResult; | 18 | import com.yoho.search.service.vo.SearchApiResult; |
19 | 19 | ||
20 | @Service | 20 | @Service |
21 | -public class ShopSearchService extends AbstractSplitService { | 21 | +public class ShopSceneService extends AbstractSceneService { |
22 | 22 | ||
23 | - private static final Logger logger = LoggerFactory.getLogger(SortSearchService.class); | 23 | + private static final Logger logger = LoggerFactory.getLogger(SortSceneService.class); |
24 | 24 | ||
25 | @Autowired | 25 | @Autowired |
26 | - private SplitProductListService splitProductListService; | 26 | + private SceneProductListService splitProductListService; |
27 | @Autowired | 27 | @Autowired |
28 | - private SplitSelectionsService splitSelectionsService; | 28 | + private SceneSelectionsService splitSelectionsService; |
29 | 29 | ||
30 | @Override | 30 | @Override |
31 | public String pageId() { | 31 | public String pageId() { |
1 | -package com.yoho.search.service.split.impl; | 1 | +package com.yoho.search.service.servicenew.scene; |
2 | 2 | ||
3 | import java.util.Map; | 3 | import java.util.Map; |
4 | 4 | ||
@@ -9,21 +9,21 @@ import org.springframework.stereotype.Service; | @@ -9,21 +9,21 @@ import org.springframework.stereotype.Service; | ||
9 | 9 | ||
10 | import com.alibaba.fastjson.JSONObject; | 10 | import com.alibaba.fastjson.JSONObject; |
11 | import com.yoho.search.base.utils.SearchPageIdDefine; | 11 | import com.yoho.search.base.utils.SearchPageIdDefine; |
12 | -import com.yoho.search.service.split.AbstractSplitService; | ||
13 | -import com.yoho.search.service.split.common.SplitProductListService; | ||
14 | -import com.yoho.search.service.split.common.SplitSelectionsService; | 12 | +import com.yoho.search.service.servicenew.scene.common.AbstractSceneService; |
13 | +import com.yoho.search.service.servicenew.scene.common.SceneProductListService; | ||
14 | +import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService; | ||
15 | import com.yoho.search.service.utils.SearchApiResultUtils; | 15 | import com.yoho.search.service.utils.SearchApiResultUtils; |
16 | import com.yoho.search.service.vo.SearchApiResult; | 16 | import com.yoho.search.service.vo.SearchApiResult; |
17 | 17 | ||
18 | @Service | 18 | @Service |
19 | -public class SortSearchService extends AbstractSplitService { | 19 | +public class SortSceneService extends AbstractSceneService { |
20 | 20 | ||
21 | - private static final Logger logger = LoggerFactory.getLogger(SortSearchService.class); | 21 | + private static final Logger logger = LoggerFactory.getLogger(SortSceneService.class); |
22 | 22 | ||
23 | @Autowired | 23 | @Autowired |
24 | - private SplitProductListService splitProductListService; | 24 | + private SceneProductListService splitProductListService; |
25 | @Autowired | 25 | @Autowired |
26 | - private SplitSelectionsService splitSelectionsService; | 26 | + private SceneSelectionsService splitSelectionsService; |
27 | 27 | ||
28 | @Override | 28 | @Override |
29 | public String pageId() { | 29 | public String pageId() { |
1 | -package com.yoho.search.service.split.impl; | 1 | +package com.yoho.search.service.servicenew.scene; |
2 | 2 | ||
3 | import java.util.Map; | 3 | import java.util.Map; |
4 | 4 | ||
@@ -9,21 +9,21 @@ import org.springframework.stereotype.Service; | @@ -9,21 +9,21 @@ import org.springframework.stereotype.Service; | ||
9 | 9 | ||
10 | import com.alibaba.fastjson.JSONObject; | 10 | import com.alibaba.fastjson.JSONObject; |
11 | import com.yoho.search.base.utils.SearchPageIdDefine; | 11 | import com.yoho.search.base.utils.SearchPageIdDefine; |
12 | -import com.yoho.search.service.split.AbstractSplitService; | ||
13 | -import com.yoho.search.service.split.common.SplitProductListService; | ||
14 | -import com.yoho.search.service.split.common.SplitSelectionsService; | 12 | +import com.yoho.search.service.servicenew.scene.common.AbstractSceneService; |
13 | +import com.yoho.search.service.servicenew.scene.common.SceneProductListService; | ||
14 | +import com.yoho.search.service.servicenew.scene.common.SceneSelectionsService; | ||
15 | import com.yoho.search.service.utils.SearchApiResultUtils; | 15 | import com.yoho.search.service.utils.SearchApiResultUtils; |
16 | import com.yoho.search.service.vo.SearchApiResult; | 16 | import com.yoho.search.service.vo.SearchApiResult; |
17 | 17 | ||
18 | @Service | 18 | @Service |
19 | -public class ZqSearchService extends AbstractSplitService{ | 19 | +public class ZqSceneService extends AbstractSceneService{ |
20 | 20 | ||
21 | - private static final Logger logger = LoggerFactory.getLogger(ZqSearchService.class); | 21 | + private static final Logger logger = LoggerFactory.getLogger(ZqSceneService.class); |
22 | 22 | ||
23 | @Autowired | 23 | @Autowired |
24 | - private SplitProductListService splitProductListService; | 24 | + private SceneProductListService splitProductListService; |
25 | @Autowired | 25 | @Autowired |
26 | - private SplitSelectionsService splitSelectionsService; | 26 | + private SceneSelectionsService splitSelectionsService; |
27 | 27 | ||
28 | @Override | 28 | @Override |
29 | public String pageId() { | 29 | public String pageId() { |
1 | -package com.yoho.search.service.split; | 1 | +package com.yoho.search.service.servicenew.scene.common; |
2 | 2 | ||
3 | import java.util.Map; | 3 | import java.util.Map; |
4 | 4 | ||
5 | import com.yoho.search.service.vo.SearchApiResult; | 5 | import com.yoho.search.service.vo.SearchApiResult; |
6 | 6 | ||
7 | -public abstract class AbstractSplitService { | 7 | +public abstract class AbstractSceneService { |
8 | 8 | ||
9 | public abstract String pageId(); | 9 | public abstract String pageId(); |
10 | 10 |
1 | -package com.yoho.search.service.split.common; | 1 | +package com.yoho.search.service.servicenew.scene.common; |
2 | 2 | ||
3 | import java.util.ArrayList; | 3 | import java.util.ArrayList; |
4 | import java.util.Iterator; | 4 | import java.util.Iterator; |
@@ -28,7 +28,7 @@ import com.yoho.search.service.servicenew.impl.BaseService; | @@ -28,7 +28,7 @@ import com.yoho.search.service.servicenew.impl.BaseService; | ||
28 | import com.yoho.search.service.vo.SearchApiResult; | 28 | import com.yoho.search.service.vo.SearchApiResult; |
29 | 29 | ||
30 | @Service | 30 | @Service |
31 | -public class SplitProductListService extends BaseService { | 31 | +public class SceneProductListService extends BaseService { |
32 | 32 | ||
33 | @Autowired | 33 | @Autowired |
34 | private SearchCommonHelper searchCommonHelper; | 34 | private SearchCommonHelper searchCommonHelper; |
1 | -package com.yoho.search.service.split.common; | 1 | +package com.yoho.search.service.servicenew.scene.common; |
2 | 2 | ||
3 | import java.util.ArrayList; | 3 | import java.util.ArrayList; |
4 | import java.util.List; | 4 | import java.util.List; |
@@ -36,9 +36,9 @@ import com.yoho.search.service.servicenew.impl.BaseService; | @@ -36,9 +36,9 @@ import com.yoho.search.service.servicenew.impl.BaseService; | ||
36 | import com.yoho.search.service.vo.SearchApiResult; | 36 | import com.yoho.search.service.vo.SearchApiResult; |
37 | 37 | ||
38 | @Service | 38 | @Service |
39 | -public class SplitSelectionsService extends BaseService { | 39 | +public class SceneSelectionsService extends BaseService { |
40 | 40 | ||
41 | - private static final Logger logger = LoggerFactory.getLogger(SplitSelectionsService.class); | 41 | + private static final Logger logger = LoggerFactory.getLogger(SceneSelectionsService.class); |
42 | 42 | ||
43 | @Autowired | 43 | @Autowired |
44 | private SearchCommonHelper searchCommonHelper; | 44 | private SearchCommonHelper searchCommonHelper; |
-
Please register or login to post a comment