...
|
...
|
@@ -311,6 +311,24 @@ public class ProductController { |
|
|
return new ApiResponse(200, "隐藏用户商品成功!", Boolean.TRUE);
|
|
|
}
|
|
|
|
|
|
@RequestMapping(params = "method=ufo.product.hideSellerSkup")
|
|
|
public ApiResponse hideSellerSkup(
|
|
|
@RequestParam(value = "skup", required = true) Integer skup) {
|
|
|
LOG.info("in method=ufo.product.hideSellerSkup skup={}", skup);
|
|
|
productService.changeOneSkupHideStatus(skup, 1);// status:1 隐藏商品
|
|
|
LOG.info("hideSellerSkup success skup = {}", skup);
|
|
|
return new ApiResponse(200, "隐藏用户商品成功!", Boolean.TRUE);
|
|
|
}
|
|
|
|
|
|
@RequestMapping(params = "method=ufo.product.showSellerSkup")
|
|
|
public ApiResponse showSellerSkup(
|
|
|
@RequestParam(value = "uid", required = true) Integer skup) {
|
|
|
LOG.info("in method=ufo.product.showSellerSkup uid={}", skup);
|
|
|
productService.changeOneSkupHideStatus(skup, 0);// status:0 展示商品
|
|
|
LOG.info("showSellerSkup success skup = {}", skup);
|
|
|
return new ApiResponse(200, "隐藏用户商品成功!", Boolean.TRUE);
|
|
|
}
|
|
|
|
|
|
@Autowired
|
|
|
private ControllerCacheAop cacheAop;
|
|
|
private ExecutorService executors = Executors.newFixedThreadPool(1);
|
...
|
...
|
|