From 01d6fa48a0de7a21988e89f71721b6b85e53b517 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期四, 06 三月 2025 16:33:53 +0800 Subject: [PATCH] 去掉资讯图片必填限制 --- ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/ForepartGoodsBrowseRecordController.java | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/ForepartGoodsBrowseRecordController.java b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/ForepartGoodsBrowseRecordController.java index 612a8fb..6be80f5 100644 --- a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/ForepartGoodsBrowseRecordController.java +++ b/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)); -- Gitblit v1.7.1