From 3dac1b9697a7a214789cc2d95788a178a63be4aa Mon Sep 17 00:00:00 2001 From: cmg <527198563@qq.com> Date: 星期二, 30 四月 2024 20:45:37 +0800 Subject: [PATCH] 修改feign调用的服务名:synchro-service 修改为 phi-platform-user --- phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPromotionService.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPromotionService.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPromotionService.java index 256188b..37141d2 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPromotionService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPromotionService.java @@ -8,11 +8,12 @@ import com.hx.resultTool.Result; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-promotion") +@FeignClient(name="phi-platform-user",path = "/his_synchro",contextId = "synchro-promotion") public interface SyncPromotionService { /** @@ -23,5 +24,5 @@ * @return */ @PostMapping(value = "/sync/project/promotion") - Result syncHisPromotion(JSONObject jsonObject); + Result syncHisPromotion(@RequestBody JSONObject jsonObject); } -- Gitblit v1.8.0