...
|
...
|
@@ -161,9 +161,16 @@ class Home extends Base { |
|
|
}
|
|
|
}
|
|
|
if($uids){
|
|
|
$us = [];
|
|
|
foreach ($uids as $k=>$uid){
|
|
|
if(!isset($us[intval($k/100)])) $us[intval($k/100)] = [];
|
|
|
$us[intval($k/100)][] = $uid;
|
|
|
}
|
|
|
|
|
|
foreach ($us as $u){
|
|
|
// 进行同步
|
|
|
$mail->syncUidEmail(
|
|
|
array_slice($uids,0,100),
|
|
|
array_values($u),
|
|
|
$email['id'],
|
|
|
$folder['origin_folder'],
|
|
|
$folder['id'],
|
...
|
...
|
@@ -176,6 +183,8 @@ class Home extends Base { |
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|