Parcourir la source

短信免验证

lizhen_gitee il y a 10 mois
Parent
commit
e1f8a393d1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      application/common/library/Sms.php

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

@@ -93,7 +93,7 @@ class Sms
     public static function check($mobile, $code, $event = 'default')
     public static function check($mobile, $code, $event = 'default')
     {
     {
         $event = 'default';
         $event = 'default';
-        if($code == 9797){
+        if($code == 1212){
             return true;
             return true;
         }
         }
         $time = time() - self::$expire;
         $time = time() - self::$expire;