...
|
...
|
@@ -197,7 +197,9 @@ class Mail { |
|
|
if(!$status['EXISTS']){
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
if($email_id==11){
|
|
|
logs('同步中....');
|
|
|
}
|
|
|
//
|
|
|
$nu = 100;
|
|
|
$msgno = 1;
|
...
|
...
|
@@ -218,15 +220,18 @@ class Mail { |
|
|
break;
|
|
|
}
|
|
|
|
|
|
if($email_id==11){
|
|
|
logs('同步中');
|
|
|
}
|
|
|
|
|
|
$uids = array_column($uids,'UID');
|
|
|
$existsUids = $db->all(listsSql::getUids($email_id,$folder_id,$uids));
|
|
|
if(!$existsUids){
|
|
|
$existsUids = [];
|
|
|
}else{
|
|
|
if($existsUids){
|
|
|
$existsUids = array_column($existsUids,'uid');
|
|
|
}
|
|
|
// 获取不存在数据库的uid
|
|
|
$uids = array_diff($uids,$existsUids);
|
|
|
}
|
|
|
|
|
|
|
|
|
$msgno += $nu;
|
|
|
|
...
|
...
|
|