提交 | 用户 | age
|
36b9c7
|
1 |
package com.hz.his.feign.service.phis; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.PageDto; |
|
5 |
import com.hz.his.dto.base.CodeNoDataDto; |
|
6 |
import com.hz.his.dto.card.CardDto; |
|
7 |
import org.springframework.cloud.openfeign.FeignClient; |
|
8 |
import org.springframework.web.bind.annotation.PostMapping; |
|
9 |
import org.springframework.web.bind.annotation.RequestBody; |
|
10 |
import org.springframework.web.bind.annotation.RequestParam; |
|
11 |
|
|
12 |
/** |
|
13 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
14 |
*/ |
|
15 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "code-no-data") |
|
16 |
public interface SCodeNoDataService { |
|
17 |
|
|
18 |
/** |
|
19 |
* 查询编号关联数据 |
|
20 |
* @return Result |
|
21 |
*/ |
|
22 |
@PostMapping(value = "/code/no/data/detail") |
|
23 |
Result getDetail(@RequestBody CodeNoDataDto codeNoDataDto); |
|
24 |
} |