ANDRU-PC\Andru
2023-04-27 0190f24b1e3feada54f8ae0d157b8aacae48bca9
提交 | 用户 | 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  */
10 @FeignClient(name="phis-service", contextId = "labelInfo")
11 public interface SLabelInfoService {
12
13     /**
14      * 标签分类树型列表(搜索)
15      */
16     @RequestMapping("/foreign/api/user/label/type/tree/list")
0190f2 17     Result userLabelTypeTreeList();
8e544d 18 }