修复bug

This commit is contained in:
hoteas
2021-10-21 22:52:40 +08:00
parent e5dfe9aa8d
commit 3efd5bd0a0
17 changed files with 40 additions and 2482 deletions
-4
View File
@@ -26,10 +26,6 @@ var Sms = Ctr{
this.Session("phone", phone)
this.Session("code", code)
//tencentSendYzm(phone, code)
if ddsms.DefaultDDY.ApiKey == "" {
ddsms.DefaultDDY.Init(this.Config.GetString("smsKey"))
}
ddsms.DefaultDDY.SendYZM(phone, this.Config.GetString("smsLogin"), map[string]string{"code": code})
this.Display(0, "发送成功")