From 4850df8aa4bf4a3a613b960fae1411255510667e Mon Sep 17 00:00:00 2001
From: zhibing.pu <393733352@qq.com>
Date: 星期四, 15 八月 2024 11:07:10 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/mx_charging_pile

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TVipController.java |   12 +++++++++++-
 1 files changed, 11 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 6942f7e..f2509c6 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
@@ -56,6 +56,16 @@
     public AjaxResult<TVip> getInfo(Integer id) {
         return AjaxResult.ok(vipService.getById(id));
     }
+
+    /**
+     * 远程调用
+     * @param id
+     * @return
+     */
+    @PostMapping("/getInfo1")
+    public R<TVip> getInfo1(@RequestParam("id")Integer id) {
+        return R.ok(vipService.getById(id));
+    }
     @ApiOperation(value = "会员列表分页查询")
     @PostMapping(value = "/pageList")
     @ApiImplicitParams({
@@ -85,7 +95,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