rentaiming
2024-06-13 fe2d5b14031edbe43238770fb1fc21e8a322b51a
ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/ForepartGoodsBrowseRecordController.java
@@ -6,11 +6,9 @@
import com.ruoyi.goods.service.IGoodsBrowseRecordService;
import com.ruoyi.system.api.domain.dto.AuctionCollectionDTO;
import com.ruoyi.system.api.domain.vo.HomeGoodsSkuListVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
@@ -24,11 +22,11 @@
 */
@RestController
@RequestMapping("/forepart/goods-browse-record")
@Api(value = "用戶端-浏览的普通商品接口", tags = "用戶端-浏览的普通商品接口", description = "用戶端-浏览的普通商品接口")
public class ForepartGoodsBrowseRecordController {
    @Resource
    private IGoodsBrowseRecordService iGoodsBrowseRecordService;
    @RequestMapping("/geBrowseRecordList")
    @ResponseBody
    @PostMapping("/geBrowseRecordList")
    @ApiOperation(value = "用户端-我的浏览的普通商品")
    public R<PageDTO<HomeGoodsSkuListVO>> geBrowseRecordList(@RequestBody AuctionCollectionDTO auctionCollectionDTO) {
        return R.ok(iGoodsBrowseRecordService.geBrowseRecordList(auctionCollectionDTO));