Authored by Lixiaodi

bug修改

@@ -8,6 +8,7 @@ import com.yoho.tools.docs.ApiOperation; @@ -8,6 +8,7 @@ import com.yoho.tools.docs.ApiOperation;
8 import com.yohobuy.ufo.model.ProductInfo; 8 import com.yohobuy.ufo.model.ProductInfo;
9 import com.yohobuy.ufo.model.request.StoragePriceBo; 9 import com.yohobuy.ufo.model.request.StoragePriceBo;
10 import com.yohobuy.ufo.model.request.product.ProductImportTranItemBo; 10 import com.yohobuy.ufo.model.request.product.ProductImportTranItemBo;
  11 +import com.yohobuy.ufo.model.request.product.ProductRequestBo;
11 import com.yohobuy.ufo.model.response.ProductDetailResp; 12 import com.yohobuy.ufo.model.response.ProductDetailResp;
12 import com.yohobuy.ufo.model.response.StorageDataResp; 13 import com.yohobuy.ufo.model.response.StorageDataResp;
13 import com.yohobuy.ufo.model.response.StorageInfoResp; 14 import com.yohobuy.ufo.model.response.StorageInfoResp;
@@ -400,8 +401,8 @@ public class ProductController { @@ -400,8 +401,8 @@ public class ProductController {
400 @RequestMapping("/product/clearCache") 401 @RequestMapping("/product/clearCache")
401 @IgnoreSignature 402 @IgnoreSignature
402 @IgnoreSession 403 @IgnoreSession
403 - public ApiResponse clearProductCaches(  
404 - @RequestParam(value = "skup", required = true) Integer skup) { 404 + public ApiResponse clearProductCaches(@RequestBody ProductRequestBo bo) {
  405 + Integer skup = bo.getSkup();
405 LOG.info("in method=ufo.product.clearCache skup={}", skup); 406 LOG.info("in method=ufo.product.clearCache skup={}", skup);
406 clearProductCache(skup); 407 clearProductCache(skup);
407 LOG.info("clearProductCaches success skup = {}", skup); 408 LOG.info("clearProductCaches success skup = {}", skup);