zhouxiang
2022-09-01 108cb4408fb049c64dffdf8d69f382f73043f705
Merge branch 'master' of http://1.15.4.62/r/~chenjiahe/phis-service-feign
1个文件已添加
30 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncProjectService.java 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncProjectService.java
New file
@@ -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);
}