rentaiming
2024-06-13 fe2d5b14031edbe43238770fb1fc21e8a322b51a
ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/ForepartGoodsSeckillController.java
@@ -25,19 +25,19 @@
@RestController
@RequiredArgsConstructor
@RequestMapping("/forepart/goods-seckill")
@Api(value = "商品秒杀接口", tags = "商品秒杀接口", description = "商品秒杀接口")
@Api(value = "用戶端-商品秒杀接口", tags = "用戶端-商品秒杀接口", description = "用戶端-商品秒杀接口")
public class ForepartGoodsSeckillController {
    private final IGoodsSeckillService goodsSeckillService;
    @RequestMapping("/getHomeGoodsSeckillVOList")
    @PostMapping("/getHomeGoodsSeckillVOList")
    @ApiOperation(value = "用户端-秒杀商品列表")
    public R<PageDTO<HomeGoodsSeckillVO>> getHomeGoodsSeckillVOList(@RequestBody HomeGoodsSkuDTO homeGoodsSkuDTO) {
        return R.ok(goodsSeckillService.getHomeGoodsSeckillVOList(homeGoodsSkuDTO));
    }
    @RequestMapping("/getHomeGoodsSeckillInfo")
    @PostMapping("/getHomeGoodsSeckillInfo")
    @ApiOperation(value = "用户端-秒杀商品详情")
    public R<HomeGoodsSeckillInfoVO> getHomeGoodsSeckillInfo(@RequestBody HomeGoodsSkuDTO homeGoodsSkuDTO) {
        return R.ok(goodsSeckillService.getHomeGoodsSeckillInfo(homeGoodsSkuDTO));