| | |
| | | * @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); |
| | |
| | | return getSysConfig("SNOWY_ONLY_OFFICE_SERVICE_URL", String.class, true); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取config表中的配置,如果为空返回默认值 |
| | | * |
| | |
| | | return cryptogramConfigs; |
| | | } |
| | | |
| | | /** |
| | | * 获取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); |
| | | } |
| | | } |