feat: 新增短信模板配置

This commit is contained in:
DESKTOP-ESU4BDD\WeiZhiQiang 2024-08-30 11:34:02 +08:00
parent 882e3e8004
commit a217724ced
2 changed files with 10 additions and 2 deletions

View file

@ -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

View file

@ -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 的原因是,测试方便。