|
@@ -30,7 +30,7 @@ func SendSmsCode(mobile, vcode string) bool {
|
|
|
fmt.Printf("接口返回result字段是:\r\n%v", netReturn["result"])
|
|
|
flag = true
|
|
|
} else {
|
|
|
- go utils.SendAlarmMsg("短信验证码发送失败err:"+err.Error()+" result"+string(result)+"mobile:"+mobile, 1)
|
|
|
+ go utils.SendAlarmMsg("短信验证码发送失败 result"+string(result)+"mobile:"+mobile, 1)
|
|
|
//go utils.SendEmail("短信验证码发送失败", " result"+string(result), utils.EmailSendToUsers)
|
|
|
flag = false
|
|
|
}
|
|
@@ -83,7 +83,7 @@ func SendSmsCodeGj(mobile, vcode, areaNum string) bool {
|
|
|
fmt.Printf("接口返回result字段是:\r\n%v", netReturn["result"])
|
|
|
flag = true
|
|
|
} else {
|
|
|
- go utils.SendAlarmMsg("国际短信验证码发送失败err:"+err.Error()+" result"+string(result)+"mobile:"+mobile, 1)
|
|
|
+ go utils.SendAlarmMsg("国际短信验证码发送失败 result"+string(result)+"mobile:"+mobile, 1)
|
|
|
//go utils.SendEmail("短信验证码发送失败", " result"+string(result), utils.EmailSendToUsers)
|
|
|
flag = false
|
|
|
}
|