|
@@ -15,7 +15,7 @@ const SmsExpireMinute = 15
|
|
|
|
|
|
// SendSmsCode 发送国内短信
|
|
|
func SendSmsCode(mobile, vCode string) bool {
|
|
|
- flag := true
|
|
|
+ flag := false
|
|
|
//tplId := "65692"
|
|
|
tplId := "254663"
|
|
|
result, err := sendSms(mobile, tplId, vCode)
|
|
@@ -75,7 +75,7 @@ func sendSms(mobile, tplId, code string) (rs []byte, err error) {
|
|
|
|
|
|
// SendSmsCodeGj 发送国际短信
|
|
|
func SendSmsCodeGj(mobile, vCode, areaNum string) bool {
|
|
|
- flag := true
|
|
|
+ flag := false
|
|
|
result, err := sendSmsGj(mobile, vCode, areaNum)
|
|
|
if err != nil {
|
|
|
fmt.Println("发送短信失败")
|