fwq
2024-03-19 eba7eefe07b5b5e2ae09b4b5a48fc0e4462d40d1
提交 | 用户 | 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  */
14 @FeignClient(name = "phiskin-bi-polymerize-service", path = "/bi-poly", contextId = "bi-poly-userCardInfo")
15 public interface BiUserInfoCardService {
16
17     /**
18      * 更新
19      */
20     @PostMapping("/user/info/card/total/updateOne")
21     Result updateOne(@RequestBody UserDto userDto);
22
23
24 }