Showing
2 changed files
with
4 additions
and
4 deletions
@@ -35,7 +35,7 @@ class DefaultProductListService { | @@ -35,7 +35,7 @@ class DefaultProductListService { | ||
35 | * @return | 35 | * @return |
36 | */ | 36 | */ |
37 | @ProductListWithSknRetention | 37 | @ProductListWithSknRetention |
38 | - @SearchCacheAble(cacheName = "PRODUCT_LIST_DEFAULT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 5) | 38 | + @SearchCacheAble(cacheName = "PRODUCT_LIST_DEFAULT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10) |
39 | public SearchApiResult productListForDefaultPersional(Map<String, String> paramMap) { | 39 | public SearchApiResult productListForDefaultPersional(Map<String, String> paramMap) { |
40 | try { | 40 | try { |
41 | // 1) 构建SearchParam | 41 | // 1) 构建SearchParam |
@@ -61,7 +61,7 @@ class DefaultProductListService { | @@ -61,7 +61,7 @@ class DefaultProductListService { | ||
61 | * @return | 61 | * @return |
62 | */ | 62 | */ |
63 | @ProductListWithSknRetention | 63 | @ProductListWithSknRetention |
64 | - @SearchCacheAble(cacheName = "PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 5, excludeParams = {"uid", "udid", "firstProductSkn"}) | 64 | + @SearchCacheAble(cacheName = "PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10, excludeParams = {"uid", "udid", "firstProductSkn"}) |
65 | public SearchApiResult productListNotPersional(Map<String, String> paramMap) { | 65 | public SearchApiResult productListNotPersional(Map<String, String> paramMap) { |
66 | try { | 66 | try { |
67 | // 1) 构建SearchParam | 67 | // 1) 构建SearchParam |
service/src/main/java/com/yoho/search/service/scene/pages/entrance/FuzzySceneProductListService.java
@@ -31,7 +31,7 @@ class FuzzySceneProductListService{ | @@ -31,7 +31,7 @@ class FuzzySceneProductListService{ | ||
31 | private ProductListHelper productListHelper; | 31 | private ProductListHelper productListHelper; |
32 | 32 | ||
33 | @ProductListWithSknRetention | 33 | @ProductListWithSknRetention |
34 | - @SearchCacheAble(cacheName = "FUZZY_PRODUCT_LIST_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 5) | 34 | + @SearchCacheAble(cacheName = "FUZZY_PRODUCT_LIST_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10) |
35 | public SearchApiResult fuzzyProductListPersional(Map<String, String> paramMap) { | 35 | public SearchApiResult fuzzyProductListPersional(Map<String, String> paramMap) { |
36 | try { | 36 | try { |
37 | // 1)定义页面为模糊搜索的页面 | 37 | // 1)定义页面为模糊搜索的页面 |
@@ -53,7 +53,7 @@ class FuzzySceneProductListService{ | @@ -53,7 +53,7 @@ class FuzzySceneProductListService{ | ||
53 | } | 53 | } |
54 | 54 | ||
55 | @ProductListWithSknRetention | 55 | @ProductListWithSknRetention |
56 | - @SearchCacheAble(cacheName = "FUZZY_PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 5, excludeParams = {"uid", "udid", "firstProductSkn"}) | 56 | + @SearchCacheAble(cacheName = "FUZZY_PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10, excludeParams = {"uid", "udid", "firstProductSkn"}) |
57 | public SearchApiResult fuzzyProductListNotPersional(Map<String, String> paramMap) { | 57 | public SearchApiResult fuzzyProductListNotPersional(Map<String, String> paramMap) { |
58 | try { | 58 | try { |
59 | // 1)定义页面为模糊搜索的页面 | 59 | // 1)定义页面为模糊搜索的页面 |
-
Please register or login to post a comment