lizhen_gitee 1 rok temu
rodzic
commit
9c4e8d43e1
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      application/common/library/Sms.php

+ 2 - 2
application/common/library/Sms.php

@@ -60,7 +60,7 @@ class Sms
 
         //奇讯云短信
         $result = self::qixunyun_sms($mobile,$code,$countrycode);
-
+        //dump($result);
         if ($result !== true) {
             $sms->delete();
             return false;
@@ -85,7 +85,7 @@ class Sms
             'name' => $name,
             'seed' => $seed,
             'key' => strtolower(md5(strtolower(md5($password)).$seed)),
-            'dest' => $countrycode.$mobile,
+            'dest' => '00'.$countrycode.$mobile,
             'content' => $content,
         ];