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/dcp/SUserTagInfoService.java | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java b/phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java index b645b90..989077f 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java @@ -9,12 +9,17 @@ import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ @FeignClient(name="dcp-rules-service",path = "/dcp-rules",contextId = "userTagInfo") public interface SUserTagInfoService { + + /** 鏍囩鍒嗙被鏍戝瀷鍒楄〃 */ + @PostMapping("/tag/rule/info/list/tree") + Result listTreeData(); /**鏌ヨ鐢ㄦ埛鏍囩鍒楄〃*/ @PostMapping("/user/tag/info/list") @@ -34,10 +39,10 @@ * (鏄惁鑷畾涔夋爣绛� 鍚�)"isCustom": 0, * (鏍囩绫诲瀷缂栧彿)"typeNo": "constellation", * (鏍囩缂栧彿)"tagNo": "LA20220506bRnJDj" - * }, - * { + * }, + * { * (鏄惁鑷畾涔夋爣绛� 鏄�)"isCustom": 1, - * (鏍囩绫诲瀷缂栧彿 娌℃湁绫诲瀷鍙互涓虹┖鎴栦笉浼�)"typeNo": "constellation", + * (鏍囩绫诲瀷缂栧彿)"typeNo": "constellation", * (鏍囩缂栧彿)"tagName": "鐗涢┈搴�" * } * ], @@ -59,4 +64,8 @@ /**鏍囩鍒嗙被鏁版嵁鍒楄〃*/ @PostMapping("/tag/rule/info/list") Result listData(@RequestBody TagRuleInfoDto tagRuleInfoDto); + + /**鍚屾鐢ㄦ埛鏍囩鏁版嵁*/ + @PostMapping("/test/handlerSyncUserLabelInfo") + Result handlerSyncUserLabelInfo(@RequestParam("userId") String userId); } -- Gitblit v1.8.0