From 4e5b054b453a4062bb4e3cc9d4d44bf8ab38a3d0 Mon Sep 17 00:00:00 2001 From: zhangxu <3%usVi4iXbVkhI1c> Date: 星期四, 01 九月 2022 16:07:22 +0800 Subject: [PATCH] 新建,修改项目到领健 --- 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