From bf6989e1f9cc614cf0439f048280cbcdb78d4009 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期五, 29 八月 2025 02:12:03 +0800
Subject: [PATCH] 提交本地代码

---
 buyer-api/src/main/java/cn/lili/controller/lmk/PrizeController.java |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/buyer-api/src/main/java/cn/lili/controller/lmk/PrizeController.java b/buyer-api/src/main/java/cn/lili/controller/lmk/PrizeController.java
index 543fb74..90a9c91 100644
--- a/buyer-api/src/main/java/cn/lili/controller/lmk/PrizeController.java
+++ b/buyer-api/src/main/java/cn/lili/controller/lmk/PrizeController.java
@@ -1,14 +1,12 @@
 package cn.lili.controller.lmk;
 
 import cn.lili.base.Result;
+import cn.lili.modules.lmk.domain.form.AddPrizeNumForm;
 import cn.lili.modules.lmk.service.PrizeService;
 import io.swagger.annotations.Api;
 import lombok.RequiredArgsConstructor;
 import org.springframework.validation.annotation.Validated;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 
 @Validated
 @RequiredArgsConstructor
@@ -28,6 +26,7 @@
     public Result prize(@PathVariable String prizeActivityId) {
         return prizeService.prize(prizeActivityId);
     }
+
     /**
      * 鑾峰彇鎶藉娆℃暟
      *
@@ -38,6 +37,7 @@
     public Result prizeNum(@PathVariable String prizeActivityId) {
         return prizeService.prizeNum(prizeActivityId);
     }
+
     /**
      * 鑾峰彇鑾峰彇鎶藉椤甸潰淇℃伅
      *
@@ -48,6 +48,7 @@
     public Result prizeInfo(@PathVariable String prizeActivityId) {
         return prizeService.prizeInfo(prizeActivityId);
     }
+
     /**
      * 鑾峰彇鑾峰彇鏈�杩戜腑濂栦俊鎭�
      *
@@ -58,4 +59,15 @@
     public Result grantRecord(@PathVariable String prizeActivityId) {
         return prizeService.grantRecord(prizeActivityId);
     }
+
+    /**
+     * 澧炲姞鎶藉娆℃暟
+     *
+     * @param addPrizeNumForm
+     * @return
+     */
+    @PostMapping("/addPrizeNum")
+    public Result addPrizeNum( @RequestBody AddPrizeNumForm addPrizeNumForm) {
+        return prizeService.addPrizeNum(addPrizeNumForm);
+    }
 }

--
Gitblit v1.8.0