From c6a8766f4fc27273167d1ff8ab891596045d95f9 Mon Sep 17 00:00:00 2001 From: cmg <527198563@qq.com> Date: 星期二, 09 七月 2024 15:20:13 +0800 Subject: [PATCH] Merge branch 'master-stander' into master-xlk --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SSystemParameterService.java | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SSystemParameterService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SSystemParameterService.java new file mode 100644 index 0000000..43ca179 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SSystemParameterService.java @@ -0,0 +1,21 @@ +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 = "systemParameter") +public interface SSystemParameterService { + + /** + * 鑾峰彇閰嶇疆 + * @param paramName 閰嶇疆鍚嶇О + * @return + */ + @PostMapping(value = "/system/parameter/get") + Result getSystemParameterByNAME(@RequestParam("paramName") String paramName); +} -- Gitblit v1.8.0