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); /** * 同步his用户可划扣的数据 * @param jsonObject 参数 * @return 返回 */ @GetMapping(value = "/sync/executionRecord/executable") Result syncExecutionRecord(@RequestBody JSONObject jsonObject); }