Authored by Lixiaodi

清理缓存

... ... @@ -510,6 +510,10 @@ public class ProductController {
cacheAop.clearCache(
ProductController.class.getMethod("queryProductDetailById", new Class[]{Integer.class}),
new Object[]{productId});
//商品详情
cacheAop.clearCache(
ProductController.class.getMethod("queryProductDetailTabsById", new Class[]{Integer.class}),
new Object[]{productId});
Method queryLeastFlashSalePrice = ProductController.class.getMethod("queryLeastFlashSalePrice", new Class[]{Integer.class});
cacheAop.clearCache(queryLeastFlashSalePrice, new Object[]{productId});
Integer storageId = sp.getStorageId();
... ... @@ -564,6 +568,10 @@ public class ProductController {
cacheAop.clearCache(
ProductController.class.getMethod("queryProductDetailById", new Class[]{Integer.class}),
new Object[]{productId});
//商品详情
cacheAop.clearCache(
ProductController.class.getMethod("queryProductDetailTabsById", new Class[]{Integer.class}),
new Object[]{productId});
cacheAop.clearCache(
ProductController.class.getMethod("queryProductInStockNewBriefById", new Class[]{Integer.class}),
new Object[]{productId});
... ... @@ -588,6 +596,10 @@ public class ProductController {
cacheAop.clearCache(
ProductController.class.getMethod("queryProductDetailById", new Class[]{Integer.class}),
new Object[]{productId});
//商品详情
cacheAop.clearCache(
ProductController.class.getMethod("queryProductDetailTabsById", new Class[]{Integer.class}),
new Object[]{productId});
cacheAop.clearCache(
ProductController.class.getMethod("queryProductInStockNewBriefById", new Class[]{Integer.class}),
new Object[]{productId});
... ...