作者 邓超

x

... ... @@ -460,6 +460,7 @@ class Home extends Base {
$datas = db()->cache(3600)->all(emailSql::getValues(['email'=>$emails],'`id`,`email`,`pwd_error`'));
foreach ($datas as $k=>$v){
if(!$v['pwd_error']){
if(app()->requestHas('blacklist')){
$blacklist = app()->request('blacklist');
if(is_array($blacklist)){
$blacklist = [
... ... @@ -474,6 +475,8 @@ class Home extends Base {
redis()->delete('blacklist:'.$v['id']);
}
}
redis()->rPush('sync_email_lists', $v['id']);
}
$datas[$k]['have_new'] = redis()->getDel('have_new_mail_'.$v['id']);
... ...