From 730c70af018d50a6ca5a13be2d8fa25c6c42c357 Mon Sep 17 00:00:00 2001
From: rentaiming <806181062@qq.com>
Date: 星期五, 07 六月 2024 18:17:31 +0800
Subject: [PATCH] 用户端商品

---
 ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/inner/AuctionGoodsController.java |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/inner/AuctionGoodsController.java b/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/inner/AuctionGoodsController.java
index 53ff0e0..300dae8 100644
--- a/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/inner/AuctionGoodsController.java
+++ b/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/inner/AuctionGoodsController.java
@@ -8,7 +8,12 @@
 import com.ruoyi.system.api.domain.AuctionGoods;
 import lombok.RequiredArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
 
 /**
  * <p>
@@ -34,7 +39,7 @@
 
     }
 
-    @PutMapping("/auction-goods/end/{id}")
+    @PutMapping("/end/{id}")
     R<?> endAuctionGoods(@PathVariable("id") Long id) {
         try {
             auctionGoodsService.endAuctionGoods(id);
@@ -45,7 +50,7 @@
         return R.ok();
     }
 
-    @PutMapping("/auction-goods/start/{id}")
+    @PutMapping("/start/{id}")
     R<?> startAuctionGoods(@PathVariable("id") Long id) {
         try {
             auctionGoodsService.startAuctionGoods(id);

--
Gitblit v1.7.1