From 314a4b858417df3d0e97049c3bf36e91cdf228ee Mon Sep 17 00:00:00 2001
From: cmg <527198563@qq.com>
Date: 星期二, 30 四月 2024 20:44:47 +0800
Subject: [PATCH] 修改feign调用的服务名

---
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SMoneyRuleService.java |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SMoneyRuleService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SMoneyRuleService.java
index 3992df1..cd5566a 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SMoneyRuleService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SMoneyRuleService.java
@@ -1,8 +1,10 @@
 package com.hz.his.feign.service.phis;
 
 import com.hx.resultTool.Result;
+import com.hz.phis.vo.money.MoneyRuleVo;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
 
 import java.math.BigDecimal;
@@ -10,14 +12,14 @@
 /**
  * 璧勯噾鍒拌处瑙勫垯
  */
-@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "money-rule")
+@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "money-rule")
 public interface SMoneyRuleService {
 
     /**
-     * @param functionCode 鍔熻兘缂栧彿
-     * @return
+     * @param moneyRuleVo 浼犲弬瀵硅薄
+     * @return 杩斿洖锛岀湅浠g爜
      */
     @PostMapping(value = "/money-rule/list")
-    Result getList(@RequestParam("functionCode") String functionCode);
+    Result getList(@RequestBody MoneyRuleVo moneyRuleVo);
 
 }

--
Gitblit v1.8.0