From 143ba6ed6231db632d08edfb109819e1d1e3d956 Mon Sep 17 00:00:00 2001
From: phpcjl <phpcjl@gmail.com>
Date: 星期五, 06 十二月 2024 16:31:38 +0800
Subject: [PATCH] 1.

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipGoodController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipGoodController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipGoodController.java
index db942f8..45cd48d 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipGoodController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/VipGoodController.java
@@ -8,6 +8,7 @@
 import com.ruoyi.other.service.VipGoodService;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 
 import javax.annotation.Resource;
@@ -28,7 +29,7 @@
     private VipGoodService vipGoodService;
 
     @GetMapping("getVipGoodsByVipId")
-    public R<List<VipGood>> getVipGoodsByVipId(Integer vipId){
+    public R<List<VipGood>> getVipGoodsByVipId(@RequestParam("vipId") Integer vipId){
         return R.ok(vipGoodService.list(new LambdaQueryWrapper<VipGood>()
                 .eq(VipGood::getVipId, vipId)));
     }

--
Gitblit v1.7.1