wangrenhuang
2023-07-06 1e8ba4b6b7269ee0c7461ea9d08d31e18caef650
crm-platform-feign/src/main/java/com/hz/crm/feign/FUserService.java
@@ -9,10 +9,14 @@
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-user")
@FeignClient(name="crm-platform-service",path = "/crm-platform",contextId = "crm-user")
public interface FUserService {
    @PostMapping(value = "/user/info")
    Result list( @RequestBody(required = false) UserDto userDto);
    Result info( @RequestBody(required = false) UserDto userDto);
    @PostMapping(value = "/user/getUserUnionid")
    Result getUserUnionid( @RequestBody(required = false) UserDto userDto);
}