diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index 7566504..509b218 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -1,6 +1,11 @@ + + diff --git a/four-api-system/src/main/java/com/four/system/api/RemoteUserService.java b/four-api-system/src/main/java/com/four/system/api/RemoteUserService.java index 7961952..206b445 100644 --- a/four-api-system/src/main/java/com/four/system/api/RemoteUserService.java +++ b/four-api-system/src/main/java/com/four/system/api/RemoteUserService.java @@ -75,4 +75,16 @@ public interface RemoteUserService @PostMapping("/user/PatientRegisterBody") public R PatientRegisterBody(@RequestBody SysUser sysUser,@RequestHeader(SecurityConstants.FROM_SOURCE) String source); + + @PostMapping("/user/emailLogin") + public R emailLogin(@RequestBody SysUser sysUser,@RequestHeader(SecurityConstants.FROM_SOURCE) String source); + + /** + * 5.根据userId查询用户信息 + * @param userId + * @return + */ + @GetMapping("/user/findByUserId/{userId}") + public R findByUserId(@PathVariable("userId") Long userId); + } diff --git a/four-api-system/src/main/java/com/four/system/api/factory/RemoteUserFallbackFactory.java b/four-api-system/src/main/java/com/four/system/api/factory/RemoteUserFallbackFactory.java index 78dc176..548db3b 100644 --- a/four-api-system/src/main/java/com/four/system/api/factory/RemoteUserFallbackFactory.java +++ b/four-api-system/src/main/java/com/four/system/api/factory/RemoteUserFallbackFactory.java @@ -84,6 +84,15 @@ public class RemoteUserFallbackFactory implements FallbackFactory emailLogin(SysUser sysUser, String source) { + return R.fail("人脸登录失败:" + throwable.getMessage()); + } + + @Override + public R findByUserId(Long userId) { + return R.fail("查询信息失败:" + throwable.getMessage()); + } }; } diff --git a/four-api-system/target/classes/com/four/system/api/RemoteUserService.class b/four-api-system/target/classes/com/four/system/api/RemoteUserService.class index 4fe3a7d..c2a1280 100644 Binary files a/four-api-system/target/classes/com/four/system/api/RemoteUserService.class and b/four-api-system/target/classes/com/four/system/api/RemoteUserService.class differ diff --git a/four-api-system/target/classes/com/four/system/api/factory/RemoteUserFallbackFactory$1.class b/four-api-system/target/classes/com/four/system/api/factory/RemoteUserFallbackFactory$1.class index 65291b8..0005d4a 100644 Binary files a/four-api-system/target/classes/com/four/system/api/factory/RemoteUserFallbackFactory$1.class and b/four-api-system/target/classes/com/four/system/api/factory/RemoteUserFallbackFactory$1.class differ diff --git a/four-api-system/target/four-api-system-3.6.3.jar b/four-api-system/target/four-api-system-3.6.3.jar index 44d0d84..1e4435c 100644 Binary files a/four-api-system/target/four-api-system-3.6.3.jar and b/four-api-system/target/four-api-system-3.6.3.jar differ diff --git a/four-api-system/target/maven-archiver/pom.properties b/four-api-system/target/maven-archiver/pom.properties index ea95b85..7cbb240 100644 --- a/four-api-system/target/maven-archiver/pom.properties +++ b/four-api-system/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Tue Oct 31 20:35:17 CST 2023 +#Thu Nov 02 20:24:25 CST 2023 groupId=com.four artifactId=four-api-system version=3.6.3 diff --git a/pom.xml b/pom.xml index 47e17d0..62ebe5a 100644 --- a/pom.xml +++ b/pom.xml @@ -19,4 +19,20 @@ four-api系统接口 + + + menghang-public + menghang-public + http://47.120.41.128:8081/repository/maven-public/ + + + + + + menghang-releases + menghang-releases + http://47.120.41.128:8081/repository/maven-releases/ + + +