提交 | 用户 | age
|
8e544d
|
1 |
package com.hz.his.feign.service.phisAdmin; |
A |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import org.springframework.cloud.openfeign.FeignClient; |
|
5 |
import org.springframework.web.bind.annotation.RequestMapping; |
|
6 |
|
|
7 |
/** |
|
8 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
9 |
*/ |
f91d2f
|
10 |
@FeignClient(name="phi-pre-sys",path = "/appointment", contextId = "labelInfo") |
8e544d
|
11 |
public interface SLabelInfoService { |
A |
12 |
|
|
13 |
/** |
|
14 |
* 标签分类树型列表(搜索) |
|
15 |
*/ |
|
16 |
@RequestMapping("/foreign/api/user/label/type/tree/list") |
0190f2
|
17 |
Result userLabelTypeTreeList(); |
8e544d
|
18 |
} |