From 7fe1bd7734e8a1f80523d5fce34290e3f20a7403 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Sun, 21 Aug 2022 21:09:23 +0800 Subject: [PATCH] 新增邮件消息自提醒 --- snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java | 28 +++++++++++++++++++--------- 1 files changed, 19 insertions(+), 9 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 0319221..15b540a 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 @@ -322,14 +322,6 @@ return getSysConfig("SNOWY_ONLY_OFFICE_SERVICE_URL", String.class, true); } - /** - * 获取blog资源地址访问前缀 - * - * @return - */ - public static String getBlogSourcePrefix() { - return getSysConfig("visit", String.class, true); - } /** * 获取config表中的配置,如果为空返回默认值 @@ -420,11 +412,29 @@ } /** - * 获取自我认证密码 + * 获取blog资源地址访问前缀 + * + * @return + */ + public static String getBlogSourcePrefix() { + return getSysConfig("visit", String.class, true); + } + + /** + * 授权访客密码 * * @author inleft */ public static String getAuthCode() { return getSysConfigWithDefault("inleft_AuthCode", String.class, null); } + + /** + * 推送内容密码 + * + * @author inleft + */ + public static String getPushCode() { + return getSysConfigWithDefault("inleft_PushCode", String.class, null); + } } -- Gitblit v1.9.1