|
|
|
@ -71,6 +71,13 @@ public class ProductUserQueryController { |
|
|
|
return PageUtil.convert(productQueryService.pageProductByMatchmaker(pageUtil, queryParam), UserPageProductByMatchmakerVo.class); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("page/product/by/matchmaking-corner") |
|
|
|
@ApiOperation("相亲角获取商品分页列表") |
|
|
|
public QnPage<UserPageProductByMatchmakerVo> userPageProductByMatchmakingCorner(PageUtil pageUtil, |
|
|
|
UserPageProductByMatchmakerQueryParam queryParam) { |
|
|
|
return PageUtil.convert(productQueryService.pageProductByMatchmakingCorner(pageUtil, queryParam), UserPageProductByMatchmakerVo.class); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("get/product/by/customer/list") |
|
|
|
@ApiOperation("客户获取商品列表") |
|
|
|
public List<UserPageProductByCustomerGroupVo> getPageProductByCustomer() { |
|
|
|
@ -79,7 +86,7 @@ public class ProductUserQueryController { |
|
|
|
|
|
|
|
@GetMapping("get/product/by/customer/details") |
|
|
|
@ApiOperation("客户获取商品详情") |
|
|
|
public List<UserPageProductByCustomerGroupVo> getPageProductByCustomer(@RequestParam(value = "id",required = true) Long id,@RequestParam(value = "userId",required = false) Long userId) { |
|
|
|
public List<UserPageProductByCustomerGroupVo> getPageProductByCustomer(@RequestParam(value = "id", required = true) Long id, @RequestParam(value = "userId", required = false) Long userId) { |
|
|
|
return productQueryService.getPageProductByCustomer(id); |
|
|
|
} |
|
|
|
|
|
|
|
|