Authored by mali

尺码图片增加缓存

@@ -1015,6 +1015,7 @@ public class ProductController { @@ -1015,6 +1015,7 @@ public class ProductController {
1015 1015
1016 @ApiOperation(name = "ufo.product.sizeImage", desc = "查询尺码图片") 1016 @ApiOperation(name = "ufo.product.sizeImage", desc = "查询尺码图片")
1017 @RequestMapping(params = "method=ufo.product.sizeImage") 1017 @RequestMapping(params = "method=ufo.product.sizeImage")
  1018 + @Cachable(expire = 300)
1018 public ApiResponse getSizeImage(@RequestParam(value = "product_id") Integer productId, 1019 public ApiResponse getSizeImage(@RequestParam(value = "product_id") Integer productId,
1019 @RequestParam(value = "brand_id") Integer brandId) { 1020 @RequestParam(value = "brand_id") Integer brandId) {
1020 if (null == productId || null == brandId) { 1021 if (null == productId || null == brandId) {