From 174051f74a5842466c68c0601832fbb5a952608e Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期五, 30 十二月 2022 18:35:35 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' into master-test --- phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java index 7f71ffb..97f2c91 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java @@ -4,9 +4,11 @@ * @Author */ -import org.springframework.cloud.openfeign.FeignClient; import com.hx.resultTool.Result; +import net.sf.json.JSONObject; +import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; /** @@ -29,4 +31,9 @@ */ @PostMapping(value = "/sync/user/syncUserById") Result syncUserById(@RequestParam("userId") String userId); + + /** 涓诲姩鍚屾鍒涘缓椤惧鍒癶is - 淇敼鐢ㄦ埛ciq鍜屼細鍛樼瓑绾�*/ + @PostMapping("/sync/user/updateMembership") + Result updateMembership(@RequestBody JSONObject jsonObject); + } -- Gitblit v1.8.0