From 12bc6c6e9f547efca914ee3397e3618c6baf5c7a Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期四, 08 九月 2022 14:47:33 +0800 Subject: [PATCH] 查询规格 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SSpecService.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SSpecService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SSpecService.java new file mode 100644 index 0000000..05930d9 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SSpecService.java @@ -0,0 +1,30 @@ +package com.hz.his.feign.service.phis; + + +import com.hx.resultTool.Result; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestParam; + +/** + * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� + */ +@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "spec") +public interface SSpecService { + + /** + * 鑾峰彇瑙勬牸淇℃伅 + * @return Result + */ + @PostMapping(value = "/spec/info") + Result getSpecInfo(@RequestParam("id") String id); + + + /** + * 鑾峰彇瑙勬牸鍊间俊鎭� + * @return Result + */ + @PostMapping(value = "/specValue/info") + Result getSpecValueInfo(@RequestParam("id") String id); + +} -- Gitblit v1.8.0