mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-02-01 04:00:54 +08:00
feat: 新增短信模板配置
This commit is contained in:
parent
882e3e8004
commit
a217724ced
2 changed files with 10 additions and 2 deletions
|
@ -42,7 +42,7 @@ public class FtpFileClient extends AbstractFileClient<FtpFileClientConfig> {
|
|||
|
||||
// 初始化 Ftp 对象
|
||||
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
|
||||
|
|
|
@ -42,4 +42,12 @@ topic:
|
|||
# 消息通知的topic
|
||||
notice-send-service: NOTICE_SEND_SERVICE
|
||||
# 短信通知的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