瀏覽代碼

Revert "233-登录验证码获取限制-验证码限制"

This reverts commit 875fd48eba819c90feeb6d8486da3b3f6ce717ca.
gmy 1 月之前
父節點
當前提交
8d1d2b51cb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      services/sms.go

+ 2 - 2
services/sms.go

@@ -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("发送短信失败")