作者 邓超

优化

@@ -41,7 +41,7 @@ $pm->addBatch(3,function (\Swoole\Process\Pool $pool, int $worker_id){ @@ -41,7 +41,7 @@ $pm->addBatch(3,function (\Swoole\Process\Pool $pool, int $worker_id){
41 41
42 try{ 42 try{
43 // 开始同步 43 // 开始同步
44 - (new \Service\SyncMail($id))->isUidAfter(2)->sync(); 44 + (new \Service\SyncMail($id))->setIsBody(false)->isUidAfter(2)->sync();
45 }catch (Throwable $e){ 45 }catch (Throwable $e){
46 _echo($e->getMessage()); 46 _echo($e->getMessage());
47 } 47 }