正在显示
1 个修改的文件
包含
6 行增加
和
2 行删除
| @@ -30,9 +30,12 @@ class HotMail { | @@ -30,9 +30,12 @@ class HotMail { | ||
| 30 | private function start(){ | 30 | private function start(){ |
| 31 | _echo('启动预热邮件处理 '.getmypid()); | 31 | _echo('启动预热邮件处理 '.getmypid()); |
| 32 | 32 | ||
| 33 | - $this->shopkHotEmail = $this->getHotEmail(); | 33 | + $fob = $this->getFobHotEmail(); |
| 34 | + | ||
| 35 | + // 把黑格自己的也算进去 | ||
| 36 | + $this->shopkHotEmail = array_merge($this->getHotEmail(),$fob); | ||
| 34 | if($this->shopkHotEmail){ | 37 | if($this->shopkHotEmail){ |
| 35 | - array_map([$this,'moveMail'],$this->getFobHotEmail()); | 38 | + array_map([$this,'moveMail'],$fob); |
| 36 | } | 39 | } |
| 37 | 40 | ||
| 38 | } | 41 | } |
| @@ -183,6 +186,7 @@ class HotMail { | @@ -183,6 +186,7 @@ class HotMail { | ||
| 183 | } | 186 | } |
| 184 | } | 187 | } |
| 185 | logs('fob 获取预热邮箱错误:'.print_r($data,1),'get_hot_fob_email.error.log')->write(); | 188 | logs('fob 获取预热邮箱错误:'.print_r($data,1),'get_hot_fob_email.error.log')->write(); |
| 189 | + return []; | ||
| 186 | } | 190 | } |
| 187 | 191 | ||
| 188 | 192 |
-
请 注册 或 登录 后发表评论