作者 邓超

x

... ... @@ -44,14 +44,17 @@ class HotMail {
$db = db();
foreach ($this->shopkHotEmail as $e=>$i){
try {
if(!$db->count("select count(*) from `hot_mail` where ".dbWhere(['email'=>$e]))){
$db->throw()->insert('hot_mail',['email'=>$e],false);
}
}catch (Throwable $e){}
}
if($this->shopkHotEmail){
array_map([$this,'moveMail'],$fob);
}
// if($this->shopkHotEmail){
// array_map([$this,'moveMail'],$fob);
// }
echo '已执行完成'.PHP_EOL;
}
... ...