diff --git a/skyeye-promote/skyeye-common/src/main/java/com/skyeye/framework/file/core/client/ftp/FtpFileClient.java b/skyeye-promote/skyeye-common/src/main/java/com/skyeye/framework/file/core/client/ftp/FtpFileClient.java index 0a8a229b..daf2ba3c 100644 --- a/skyeye-promote/skyeye-common/src/main/java/com/skyeye/framework/file/core/client/ftp/FtpFileClient.java +++ b/skyeye-promote/skyeye-common/src/main/java/com/skyeye/framework/file/core/client/ftp/FtpFileClient.java @@ -42,7 +42,7 @@ public class FtpFileClient extends AbstractFileClient { // 初始化 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 diff --git a/skyeye-promote/skyeye-web/src/main/resources/bootstrap.yml b/skyeye-promote/skyeye-web/src/main/resources/bootstrap.yml index 0470e6ed..21353112 100644 --- a/skyeye-promote/skyeye-web/src/main/resources/bootstrap.yml +++ b/skyeye-promote/skyeye-web/src/main/resources/bootstrap.yml @@ -42,4 +42,12 @@ topic: # 消息通知的topic notice-send-service: NOTICE_SEND_SERVICE # 短信通知的topic - sms-send-service: SMS_SEND_SERVICE \ No newline at end of file + 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 的原因是,测试方便。 \ No newline at end of file