Authored by liangyi.chen@yoho.cn

Fix

@@ -8,10 +8,7 @@ import com.yohobuy.platform.model.common.PageResponseVO; @@ -8,10 +8,7 @@ import com.yohobuy.platform.model.common.PageResponseVO;
8 import org.slf4j.Logger; 8 import org.slf4j.Logger;
9 import org.slf4j.LoggerFactory; 9 import org.slf4j.LoggerFactory;
10 import org.springframework.beans.factory.annotation.Autowired; 10 import org.springframework.beans.factory.annotation.Autowired;
11 -import org.springframework.web.bind.annotation.RequestMapping;  
12 -import org.springframework.web.bind.annotation.RequestParam;  
13 -import org.springframework.web.bind.annotation.ResponseBody;  
14 -import org.springframework.web.bind.annotation.RestController; 11 +import org.springframework.web.bind.annotation.*;
15 12
16 @RestController 13 @RestController
17 @RequestMapping("/grassFindgoods") 14 @RequestMapping("/grassFindgoods")
@@ -22,7 +19,7 @@ public class GrassFindgoodsController { @@ -22,7 +19,7 @@ public class GrassFindgoodsController {
22 19
23 @RequestMapping("/getGrassFindgoodsList") 20 @RequestMapping("/getGrassFindgoodsList")
24 @ResponseBody 21 @ResponseBody
25 - public ApiResponse getGrassFindgoodsList(GrassFindgoodsReq req){ 22 + public ApiResponse getGrassFindgoodsList(@RequestBody GrassFindgoodsReq req){
26 logger.info("enter queryGrassArticleComment.param is {}",req); 23 logger.info("enter queryGrassArticleComment.param is {}",req);
27 PageResponseVO<GrassFindgoodsRspBO> result = grassFindgoodsService.getGrassFindgoodsList(req); 24 PageResponseVO<GrassFindgoodsRspBO> result = grassFindgoodsService.getGrassFindgoodsList(req);
28 return new ApiResponse.ApiResponseBuilder().data(result).build(); 25 return new ApiResponse.ApiResponseBuilder().data(result).build();