作者 邓超

x

@@ -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');