Authored by caoyan

商品详情增加传图模块

... ... @@ -3,6 +3,7 @@ package com.yoho.ufo.controller.product;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
... ... @@ -26,7 +27,7 @@ public class SizePoolController {
private ISizePoolService sizePoolService;
@RequestMapping(value = "/addSizePool")
public ApiResponse addSizePool(SizePoolRequest bo) {
public ApiResponse addSizePool(@RequestBody SizePoolRequest bo) {
LOGGER.info(" Method addSizePool in. bo is {}", bo);
try {
sizePoolService.addSizePool(bo);
... ...