This commit is contained in:
wangchuxiao
2022-06-30 19:11:44 +08:00
parent 53b0d13342
commit 7823306045
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ func SendVerificationCode(c *gin.Context) {
// TemplateCode: tea.String(config.Config.Demo.AliSMSVerify.VerificationCodeTemplateCode),
// TemplateParam: tea.String(fmt.Sprintf("{\"code\":\"%d\"}", code)),
//}
response, err := sms.SendSms(code, accountKey)
response, err := sms.SendSms(code, params.AreaCode+params.PhoneNumber)
//response, err := client.SendSms(sendSmsRequest)
if err != nil {
log.NewError(params.OperationID, "sendSms error", account, "err", err.Error(), response)