Showing
3 changed files
with
3 additions
and
17 deletions
@@ -12,15 +12,6 @@ | @@ -12,15 +12,6 @@ | ||
12 | 12 | ||
13 | <dependencies> | 13 | <dependencies> |
14 | <dependency> | 14 | <dependency> |
15 | - <groupId>io.netty</groupId> | ||
16 | - <artifactId>netty-all</artifactId> | ||
17 | - <version>4.1.11.Final</version> | ||
18 | - </dependency> | ||
19 | - <dependency> | ||
20 | - <groupId>com.yoho.core</groupId> | ||
21 | - <artifactId>yoho-core-rest-client-simple</artifactId> | ||
22 | - </dependency> | ||
23 | - <dependency> | ||
24 | <groupId>com.yoho.search</groupId> | 15 | <groupId>com.yoho.search</groupId> |
25 | <artifactId>search-es</artifactId> | 16 | <artifactId>search-es</artifactId> |
26 | </dependency> | 17 | </dependency> |
service/src/main/java/com/yoho/search/recall/scene/beans/persional/UserPersionalFactorComponent.java
1 | package com.yoho.search.recall.scene.beans.persional; | 1 | package com.yoho.search.recall.scene.beans.persional; |
2 | 2 | ||
3 | -import com.alibaba.fastjson.JSON; | ||
4 | -import com.alibaba.fastjson.JSONObject; | ||
5 | -import com.yoho.core.rest.client.ServiceCaller; | ||
6 | import com.yoho.search.core.personalized.models.SortPriceArea; | 3 | import com.yoho.search.core.personalized.models.SortPriceArea; |
7 | -import com.yoho.search.core.personalized.models.UserPersonalFactorReq; | ||
8 | import com.yoho.search.core.personalized.models.UserPersonalFactorRsp; | 4 | import com.yoho.search.core.personalized.models.UserPersonalFactorRsp; |
9 | import org.slf4j.Logger; | 5 | import org.slf4j.Logger; |
10 | import org.slf4j.LoggerFactory; | 6 | import org.slf4j.LoggerFactory; |
11 | -import org.springframework.beans.factory.annotation.Autowired; | ||
12 | import org.springframework.stereotype.Component; | 7 | import org.springframework.stereotype.Component; |
13 | 8 | ||
14 | import java.util.ArrayList; | 9 | import java.util.ArrayList; |
@@ -21,8 +16,8 @@ class UserPersionalFactorComponent { | @@ -21,8 +16,8 @@ class UserPersionalFactorComponent { | ||
21 | 16 | ||
22 | private static final Logger RECALL_NEW_LOGGER = LoggerFactory.getLogger("RECALL"); | 17 | private static final Logger RECALL_NEW_LOGGER = LoggerFactory.getLogger("RECALL"); |
23 | 18 | ||
24 | - @Autowired | ||
25 | - private ServiceCaller serviceCaller; | 19 | +// @Autowired |
20 | +// private ServiceCaller serviceCaller; | ||
26 | 21 | ||
27 | //serviceCaller.asyncCall("message.publishIosUser", iosTokenBO, Integer.class); | 22 | //serviceCaller.asyncCall("message.publishIosUser", iosTokenBO, Integer.class); |
28 | 23 |
@@ -46,7 +46,7 @@ public class DefaultProductListService { | @@ -46,7 +46,7 @@ public class DefaultProductListService { | ||
46 | */ | 46 | */ |
47 | @SearchCacheAble(cacheName = "PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10, excludeParams = { "uid", "firstProductSkn" }) | 47 | @SearchCacheAble(cacheName = "PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10, excludeParams = { "uid", "firstProductSkn" }) |
48 | public SearchApiResult productListNotPersional(Map<String, String> paramMap) { | 48 | public SearchApiResult productListNotPersional(Map<String, String> paramMap) { |
49 | - return this.productList(paramMap); | 49 | + return this.productList(paramMap); |
50 | } | 50 | } |
51 | 51 | ||
52 | /** | 52 | /** |
-
Please register or login to post a comment