From 108cb4408fb049c64dffdf8d69f382f73043f705 Mon Sep 17 00:00:00 2001 From: zhouxiang <zhouxiang> Date: 星期四, 01 九月 2022 16:20:31 +0800 Subject: [PATCH] Merge branch 'master' of http://1.15.4.62/r/~chenjiahe/phis-service-feign --- phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncProjectService.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncProjectService.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncProjectService.java new file mode 100644 index 0000000..8b02b47 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncProjectService.java @@ -0,0 +1,30 @@ +package com.hz.his.feign.service.sync; + +import com.alibaba.fastjson.JSONObject; +import com.hx.resultTool.Result; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestBody; + +/** + * @Author + */ +@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-project") +public interface SyncProjectService { + + /** + * 鏂板椤圭洰鍒嗙被 + * @param jsonObject + * @return + */ + @GetMapping(value = "/sync/project/add/service/tree") + Result addServiceTree(@RequestBody JSONObject jsonObject); + + /** + * 淇敼 + * @param jsonObject + * @return + */ + @GetMapping(value = "/sync/project/update/service/tree") + Result updateServiceTree(@RequestBody JSONObject jsonObject); +} -- Gitblit v1.8.0