| | |
| | | private IMemberGoodsCollectionService iMemberGoodsCollectionService; |
| | | |
| | | @PostMapping("/saveGoodsCollection") |
| | | @ResponseBody |
| | | @ApiOperation(value = "用户端-商品收藏和取消收藏") |
| | | public R saveAuctionCollection(@RequestBody AuctionCollectionDTO auctionCollectionDTO) { |
| | | iMemberGoodsCollectionService.saveGoodsCollection(auctionCollectionDTO); |
| | | return R.ok(); |
| | | } |
| | | @PostMapping("/getGoodsCollectionList") |
| | | @ResponseBody |
| | | @ApiOperation(value = "用户端-商品收藏列表") |
| | | public R<PageDTO<HomeGoodsSkuListVO>> getGoodsCollectionList(@RequestBody AuctionCollectionDTO auctionCollectionDTO) { |
| | | return R.ok(iMemberGoodsCollectionService.getGoodsCollectionList(auctionCollectionDTO)); |