From 6f91919a81c92766cb6a119dfe099b83a22ef446 Mon Sep 17 00:00:00 2001
From: luodangjia <luodangjia>
Date: 星期四, 15 八月 2024 11:59:18 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java
index 69430e4..6868a19 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java
@@ -57,6 +57,13 @@
         return AjaxResult.ok(vipService.getById(id));
     }
 
+
+    @GetMapping("/getById")
+    @ApiOperation(value = "通过id查会员")
+    public R<TVip> getById(Integer id) {
+        return R.ok(vipService.getById(id));
+    }
+
     /**
      * 远程调用
      * @param id
@@ -95,7 +102,7 @@
      * @return
      */
     @PostMapping(value = "/getVipInfoByType")
-    public R<TVip> getVipInfoByType(@RequestParam Integer type){
+    public R<TVip> getVipInfoByType(@RequestParam("type") Integer type){
         switch (type){
             case 1:
                 return R.ok(vipService.getOne(Wrappers.lambdaQuery(TVip.class)

--
Gitblit v1.7.1