Authored by hugufei

增加列表的缓存时间

... ... @@ -35,7 +35,7 @@ class DefaultProductListService {
* @return
*/
@ProductListWithSknRetention
@SearchCacheAble(cacheName = "PRODUCT_LIST_DEFAULT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 5)
@SearchCacheAble(cacheName = "PRODUCT_LIST_DEFAULT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10)
public SearchApiResult productListForDefaultPersional(Map<String, String> paramMap) {
try {
// 1) 构建SearchParam
... ... @@ -61,7 +61,7 @@ class DefaultProductListService {
* @return
*/
@ProductListWithSknRetention
@SearchCacheAble(cacheName = "PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 5, excludeParams = {"uid", "udid", "firstProductSkn"})
@SearchCacheAble(cacheName = "PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10, excludeParams = {"uid", "udid", "firstProductSkn"})
public SearchApiResult productListNotPersional(Map<String, String> paramMap) {
try {
// 1) 构建SearchParam
... ...
... ... @@ -31,7 +31,7 @@ class FuzzySceneProductListService{
private ProductListHelper productListHelper;
@ProductListWithSknRetention
@SearchCacheAble(cacheName = "FUZZY_PRODUCT_LIST_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 5)
@SearchCacheAble(cacheName = "FUZZY_PRODUCT_LIST_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10)
public SearchApiResult fuzzyProductListPersional(Map<String, String> paramMap) {
try {
// 1)定义页面为模糊搜索的页面
... ... @@ -53,7 +53,7 @@ class FuzzySceneProductListService{
}
@ProductListWithSknRetention
@SearchCacheAble(cacheName = "FUZZY_PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 5, excludeParams = {"uid", "udid", "firstProductSkn"})
@SearchCacheAble(cacheName = "FUZZY_PRODUCT_LIST_NOT_PERSIONAL", cacheType = CacheType.SEARCH_REDIS, cacheInMinute = 10, excludeParams = {"uid", "udid", "firstProductSkn"})
public SearchApiResult fuzzyProductListNotPersional(Map<String, String> paramMap) {
try {
// 1)定义页面为模糊搜索的页面
... ...