提交 | 用户 | age
|
cb5154
|
1 |
package com.hz.his.feign.service.platform.bi.poly; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.report.EmployeeReportDto; |
|
5 |
import org.springframework.cloud.openfeign.FeignClient; |
|
6 |
import org.springframework.web.bind.annotation.PostMapping; |
|
7 |
import org.springframework.web.bind.annotation.RequestBody; |
|
8 |
|
|
9 |
|
|
10 |
/** |
|
11 |
* 客户资料卡 |
|
12 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
13 |
*/ |
|
14 |
@FeignClient(name = "phiskin-bi-polymerize-service", path = "/bi-poly", contextId = "bi-poly-userDocPro") |
|
15 |
public interface BiUserDoctorProjectService { |
|
16 |
|
|
17 |
/** |
|
18 |
* 初始化更新 |
|
19 |
*/ |
|
20 |
@PostMapping("/user/doctor/relation/init/total") |
|
21 |
Result init(@RequestBody EmployeeReportDto employeeReportDto); |
|
22 |
|
|
23 |
|
|
24 |
} |