pull/241/head
Gordon 2 years ago
parent 10132879f2
commit 013828eb03

@ -694,7 +694,7 @@ demo:
accessKeySecret: 4n9OJ7ZCVN1U6KeHDAtOyNeVZcjOuV
signName: 托云信息技术
verificationCodeTemplateCode: SMS_226810164
enable: true
enable: false
tencentsms: #腾讯云短信配置在腾讯云申请成功后修改以下选项enable为true则必须修改
appID: 2400000648
region: "ap-singapore"

@ -18,7 +18,7 @@ var sms SMS
func init() {
var err error
if config.Config.Demo.TencentSMS.Enable {
if config.Config.Demo.AliSMSVerify.Enable {
sms, err = NewAliSMS()
if err != nil {
panic(err)

Loading…
Cancel
Save