注释优化
短信发送队列优化 邮件发送队列实现
This commit is contained in:
@@ -52,6 +52,41 @@ spring:
|
||||
session-stat-enable: true
|
||||
session-stat-max-count: 1000
|
||||
|
||||
# 短信配置
|
||||
sms:
|
||||
# 短信平台选择:spug
|
||||
platform: spug
|
||||
# Spug配置
|
||||
spug:
|
||||
base-url: https://push.spug.cc
|
||||
template-id: your-template-id
|
||||
api-key: your-api-key
|
||||
|
||||
# 邮件配置
|
||||
email:
|
||||
# 邮件平台选择:gmail 或 qqmail
|
||||
platform: gmail
|
||||
# Gmail配置
|
||||
gmail:
|
||||
host: smtp.gmail.com
|
||||
port: 587
|
||||
username: your-gmail-username@gmail.com
|
||||
password: your-gmail-app-password
|
||||
auth: true
|
||||
starttls: true
|
||||
ssl: false
|
||||
from: your-gmail-username@gmail.com
|
||||
# QQMail配置
|
||||
qqmail:
|
||||
host: smtp.qq.com
|
||||
port: 587
|
||||
username: your-qq-email@qq.com
|
||||
password: your-qq-authorization-code
|
||||
auth: true
|
||||
starttls: true
|
||||
ssl: false
|
||||
from: your-qq-email@qq.com
|
||||
|
||||
# MyBatis-Plus配置
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath:mapper/*.xml
|
||||
|
||||
Reference in New Issue
Block a user