mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-03-05 11:53:23 +08:00
feat: 新增短信模板配置
This commit is contained in:
parent
882e3e8004
commit
a217724ced
2 changed files with 10 additions and 2 deletions
skyeye-promote
skyeye-common/src/main/java/com/skyeye/framework/file/core/client/ftp
skyeye-web/src/main/resources
|
@ -42,7 +42,7 @@ public class FtpFileClient extends AbstractFileClient<FtpFileClientConfig> {
|
||||||
|
|
||||||
// 初始化 Ftp 对象
|
// 初始化 Ftp 对象
|
||||||
this.ftp = new Ftp(config.getHost(), config.getPort(), config.getUsername(), config.getPassword(),
|
this.ftp = new Ftp(config.getHost(), config.getPort(), config.getUsername(), config.getPassword(),
|
||||||
CharsetUtil.CHARSET_UTF_8, FtpMode.valueOf(config.getMode()));
|
CharsetUtil.CHARSET_UTF_8, null, null, FtpMode.valueOf(config.getMode()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -42,4 +42,12 @@ topic:
|
||||||
# 消息通知的topic
|
# 消息通知的topic
|
||||||
notice-send-service: NOTICE_SEND_SERVICE
|
notice-send-service: NOTICE_SEND_SERVICE
|
||||||
# 短信通知的topic
|
# 短信通知的topic
|
||||||
sms-send-service: SMS_SEND_SERVICE
|
sms-send-service: SMS_SEND_SERVICE
|
||||||
|
|
||||||
|
skyeye:
|
||||||
|
sms-code: # 短信验证码相关的配置项
|
||||||
|
expire-times: 10m
|
||||||
|
send-frequency: 1m
|
||||||
|
send-maximum-quantity-per-day: 10
|
||||||
|
begin-code: 9999 # 这里配置 9999 的原因是,测试方便。
|
||||||
|
end-code: 9999 # 这里配置 9999 的原因是,测试方便。
|
Loading…
Reference in a new issue