Browse Source

短信免验证

lizhen_gitee 11 months ago
parent
commit
e1f8a393d1
1 changed files with 1 additions and 1 deletions
  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')
     {
         $event = 'default';
-        if($code == 9797){
+        if($code == 1212){
             return true;
         }
         $time = time() - self::$expire;