提交 | 用户 | age
|
c4454c
|
1 |
package com.hz.his.feign.service.phis; |
R |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
4fd200
|
4 |
import com.hz.phis.vo.returnVisitRecord.ReturnVisitRecordFindVo; |
c4454c
|
5 |
import org.springframework.cloud.openfeign.FeignClient; |
R |
6 |
import org.springframework.web.bind.annotation.PostMapping; |
|
7 |
import org.springframework.web.bind.annotation.RequestBody; |
|
8 |
|
|
9 |
/** |
|
10 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
11 |
*/ |
b80131
|
12 |
@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "user-return-visit-record") |
c4454c
|
13 |
public interface SReturnVisitRecordService { |
R |
14 |
|
|
15 |
|
|
16 |
/*** 获取用户回访记录列表 **/ |
|
17 |
@PostMapping(value = "/return/visit/record/list") |
4fd200
|
18 |
Result returnVisitList(@RequestBody ReturnVisitRecordFindVo findData); |
c4454c
|
19 |
|
4fd200
|
20 |
/*** 获取用户回访记录详情 **/ |
c4454c
|
21 |
@PostMapping(value = "/return/visit/record/detail") |
4fd200
|
22 |
Result returnVisitDetail(@RequestBody ReturnVisitRecordFindVo findData); |
c4454c
|
23 |
} |