master
Jim Cen 5 years ago
parent 74055a5390
commit fd5ab0a26a
  1. 2
      xxl-job-admin/src/main/java/com/xxl/job/admin/core/conf/XxlJobAdminConfig.java
  2. 1
      xxl-job-admin/src/main/resources/application.properties

@ -55,7 +55,7 @@ public class XxlJobAdminConfig implements InitializingBean, DisposableBean {
@Value("${xxl.job.accessToken}") @Value("${xxl.job.accessToken}")
private String accessToken; private String accessToken;
@Value("${spring.mail.username}") @Value("${spring.mail.from}")
private String emailUserName; private String emailUserName;
@Value("${xxl.job.triggerpool.fast.max}") @Value("${xxl.job.triggerpool.fast.max}")

@ -43,6 +43,7 @@ spring.datasource.hikari.connection-test-query=SELECT 1
spring.mail.host=smtp.qq.com spring.mail.host=smtp.qq.com
spring.mail.port=25 spring.mail.port=25
spring.mail.username=xxx@qq.com spring.mail.username=xxx@qq.com
spring.mail.from=xxx@qq.com
spring.mail.password=xxx spring.mail.password=xxx
spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true spring.mail.properties.mail.smtp.starttls.enable=true

Loading…
Cancel
Save