提交 | 用户 | age
|
d66562
|
1 |
package com.hz.his.feign.service.platform.bi.poly; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.user.UserDto; |
|
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 |
*/ |
8ccc81
|
14 |
@FeignClient(name = "phi-platform-user", path = "/bi-poly", contextId = "bi-poly-userCardInfo") |
d66562
|
15 |
public interface BiUserInfoCardService { |
F |
16 |
|
|
17 |
/** |
|
18 |
* 更新 |
|
19 |
*/ |
|
20 |
@PostMapping("/user/info/card/total/updateOne") |
|
21 |
Result updateOne(@RequestBody UserDto userDto); |
|
22 |
|
|
23 |
|
|
24 |
} |