New file |
| | |
| | | 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); |
| | | } |