|
@@ -36,12 +36,23 @@ spring:
|
|
|
multipart:
|
|
|
maxFileSize: "100MB"
|
|
|
maxRequestSize: "1000MB"
|
|
|
+ mail:
|
|
|
+ host: smtp.exmail.qq.com #发送邮件服务器
|
|
|
+ username: chenyh@tuzhiall.com #发送邮件的邮箱地址
|
|
|
+ password: Chenyuehu521 #客户端授权码,不是邮箱密码,这个在qq邮箱设置里面自动生成的
|
|
|
+ properties.mail.smtp.port: 465 #端口号465或587
|
|
|
+ from: chenyh@tuzhiall.com # 发送邮件的地址,和上面username一致
|
|
|
+ properties.mail.smtp.starttls.enable: true
|
|
|
+ properties.mail.smtp.starttls.required: true
|
|
|
+ properties.mail.smtp.ssl.enable: true
|
|
|
+ default-encoding: utf-8
|
|
|
# 直接放行URL
|
|
|
ignore:
|
|
|
urls:
|
|
|
- /upms/logs/**
|
|
|
- /operate/**
|
|
|
- /users/**
|
|
|
+ - /users/work/**
|
|
|
- /druid/**
|
|
|
- /app-versions/**
|
|
|
- /verify/**
|