正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -457,7 +457,7 @@ class Home extends Base { | @@ -457,7 +457,7 @@ class Home extends Base { | ||
457 | if(count($emails)===1){ | 457 | if(count($emails)===1){ |
458 | $emails = $emails[0]; | 458 | $emails = $emails[0]; |
459 | } | 459 | } |
460 | - $datas = db()->all(emailSql::getValues(['email'=>$emails],'`id`,`email`,`pwd_error`')); | 460 | + $datas = db()->cache(3600)->all(emailSql::getValues(['email'=>$emails],'`id`,`email`,`pwd_error`')); |
461 | foreach ($datas as $k=>$v){ | 461 | foreach ($datas as $k=>$v){ |
462 | if(!$v['pwd_error']){ | 462 | if(!$v['pwd_error']){ |
463 | $blacklist = app()->request('blacklist'); | 463 | $blacklist = app()->request('blacklist'); |
-
请 注册 或 登录 后发表评论