wangrenhuang
2023-11-06 d922690fbc15e29e152c1bb864a33296bf1b8f33
提交 | 用户 | age
77eab0 1 package com.hz.his.feign.service.platform;
R 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.user.usercompleteInfo.UserInfoCompleteDto;
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  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
11  */
12 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-complete")
13
14 public interface SPhipUserInfoCompleteService {
15
16
17     /**
18      * 开放平台-处理扫码用户完善资料页信息 (编辑)
19      */
20     @PostMapping(value = "/user/complete/edit")
21     Result userCompleteEdit(@RequestBody UserInfoCompleteDto userInfoCompleteDto);
22
23
24     /**
25      * 开放平台-展示 完善资料页详情数据
26      */
27     @PostMapping(value = "/user/complete/detail")
28     Result userCompleteDetail(@RequestBody UserInfoCompleteDto userInfoCompleteDto);
29
30 }