作者 邓超

x

@@ -229,6 +229,7 @@ class Home extends Base { @@ -229,6 +229,7 @@ class Home extends Base {
229 229
230 $lists = db()->all(emailSql::getValues(['email'=>web_request_emails()],'`id`,`pwd_error`,`email`,`password`,`imap`')); 230 $lists = db()->all(emailSql::getValues(['email'=>web_request_emails()],'`id`,`pwd_error`,`email`,`password`,`imap`'));
231 foreach ($lists as $k=>$list){ 231 foreach ($lists as $k=>$list){
  232 + if(!$list['pwd_error']){
232 $mail = new \Lib\Mail\Mail($list['email'],base64_decode($list['password']),$list['imap']); 233 $mail = new \Lib\Mail\Mail($list['email'],base64_decode($list['password']),$list['imap']);
233 234
234 // 2次登录请求 235 // 2次登录请求
@@ -240,6 +241,8 @@ class Home extends Base { @@ -240,6 +241,8 @@ class Home extends Base {
240 $mail = null; 241 $mail = null;
241 } 242 }
242 243
  244 + }
  245 +
243 return array_column($lists,'pwd_error','email'); 246 return array_column($lists,'pwd_error','email');
244 247
245 } 248 }