package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; import com.hz.his.dto.user.usercompleteInfo.UserInfoCompleteDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 */ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-complete") public interface SPhipUserInfoCompleteService { /** * 开放平台-处理扫码用户完善资料页信息 (编辑) */ @PostMapping(value = "/user/complete/edit") Result userCompleteEdit(@RequestBody UserInfoCompleteDto userInfoCompleteDto); /** * 开放平台-展示 完善资料页详情数据 */ @PostMapping(value = "/user/complete/detail") Result userCompleteDetail(@RequestBody UserInfoCompleteDto userInfoCompleteDto); }