正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -172,9 +172,9 @@ class SyncToEsCmd { | @@ -172,9 +172,9 @@ class SyncToEsCmd { | ||
172 | public function getPostid($email_id,$udate){ | 172 | public function getPostid($email_id,$udate){ |
173 | 173 | ||
174 | // 查询历史记录 | 174 | // 查询历史记录 |
175 | - $times = redis()->getSet('fob_bind_mail_times:'.$email_id,300,function ($email_id){ | 175 | + $times = redis()->getSet('fob_bind_mail_times2:'.$email_id,300,function ($email_id){ |
176 | 176 | ||
177 | - $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 "); | 177 | + $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 "); |
178 | if(!$times){ | 178 | if(!$times){ |
179 | return []; | 179 | return []; |
180 | } | 180 | } |
-
请 注册 或 登录 后发表评论