From eaf26c265f8882b2e100428d942ac377330cc114 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Thu, 04 Aug 2022 18:47:07 +0800 Subject: [PATCH] 新增:消息盒子功能 --- snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java b/snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java index cb67bb3..0319221 100644 --- a/snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java +++ b/snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java @@ -139,7 +139,7 @@ * @date 2020/6/19 18:08 */ public static AliyunSmsConfigs getAliyunSmsConfigs() { - String snowySmsAccesskeyId = getSysConfig("SNOWY_ALIYUN_SMS_ACCESSKEY_ID", String.class, true); + String snowySmsAccesskeyId = getSysConfig("SNOWY_ALIYUN_SMS_ACCESSKEY_ID", String.class, true); String snowySmsAccesskeySecret = getSysConfig("SNOWY_ALIYUN_SMS_ACCESSKEY_SECRET", String.class, true); String snowySmsSignName = getSysConfig("SNOWY_ALIYUN_SMS_SIGN_NAME", String.class, true); String snowySmsLoginTemplateCode = getSysConfig("SNOWY_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", String.class, true); @@ -324,6 +324,7 @@ /** * 获取blog资源地址访问前缀 + * * @return */ public static String getBlogSourcePrefix() { @@ -418,4 +419,12 @@ return cryptogramConfigs; } + /** + * 获取自我认证密码 + * + * @author inleft + */ + public static String getAuthCode() { + return getSysConfigWithDefault("inleft_AuthCode", String.class, null); + } } -- Gitblit v1.9.1