提交 | 用户 | age
|
ddd881
|
1 |
package com.hz.his.feign.service.phis; |
7c680b
|
2 |
|
C |
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.dictionaries.DictionariesDto; |
|
5 |
import com.hz.his.dto.employee.EmpDocDto; |
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
|
7 |
import org.springframework.web.bind.annotation.PostMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestBody; |
|
9 |
|
|
10 |
/** |
|
11 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
12 |
*/ |
314a4b
|
13 |
@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "dictionaries") |
7c680b
|
14 |
public interface SDictionariesService { |
C |
15 |
|
|
16 |
|
|
17 |
/** |
ec3c21
|
18 |
* 查看字典列表 |
7c680b
|
19 |
*/ |
C |
20 |
@PostMapping(value = "/dictionaries/list") |
|
21 |
Result getList(@RequestBody(required = false) DictionariesDto dictionariesDto); |
|
22 |
|
|
23 |
} |