作者 邓超

x

@@ -460,6 +460,7 @@ class Home extends Base { @@ -460,6 +460,7 @@ class Home extends Base {
460 $datas = db()->cache(3600)->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 + if(app()->requestHas('blacklist')){
463 $blacklist = app()->request('blacklist'); 464 $blacklist = app()->request('blacklist');
464 if(is_array($blacklist)){ 465 if(is_array($blacklist)){
465 $blacklist = [ 466 $blacklist = [
@@ -474,6 +475,8 @@ class Home extends Base { @@ -474,6 +475,8 @@ class Home extends Base {
474 redis()->delete('blacklist:'.$v['id']); 475 redis()->delete('blacklist:'.$v['id']);
475 } 476 }
476 477
  478 + }
  479 +
477 redis()->rPush('sync_email_lists', $v['id']); 480 redis()->rPush('sync_email_lists', $v['id']);
478 } 481 }
479 $datas[$k]['have_new'] = redis()->getDel('have_new_mail_'.$v['id']); 482 $datas[$k]['have_new'] = redis()->getDel('have_new_mail_'.$v['id']);