Authored by Lixiaodi

bug修改

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