删除配置文件中email相关配置

This commit is contained in:
wangzhijiang
2024-03-12 15:31:45 +08:00
parent 0fd8a68e7b
commit 7cd75a2051
4 changed files with 1 additions and 34 deletions
@@ -17,7 +17,7 @@ public class StaticConfig {
@Value("${jero.oss.secretKey}")
private String accessKeySecret;
@Value(value = "${spring.mail.username}")
// @Value(value = "${spring.mail.username}")
private String emailFrom;
/**
@@ -27,17 +27,6 @@ spring:
max-request-size: 500MB
messages:
basename: i18n/messages
mail:
host: smtp.163.com
username: test@163.com
password: ??
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
#json 时间戳统一转换
jackson:
date-format: yyyy-MM-dd HH:mm:ss
@@ -26,17 +26,6 @@ spring:
max-request-size: 500MB
messages:
basename: i18n/messages
mail:
host: smtp.163.com
username: test@163.com
password: ??
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
#json 时间戳统一转换
jackson:
date-format: yyyy-MM-dd HH:mm:ss
@@ -27,17 +27,6 @@ spring:
max-request-size: 500MB
messages:
basename: i18n/messages
mail:
host: smtp.163.com
username: test@163.com
password: ??
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
#json 时间戳统一转换
jackson:
date-format: yyyy-MM-dd HH:mm:ss