提交 | 用户 | age
|
95c0f0
|
1 |
package com.hz.his.feign.service.phis; |
W |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.order.OrderDto; |
|
5 |
import com.hz.his.dto.user.UserDto; |
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
|
7 |
import org.springframework.web.bind.annotation.PostMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestBody; |
|
9 |
import org.springframework.web.bind.annotation.RequestParam; |
|
10 |
|
|
11 |
/** |
|
12 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
13 |
*/ |
|
14 |
@FeignClient(name = "phis-provider", path = "/p-his-data", contextId = "meiji") |
|
15 |
public interface SMeiJiService { |
|
16 |
|
|
17 |
/** |
647bda
|
18 |
* 美际档案列表 |
95c0f0
|
19 |
*/ |
W |
20 |
@PostMapping(value = "/meiji/userSkinReportList") |
|
21 |
Result userSkinReportList(@RequestBody UserDto userDto); |
647bda
|
22 |
|
W |
23 |
/** |
|
24 |
* 查询用户最新的美际档案 |
|
25 |
*/ |
|
26 |
@PostMapping(value = "/meiji/one") |
|
27 |
Result userSkinReportOne(@RequestBody UserDto userDto); |
95c0f0
|
28 |
} |