| 
...
 | 
...
 | 
@@ -382,9 +382,9 @@ class SyncMail { | 
| 
 | 
 | 
         if($folder->getName() == 'INBOX'){
 | 
| 
 | 
 | 
             $this->folder_inbox_id =     $folder_id;
 | 
| 
 | 
 | 
         }
 | 
| 
 | 
 | 
         // if(in_array($folder->getName(),['INBOX','[Gmail]/Important','[Gmail]/Starred','星标邮件','Important'])){
 | 
| 
 | 
 | 
         //     $isBody = true;
 | 
| 
 | 
 | 
         // }
 | 
| 
 | 
 | 
          if(in_array($folder->getName(),['INBOX'])){
 | 
| 
 | 
 | 
              $isBody = true;
 | 
| 
 | 
 | 
          }
 | 
| 
 | 
 | 
         // 选择成功
 | 
| 
 | 
 | 
         if($folder->isOk()){
 | 
| 
 | 
 | 
             $msg = $folder->msg();
 | 
| 
...
 | 
...
 | 
@@ -534,7 +534,8 @@ class SyncMail { | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
                 Event::call('mail_sync_list',$id, $data);
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
             }else{
 | 
| 
 | 
 | 
             }
 | 
| 
 | 
 | 
             else{
 | 
| 
 | 
 | 
                 // 非ai邮件才更新
 | 
| 
 | 
 | 
                 if(!defined('CLI_AI_SYNC_START')){
 | 
| 
 | 
 | 
                     $this->eLog(
 | 
| 
...
 | 
...
 | 
@@ -554,8 +555,9 @@ class SyncMail { | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
             }
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
             // 预热邮件在第一时间不拉取
 | 
| 
 | 
 | 
             if($isBody && php_sapi_name()=='cli'){
 | 
| 
 | 
 | 
                 if(!empty($data['Aicc-Hot-Mail'])){
 | 
| 
 | 
 | 
                 if(!empty($data['is_hots'])){
 | 
| 
 | 
 | 
                     // 更新的就不需要操作body了
 | 
| 
 | 
 | 
                     continue;
 | 
| 
 | 
 | 
                 }
 | 
...
 | 
...
 | 
 |