wangrenhuang
2023-11-06 d922690fbc15e29e152c1bb864a33296bf1b8f33
提交 | 用户 | age
901640 1 package com.hz.his.feign.service.platform;
F 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.user.UserMergeDto;
5 import feign.Request;
6 import org.springframework.cloud.openfeign.FeignClient;
7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9
10 /**
11  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
12  */
13 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-merge")
14 public interface SPhipUserMergeService {
15
16     /**
17      * 用户合并日志
18      */
19     @PostMapping("/user/merge/log/add")
6d8857 20     Result userMergeAdd(@RequestBody UserMergeDto userMergeDto);
901640 21 }