瀏覽代碼

短信免验证

lizhen_gitee 10 月之前
父節點
當前提交
e1f8a393d1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;