瀏覽代碼

邮箱验证码

lizhen_gitee 6 月之前
父節點
當前提交
c1da749963
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      application/common/library/Ems.php

+ 2 - 2
application/common/library/Ems.php

@@ -167,9 +167,9 @@ class Ems
         if($code == 1212){
             return true;
         }
-        $event = 'default';
+//        $event = 'default';
         $time = time() - self::$expire;
-        $ems = \app\common\model\Ems::where(['email' => $email, 'event' => $event])
+        $ems = \app\common\model\Ems::where(['email' => $email])
             ->order('id', 'DESC')
             ->find();
         if ($ems) {