修复config的错误,调整记录日志中间件的获取用户id逻辑,优先从jwt里取,新增状态码不为200时发送邮件到指定邮箱功能

This commit is contained in:
SliverHorn
2020-09-22 18:45:24 +08:00
parent f8e1832172
commit 099ff42404
4 changed files with 35 additions and 4 deletions
+2 -1
View File
@@ -77,6 +77,7 @@ system:
addr: 8888
db-type: "mysql" # support mysql/postgresql/sqlite/sqlserver
need-init-data: false
error-to-email: true
# captcha configuration
captcha:
@@ -106,4 +107,4 @@ email:
email-to: 'xxx@qq.com'
email-host: 'smtp.163.com'
email-port: 465
email-isSSL: true
email-is-ssl: true