正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
| @@ -312,7 +312,11 @@ class Home extends Base { | @@ -312,7 +312,11 @@ class Home extends Base { | ||
| 312 | */ | 312 | */ | 
| 313 | public function check(){ | 313 | public function check(){ | 
| 314 | 314 | ||
| 315 | + | ||
| 316 | + | ||
| 315 | $lists = db()->all(emailSql::getValues(['email'=>web_request_emails()],'`id`,`pwd_error`,`email`,`password`,`imap`')); | 317 | $lists = db()->all(emailSql::getValues(['email'=>web_request_emails()],'`id`,`pwd_error`,`email`,`password`,`imap`')); | 
| 318 | + return array_column($lists,'pwd_error','email'); | ||
| 319 | + | ||
| 316 | foreach ($lists as $k=>$list){ | 320 | foreach ($lists as $k=>$list){ | 
| 317 | if(!$list['pwd_error']){ | 321 | if(!$list['pwd_error']){ | 
| 318 | $mail = new \Lib\Mail\Mail($list['email'],base64_decode($list['password']),$list['imap']); | 322 | $mail = new \Lib\Mail\Mail($list['email'],base64_decode($list['password']),$list['imap']); | 
- 
请 注册 或 登录 后发表评论