修正项目
This commit is contained in:
20
xlcs-parent/service-client/service-user-client/pom.xml
Normal file
20
xlcs-parent/service-client/service-user-client/pom.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.yovinchen</groupId>
|
||||
<artifactId>service-client</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>service-user-client</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
</project>
|
@@ -0,0 +1,26 @@
|
||||
package com.yovinchen.xlcs.client.user;
|
||||
|
||||
import com.yovinchen.xlcs.vo.user.LeaderAddressVo;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
|
||||
/**
|
||||
* ClassName: UserFeignClient
|
||||
* Package: com.yovinchen.xlcs.client.user
|
||||
*
|
||||
* @author yovinchen
|
||||
* @Create 2023/9/25 12:27
|
||||
*/
|
||||
@FeignClient(value = "service-user")
|
||||
public interface UserFeignClient {
|
||||
|
||||
/**
|
||||
* 提货点地址信息
|
||||
*
|
||||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/api/user/leader/inner/getUserAddressByUserId/{userId}")
|
||||
LeaderAddressVo getUserAddressByUserId(@PathVariable("userId") Long userId);
|
||||
}
|
Reference in New Issue
Block a user