From 92de8e35f752d9d2f3f7fe109f2daa7ad233be49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com>
Date: Wed, 26 Jan 2022 21:15:07 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E7=B1=BB=E6=B3=A8=E9=87=8A=E5=A4=B4?=
=?UTF-8?q?=E9=83=A8=E7=AD=BE=E5=90=8D=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/com/youlai/admin/config/PasswordEncoderConfig.java | 2 ++
.../security/core/userdetails/member/MemberUserDetails.java | 2 +-
.../auth/security/core/userdetails/user/SysUserDetails.java | 2 +-
.../com/youlai/common/sms/config/AliyunSmsProperties.java | 2 +-
.../java/com/youlai/common/sms/service/AliyunSmsService.java | 4 +++-
.../main/java/com/youlai/gateway/router/CaptchaRouter.java | 2 +-
6 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/youlai-admin/admin-boot/src/main/java/com/youlai/admin/config/PasswordEncoderConfig.java b/youlai-admin/admin-boot/src/main/java/com/youlai/admin/config/PasswordEncoderConfig.java
index ed2e2582e..581ef1366 100644
--- a/youlai-admin/admin-boot/src/main/java/com/youlai/admin/config/PasswordEncoderConfig.java
+++ b/youlai-admin/admin-boot/src/main/java/com/youlai/admin/config/PasswordEncoderConfig.java
@@ -10,8 +10,10 @@ import org.springframework.security.crypto.password.PasswordEncoder;
*/
@Configuration
public class PasswordEncoderConfig {
+
@Bean
public PasswordEncoder passwordEncoder() {
return new BCryptPasswordEncoder();
}
+
}
diff --git a/youlai-auth/src/main/java/com/youlai/auth/security/core/userdetails/member/MemberUserDetails.java b/youlai-auth/src/main/java/com/youlai/auth/security/core/userdetails/member/MemberUserDetails.java
index 6ae08e83c..055ed2aed 100644
--- a/youlai-auth/src/main/java/com/youlai/auth/security/core/userdetails/member/MemberUserDetails.java
+++ b/youlai-auth/src/main/java/com/youlai/auth/security/core/userdetails/member/MemberUserDetails.java
@@ -14,7 +14,7 @@ import java.util.HashSet;
/**
* 用户认证信息
*
- * @author haoxianrui
+ * @author haoxr
* @date 2021/9/27
*/
@Data
diff --git a/youlai-auth/src/main/java/com/youlai/auth/security/core/userdetails/user/SysUserDetails.java b/youlai-auth/src/main/java/com/youlai/auth/security/core/userdetails/user/SysUserDetails.java
index adf0abfdf..1219a88ce 100644
--- a/youlai-auth/src/main/java/com/youlai/auth/security/core/userdetails/user/SysUserDetails.java
+++ b/youlai-auth/src/main/java/com/youlai/auth/security/core/userdetails/user/SysUserDetails.java
@@ -16,7 +16,7 @@ import java.util.Collection;
/**
* 系统管理用户认证信息
*
- * @author haoxianrui
+ * @author haoxr
* @date 2021/9/27
*/
@Data
diff --git a/youlai-common/common-sms/src/main/java/com/youlai/common/sms/config/AliyunSmsProperties.java b/youlai-common/common-sms/src/main/java/com/youlai/common/sms/config/AliyunSmsProperties.java
index 173189041..8ffa04c99 100644
--- a/youlai-common/common-sms/src/main/java/com/youlai/common/sms/config/AliyunSmsProperties.java
+++ b/youlai-common/common-sms/src/main/java/com/youlai/common/sms/config/AliyunSmsProperties.java
@@ -5,7 +5,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
- * @author haoxianrui
+ * @author haoxr
* @date 2021/10/13 22:44
*/
@ConfigurationProperties(prefix = "aliyun.sms")
diff --git a/youlai-common/common-sms/src/main/java/com/youlai/common/sms/service/AliyunSmsService.java b/youlai-common/common-sms/src/main/java/com/youlai/common/sms/service/AliyunSmsService.java
index ce342e9fb..8a72a6e5e 100644
--- a/youlai-common/common-sms/src/main/java/com/youlai/common/sms/service/AliyunSmsService.java
+++ b/youlai-common/common-sms/src/main/java/com/youlai/common/sms/service/AliyunSmsService.java
@@ -21,7 +21,9 @@ import java.util.Map;
import java.util.concurrent.TimeUnit;
/**
- * @author haoxianrui
+ * 阿里云短信业务类
+ *
+ * @author haoxr
* @date 2021/10/13 23:04
*/
@Service
diff --git a/youlai-gateway/src/main/java/com/youlai/gateway/router/CaptchaRouter.java b/youlai-gateway/src/main/java/com/youlai/gateway/router/CaptchaRouter.java
index 70edab92a..4b9a2dc64 100644
--- a/youlai-gateway/src/main/java/com/youlai/gateway/router/CaptchaRouter.java
+++ b/youlai-gateway/src/main/java/com/youlai/gateway/router/CaptchaRouter.java
@@ -12,7 +12,7 @@ import org.springframework.web.reactive.function.server.ServerResponse;
/**
* 图片验证码路由
*
- * @author haoxianrui
+ * @author haoxr
* @date 2021/10/4
*/
@Configuration