Sfoglia il codice sorgente

1212短信验证码

lizhen_gitee 10 mesi fa
parent
commit
796ed133d0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      application/common/library/Sms.php

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

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