作者 邓超

x

@@ -56,6 +56,7 @@ class HotMail { @@ -56,6 +56,7 @@ class HotMail {
56 foreach ($this->shopkHotEmail as $e=>$i){ 56 foreach ($this->shopkHotEmail as $e=>$i){
57 try { 57 try {
58 if(!$this->db->count("select count(*) from `hot_mail` where ".dbWhere(['email'=>$e]))){ 58 if(!$this->db->count("select count(*) from `hot_mail` where ".dbWhere(['email'=>$e]))){
  59 + echo '插入数据 '.$e."\n";
59 $this->db->throw()->insert('hot_mail',['email'=>$e],false); 60 $this->db->throw()->insert('hot_mail',['email'=>$e],false);
60 } 61 }
61 62