wangrenhuang
2023-05-17 b3da718f9dbd3e1df279e8616ccd21e344e9005d
提交 | 用户 | 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 }