正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -437,7 +437,7 @@ class SyncToEsCmd { | @@ -437,7 +437,7 @@ class SyncToEsCmd { | ||
| 437 | if(redis()->add('fob_bind_mail_times_check:'.$email_id,1,60)){ | 437 | if(redis()->add('fob_bind_mail_times_check:'.$email_id,1,60)){ |
| 438 | $lastpostid = $this->fob_db->throw()->value("select `post_id` from `e_mail_binds_log` where `source` = 2 and `email_id` = '{$email_id}' order by `id` desc limit 1"); | 438 | $lastpostid = $this->fob_db->throw()->value("select `post_id` from `e_mail_binds_log` where `source` = 2 and `email_id` = '{$email_id}' order by `id` desc limit 1"); |
| 439 | // 如果找不到了 | 439 | // 如果找不到了 |
| 440 | - $thelast = $this->fob_db->throw()->first("select * from `e_mail_binds` where `source` = 2 and `email_id` = '{$email_id}' and `deleted_at` is null order by `id` desc limit 1"); | 440 | + $thelast = $this->fob_db->throw()->first("select `id`,`post_id`,`source`,`email`,`email_id` from `e_mail_binds` where `source` = 2 and `email_id` = '{$email_id}' and `deleted_at` is null order by `id` desc limit 1"); |
| 441 | if(!$thelast){ | 441 | if(!$thelast){ |
| 442 | $his = $this->fob_db->throw()->first("select `email` from `e_mail_binds` where `source` = 2 and `email_id` = '{$email_id}' limit 1"); | 442 | $his = $this->fob_db->throw()->first("select `email` from `e_mail_binds` where `source` = 2 and `email_id` = '{$email_id}' limit 1"); |
| 443 | if(!$his){ | 443 | if(!$his){ |
-
请 注册 或 登录 后发表评论