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 verificationCodeTemplateCode: SMS_2268101641
superCode: 666666 superCode: 666666
# second # second
superCodeTTL: 60 codeTTL: 60
mail: mail:
title: "openIM" title: "openIM"
senderMail: "1765567899@qq.com" senderMail: "1765567899@qq.com"

View File

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