From f0fd9abafcf65f1aa0bab98d68fdecd57e2d19e6 Mon Sep 17 00:00:00 2001 From: rx <auster_i@163.com> Date: 星期四, 11 四月 2024 19:28:53 +0800 Subject: [PATCH] 新增同步商汤头像service --- phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncSTUserImgService.java | 19 ++++++------------- 1 files changed, 6 insertions(+), 13 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncSTUserImgService.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncSTUserImgService.java index c87c170..6215a5a 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncSTUserImgService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncSTUserImgService.java @@ -3,25 +3,18 @@ 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; import java.util.Map; /** - * 鍚屾鍟嗘堡鐢ㄦ埛澶村儚 - * - * @Author锛氱煡鐭� - * @Date锛�2023/5/12 10:46 + * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name = "synchro-service", path = "/his_synchro", contextId = "synchro-st-user-img") +@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-st-user") public interface SyncSTUserImgService { - /***鍚屾鍟嗘堡鐢ㄦ埛澶村儚 */ + /*** 鍚屾鍟嗗搧鐢ㄦ埛澶村儚**/ @PostMapping(value = "/st/sync/getStImgUrl") - Result syncStUserImg(Map<String,Object> userMap); - - - - - -} + Result syncStUserImg(@RequestBody Map<String,Object> userMap); +} \ No newline at end of file -- Gitblit v1.8.0