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/SShopService.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SShopService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SShopService.java index 12a8d34..1cb8c91 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SShopService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SShopService.java @@ -12,7 +12,7 @@ /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "shop") +@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "shop") public interface SShopService { /** @@ -44,4 +44,11 @@ */ @PostMapping(value = "/shop/detail/vo") Result getShopDetailVo(@RequestBody ShopDto shopDto); + + /** + * 鑾峰彇闂ㄥ簵璇︽儏杩斿洖vo + * @return Result + */ + @PostMapping(value = "/shop/detail/name") + Result getDetailByName(@RequestBody ShopDto shopDto); } -- Gitblit v1.8.0