作者 邓超

x

... ... @@ -69,9 +69,9 @@ class HotMail {
// 黑名单
if(!empty($this->back)&&is_array($this->back)){
foreach ($this->back as $item){
if(!$this->db->count("select count(*) from `ai_black_email` where ".dbWhere(['email'=>$e]))){
echo '插入数据 '.$e."\n";
$this->db->insert('ai_black_email',['email'=>$e],false);
if(!$this->db->count("select count(*) from `ai_black_email` where ".dbWhere(['email'=>$item]))){
echo '插入数据 '.$item."\n";
$this->db->insert('ai_black_email',['email'=>$item],false);
}
}
}
... ...