添加发送邮件相关功能
This commit is contained in:
@ -76,7 +76,7 @@ spring:
|
||||
redis:
|
||||
sentinel:
|
||||
master: mymaster
|
||||
# nodes: 10.125.164.124:32718, 10.125.164.118:32716, 10.125.164.121:32716
|
||||
# nodes: 10.60.161.59:26379, 10.60.161.59:26380, 10.60.161.59:26381
|
||||
nodes: localhost:26379, localhost:26380, localhost:26381
|
||||
password: pass
|
||||
database:
|
||||
@ -85,6 +85,30 @@ spring:
|
||||
cache: 1
|
||||
userinfo: 1
|
||||
|
||||
# 邮件配置
|
||||
mail:
|
||||
# host: smtp.126.com
|
||||
# username: clc0820@126.com
|
||||
# password: WGZnauWK9RXHYQcJ
|
||||
host: mailtest.coscoshipping.com
|
||||
username: bidding.test@coscoshipping.com
|
||||
password: WBksH6GjtBBV7q6e
|
||||
port: 465
|
||||
default-encoding: UTF-8
|
||||
properties:
|
||||
mail:
|
||||
smtp:
|
||||
auth: true
|
||||
starttls:
|
||||
enable: true
|
||||
# required: true
|
||||
ssl:
|
||||
enable: true
|
||||
trust: mailtest.coscoshipping.com
|
||||
# checkServerIdentity: false
|
||||
socketFactory:
|
||||
class: javax.net.ssl.SSLSocketFactory
|
||||
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
# 是否开启自动驼峰命名规则映射:从数据库列名到Java属性驼峰命名的类似映射
|
||||
|
Reference in New Issue
Block a user