From b9522d131e168a92c88f23e2c0a3a2df079926b4 Mon Sep 17 00:00:00 2001
From: zhibing.pu <393733352@qq.com>
Date: 星期一, 19 八月 2024 17:43:43 +0800
Subject: [PATCH] 新增加小程序接口

---
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/VipClient.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/VipClient.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/VipClient.java
index 305c332..b2ca8d3 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/VipClient.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/VipClient.java
@@ -2,6 +2,7 @@
 
 import com.ruoyi.common.core.constant.ServiceNameConstants;
 import com.ruoyi.common.core.domain.R;
+import com.ruoyi.common.core.web.domain.AjaxResult;
 import com.ruoyi.other.api.domain.TVip;
 import com.ruoyi.other.api.factory.VipFallbackFactory;
 import org.springframework.cloud.openfeign.FeignClient;
@@ -22,7 +23,7 @@
      * @return
      */
     @PostMapping(value = "/vip/getVipInfoByType")
-    R<TVip> getVipInfoByType(@RequestParam Integer type);
+    R<TVip> getVipInfoByType(@RequestParam("type") Integer type);
 
     /**
      * 远程调用
@@ -31,4 +32,8 @@
      */
     @PostMapping("/vip/getInfo1")
     public R<TVip> getInfo1(@RequestParam("id") Integer id);
+    @PostMapping(value = "/vip/getInfo")
+    R<TVip> getInfo(@RequestParam("id") Integer id);
+
+
 }

--
Gitblit v1.7.1