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/SChannelsService.java | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SChannelsService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SChannelsService.java index d8386a2..fac9a10 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SChannelsService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SChannelsService.java @@ -2,6 +2,8 @@ import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; +import com.hz.his.dto.channel.ChannelDto; +import com.hz.his.dto.channel.ChannelGeneralDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -10,7 +12,7 @@ /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "channels") +@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "channels") public interface SChannelsService { /** @@ -27,4 +29,18 @@ */ @PostMapping(value = "/channels/list") Result getChannelsList(@RequestBody PageDto pageDto); + + /** + * 鑾峰彇娓犻亾鍒楄〃-娓犻亾澶х被 + * @return Result + */ + @PostMapping(value = "/channels/type/list") + Result getChannelsListByType(@RequestBody PageDto pageDto); + + /** + * 鑾峰彇娓犻亾鍒楄〃-鍒ゆ柇鏄惁褰掑睘 + * @return Result + */ + @PostMapping(value = "/channels/type/check") + Result checkInChannel(@RequestBody ChannelGeneralDto channelGeneralDto); } -- Gitblit v1.8.0