add email module

This commit is contained in:
maplepie
2020-09-08 15:57:46 +08:00
parent be9c85ae42
commit 6631aa35db
10 changed files with 186 additions and 3 deletions
+11 -2
View File
@@ -11,7 +11,7 @@ jwt:
# mysql connect configuration
mysql:
username: root
password: 'Aa@6447985'
password: 'root'
path: '127.0.0.1:3306'
db-name: 'qmPlus'
config: 'charset=utf8mb4&parseTime=True&loc=Local'
@@ -80,4 +80,13 @@ zap:
# LowercaseLevelEncoder:小写, LowercaseColorLevelEncoder:小写带颜色,CapitalLevelEncoder: 大写, CapitalColorLevelEncoder: 大写带颜色,
encode_level: 'LowercaseColorLevelEncoder'
stacktrace_key: 'stacktrace'
log_in_console: true
log_in_console: true
email:
email_from: 'xxx@163.com'
email_nick_name: 'test'
email_secret: 'xxx'
email_to: 'xxx@qq.com'
email_host: 'smtp.163.com'
email_port: 465
email_isSSL: true