From fc8b51f40e71aa09bb49f407c1e9f68ac94ceb58 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期一, 29 七月 2024 18:51:32 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/GoodsSeckillAppointmentController.java |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/GoodsSeckillAppointmentController.java b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/GoodsSeckillAppointmentController.java
index 8cf68f7..cfda198 100644
--- a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/GoodsSeckillAppointmentController.java
+++ b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/forepart/GoodsSeckillAppointmentController.java
@@ -1,8 +1,19 @@
 package com.ruoyi.goods.controller.forepart;
 
 
+import com.ruoyi.common.core.domain.R;
+import com.ruoyi.goods.service.IGoodsSeckillAppointmentService;
+import com.ruoyi.goods.service.impl.GoodsSeckillAppointmentServiceImpl;
+import com.ruoyi.system.api.domain.dto.HomeGoodsSkuDTO;
+import com.ruoyi.system.api.domain.vo.getHomeGoodsSkuXxiVO;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
 
 /**
  * <p>
@@ -16,4 +27,14 @@
 @RequestMapping("/goods-seckill-appointment")
 public class GoodsSeckillAppointmentController {
 
+    @Resource
+    private IGoodsSeckillAppointmentService goodsSeckillAppointmentService;
+
+    @PostMapping("/goodsSeckillAppointment")
+    @ApiOperation(value = "用户端-秒杀预约")
+    public R goodsSeckillAppointment(@RequestBody HomeGoodsSkuDTO homeGoodsSkuDTO) {
+        goodsSeckillAppointmentService.goodsSeckillAppointment(homeGoodsSkuDTO);
+        return R.ok();
+    }
+
 }

--
Gitblit v1.7.1