提交 | 用户 | age
|
4e5b05
|
1 |
package com.hz.his.feign.service.sync; |
Z |
2 |
|
|
3 |
import com.alibaba.fastjson.JSONObject; |
|
4 |
import com.hx.resultTool.Result; |
|
5 |
import org.springframework.cloud.openfeign.FeignClient; |
|
6 |
import org.springframework.web.bind.annotation.GetMapping; |
|
7 |
import org.springframework.web.bind.annotation.RequestBody; |
|
8 |
|
|
9 |
/** |
|
10 |
* @Author |
|
11 |
*/ |
|
12 |
@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-project") |
|
13 |
public interface SyncProjectService { |
|
14 |
|
|
15 |
/** |
|
16 |
* 新增项目分类 |
|
17 |
* @param jsonObject |
|
18 |
* @return |
|
19 |
*/ |
|
20 |
@GetMapping(value = "/sync/project/add/service/tree") |
|
21 |
Result addServiceTree(@RequestBody JSONObject jsonObject); |
|
22 |
|
|
23 |
/** |
|
24 |
* 修改 |
|
25 |
* @param jsonObject |
|
26 |
* @return |
|
27 |
*/ |
|
28 |
@GetMapping(value = "/sync/project/update/service/tree") |
|
29 |
Result updateServiceTree(@RequestBody JSONObject jsonObject); |
|
30 |
} |