...
|
...
|
@@ -7,8 +7,6 @@ import com.yoho.search.base.utils.EventReportEnum; |
|
|
import com.yoho.search.base.utils.ISearchConstants;
|
|
|
import com.yoho.search.base.utils.ProductIndexEsField;
|
|
|
import com.yoho.search.cache.CacheInMinute;
|
|
|
import com.yoho.search.cache.CacheTimeConstants;
|
|
|
import com.yoho.search.cache.CacheType;
|
|
|
import com.yoho.search.common.SearchCommonService;
|
|
|
import com.yoho.search.common.SearchRequestParams;
|
|
|
import com.yoho.search.common.utils.SearchApiResultUtils;
|
...
|
...
|
@@ -67,7 +65,7 @@ public class WebNewShelveService implements ApplicationEventPublisherAware { |
|
|
this.publisher = applicationEventPublisher;
|
|
|
}
|
|
|
|
|
|
@SearchCacheAble(cacheName = "WEB_NEW_SHELVE", cacheInMinute = CacheInMinute.Minute_Common, excludeParams = {"uid", "udid"})
|
|
|
@SearchCacheAble(cacheName = "WEB_NEW_SHELVE", cacheInMinute = CacheInMinute.Minute_30, excludeParams = {"uid", "udid"})
|
|
|
public SearchApiResult webNewShelveProductList(Map<String, String> paramMap) {
|
|
|
try {
|
|
|
logger.info("[func=aggProductsByBrandId][param={}][begin={}]", paramMap.toString(), System.currentTimeMillis());
|
...
|
...
|
@@ -103,7 +101,7 @@ public class WebNewShelveService implements ApplicationEventPublisherAware { |
|
|
}
|
|
|
}
|
|
|
|
|
|
@SearchCacheAble(cacheName = "WEB_NEW_SHELVE_BATCH", excludeParams = {"uid", "udid"})
|
|
|
@SearchCacheAble(cacheName = "WEB_NEW_SHELVE_BATCH",cacheInMinute = CacheInMinute.Minute_30, excludeParams = {"uid", "udid"})
|
|
|
public SearchApiResult webNewShelveBatchProductList(Map<String, String> paramMap) {
|
|
|
try {
|
|
|
logger.info("[func=webNewShelvesProductList][param={}][begin={}]", paramMap.toString(), System.currentTimeMillis());
|
...
|
...
|
|