正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
| @@ -59,6 +59,11 @@ class SyncToEsCmd { | @@ -59,6 +59,11 @@ class SyncToEsCmd { | ||
| 59 | * @time 2025/6/6 11:07 | 59 | * @time 2025/6/6 11:07 | 
| 60 | */ | 60 | */ | 
| 61 | public function isAuto($data){ | 61 | public function isAuto($data){ | 
| 62 | + // 没有发件人的直接标记 | ||
| 63 | + if(!$data['from']){ | ||
| 64 | + return 1; | ||
| 65 | + } | ||
| 66 | + | ||
| 62 | $is_auto = $this->db->count('select count(*) from `lists_auto` where `list_id` = '.$data['id']) ? 1 : 0; | 67 | $is_auto = $this->db->count('select count(*) from `lists_auto` where `list_id` = '.$data['id']) ? 1 : 0; | 
| 63 | 68 | ||
| 64 | if($is_auto) return 1; | 69 | if($is_auto) return 1; | 
- 
请 注册 或 登录 后发表评论