Authored by hugufei

添加缓存

@@ -38,7 +38,7 @@ public class BigdataSimilarSknService { @@ -38,7 +38,7 @@ public class BigdataSimilarSknService {
38 @Autowired 38 @Autowired
39 private ProductIndexBaseService productIndexBaseService; 39 private ProductIndexBaseService productIndexBaseService;
40 40
41 - //@SearchCacheAble(cacheInMinute = 600, cacheName = "SEARCH_LIKE_NOT_IN_SHOP_SIMILAR", includeParams = { "product_skn", "viewNum" }) 41 + @SearchCacheAble(cacheInMinute = 600, cacheName = "SEARCH_LIKE_NOT_IN_SHOP_SIMILAR", includeParams = { "product_skn", "viewNum" })
42 public SearchApiResult searchLikeSimilarSknNotInShop(Map<String, String> paramMap) { 42 public SearchApiResult searchLikeSimilarSknNotInShop(Map<String, String> paramMap) {
43 try { 43 try {
44 // 1、获取参数 44 // 1、获取参数