Authored by Lixiaodi

清理缓存

... ... @@ -316,6 +316,7 @@ public class ProductController {
@RequestParam(value = "skup", required = true) Integer skup) {
LOG.info("in method=ufo.product.hideSellerSkup skup={}", skup);
productService.changeOneSkupHideStatus(skup, 1);// status:1 隐藏商品
clearProductCache(skup);
LOG.info("hideSellerSkup success skup = {}", skup);
return new ApiResponse(200, "隐藏用户商品成功!", Boolean.TRUE);
}
... ... @@ -325,6 +326,7 @@ public class ProductController {
@RequestParam(value = "uid", required = true) Integer skup) {
LOG.info("in method=ufo.product.showSellerSkup uid={}", skup);
productService.changeOneSkupHideStatus(skup, 0);// status:0 展示商品
clearProductCache(skup);
LOG.info("showSellerSkup success skup = {}", skup);
return new ApiResponse(200, "隐藏用户商品成功!", Boolean.TRUE);
}
... ...