feat: 模版方法模式实现消息发送器

This commit is contained in:
xiongxiaoyang
2023-03-25 12:54:15 +08:00
parent 46d03883ed
commit c866702e48
10 changed files with 345 additions and 0 deletions

View File

@ -189,6 +189,32 @@ springdoc:
api-docs:
enabled: false
--- #----------------------邮箱配置-----------------------------
#邮箱服务器
spring:
mail:
host: smtp.163.com
#发件人昵称
nickname: xxyopen
#邮箱账户
username: xxx@163.com
#邮箱第三方授权码
password: xxx
#编码类型
default-encoding: UTF-8
port: 465
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: rue
socketFactory:
port: 465
class: javax.net.ssl.SSLSocketFactory
fallback: false
--- #---------------------自定义配置----------------------------
novel:
# 跨域配置