作者 邓超

to es

... ... @@ -172,9 +172,9 @@ class SyncToEsCmd {
public function getPostid($email_id,$udate){
// 查询历史记录
$times = redis()->getSet('fob_bind_mail_times:'.$email_id,300,function ($email_id){
$times = redis()->getSet('fob_bind_mail_times2:'.$email_id,300,function ($email_id){
$times = $this->fob_db->throw()->first("select `post_id`,`bind_time`,`source` from `e_mail_binds_log` where `email_id` = {$email_id} order by `bind_time` desc ");
$times = $this->fob_db->throw()->all("select `post_id`,`bind_time`,`source` from `e_mail_binds_log` where `email_id` = {$email_id} order by `bind_time` desc ");
if(!$times){
return [];
}
... ...