...
|
...
|
@@ -70,6 +70,7 @@ class Mail { |
|
|
'origin_folder' => $item,
|
|
|
'pid' => $pid
|
|
|
]
|
|
|
,false
|
|
|
);
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -103,7 +104,8 @@ class Mail { |
|
|
$db->update(
|
|
|
folderSql::$table,
|
|
|
['exsts'=>$status['EXISTS'],'unseen'=>$status['UNSEEN']??0],
|
|
|
dbWhere(['id'=>$folder_id])
|
|
|
dbWhere(['id'=>$folder_id]),
|
|
|
false
|
|
|
);
|
|
|
|
|
|
|
...
|
...
|
@@ -206,6 +208,13 @@ class Mail { |
|
|
}
|
|
|
$db->commit();
|
|
|
|
|
|
// 更新数量
|
|
|
$db->update(
|
|
|
folderSql::$table,
|
|
|
['last_sync_time' => time()],
|
|
|
dbWhere(['id'=>$folder_id]),
|
|
|
false
|
|
|
);
|
|
|
// 结束操作了
|
|
|
}
|
|
|
|
...
|
...
|
|