demo modify

This commit is contained in:
Gordon 2022-02-11 17:51:36 +08:00
parent fd59cc6226
commit 563d466374
2 changed files with 4 additions and 4 deletions

View File

@ -434,7 +434,7 @@ demo:
verificationCodeTemplateCode: SMS_2268101641
superCode: 666666
# second
superCodeTTL: 60
codeTTL: 60
mail:
title: "openIM"
senderMail: "1765567899@qq.com"

View File

@ -284,9 +284,9 @@ type config struct {
SignName string `yaml:"signName"`
VerificationCodeTemplateCode string `yaml:"verificationCodeTemplateCode"`
}
SuperCode string `yaml:"superCode"`
SuperCodeTTL int `yaml:"superCodeTTL"`
Mail struct {
SuperCode string `yaml:"superCode"`
CodeTTL int `yaml:"codeTTL"`
Mail struct {
Title string `yaml:"title"`
SenderMail string `yaml:"senderMail"`
SenderAuthorizationCode string `yaml:"senderAuthorizationCode"`