...
|
...
|
@@ -111,11 +111,14 @@ function sync($email_id){ |
|
|
try {
|
|
|
$result = $mailServer->client->fetch($uid,'UID',true);
|
|
|
}catch (Throwable $e){
|
|
|
_echo($e->getMessage());
|
|
|
continue;
|
|
|
}
|
|
|
if(!$result){
|
|
|
_echo('删除 e '.$email_id.' f '.$folder_id.' u '.$uid.' id '.$id.' d '.$db->delete(\Model\listsSql::$table,['id'=>$id]).' fd '.$db->delete('fob_hot_mail',['lists_id'=>$id]).' body '.$db->delete(\Model\bodySql::$table,['lists_id'=>$id]));
|
|
|
// 删除 如果远程没有,就删除本地
|
|
|
}else{
|
|
|
_echo(json_encode($result));
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
|