fwq
2024-05-01 623afb6fbb8ce6adebf237e7b670d9f4f339184d
提交 | 用户 | 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 }