Browse Source

短信免验证

lizhen_gitee 11 tháng trước cách đây
mục cha
commit
e1f8a393d1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;