Merge branch 'test6.8.9' of http://git.yoho.cn/ufo/yohoufo-fore into test6.8.9
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -316,6 +316,7 @@ public class ProductController { | @@ -316,6 +316,7 @@ public class ProductController { | ||
316 | @RequestParam(value = "skup", required = true) Integer skup) { | 316 | @RequestParam(value = "skup", required = true) Integer skup) { |
317 | LOG.info("in method=ufo.product.hideSellerSkup skup={}", skup); | 317 | LOG.info("in method=ufo.product.hideSellerSkup skup={}", skup); |
318 | productService.changeOneSkupHideStatus(skup, 1);// status:1 隐藏商品 | 318 | productService.changeOneSkupHideStatus(skup, 1);// status:1 隐藏商品 |
319 | + clearProductCache(skup); | ||
319 | LOG.info("hideSellerSkup success skup = {}", skup); | 320 | LOG.info("hideSellerSkup success skup = {}", skup); |
320 | return new ApiResponse(200, "隐藏用户商品成功!", Boolean.TRUE); | 321 | return new ApiResponse(200, "隐藏用户商品成功!", Boolean.TRUE); |
321 | } | 322 | } |
@@ -325,6 +326,7 @@ public class ProductController { | @@ -325,6 +326,7 @@ public class ProductController { | ||
325 | @RequestParam(value = "uid", required = true) Integer skup) { | 326 | @RequestParam(value = "uid", required = true) Integer skup) { |
326 | LOG.info("in method=ufo.product.showSellerSkup uid={}", skup); | 327 | LOG.info("in method=ufo.product.showSellerSkup uid={}", skup); |
327 | productService.changeOneSkupHideStatus(skup, 0);// status:0 展示商品 | 328 | productService.changeOneSkupHideStatus(skup, 0);// status:0 展示商品 |
329 | + clearProductCache(skup); | ||
328 | LOG.info("showSellerSkup success skup = {}", skup); | 330 | LOG.info("showSellerSkup success skup = {}", skup); |
329 | return new ApiResponse(200, "隐藏用户商品成功!", Boolean.TRUE); | 331 | return new ApiResponse(200, "隐藏用户商品成功!", Boolean.TRUE); |
330 | } | 332 | } |
-
Please register or login to post a comment