...
|
...
|
@@ -8,10 +8,7 @@ import com.yohobuy.platform.model.common.PageResponseVO; |
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/grassFindgoods")
|
...
|
...
|
@@ -22,7 +19,7 @@ public class GrassFindgoodsController { |
|
|
|
|
|
@RequestMapping("/getGrassFindgoodsList")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getGrassFindgoodsList(GrassFindgoodsReq req){
|
|
|
public ApiResponse getGrassFindgoodsList(@RequestBody GrassFindgoodsReq req){
|
|
|
logger.info("enter queryGrassArticleComment.param is {}",req);
|
|
|
PageResponseVO<GrassFindgoodsRspBO> result = grassFindgoodsService.getGrassFindgoodsList(req);
|
|
|
return new ApiResponse.ApiResponseBuilder().data(result).build();
|
...
|
...
|
|