...
|
...
|
@@ -459,16 +459,16 @@ class Home extends Base { |
|
|
*/
|
|
|
public function move(){
|
|
|
$this->moveCopy(function (Mail $mailInstance,$uid,$origin_folder,$to_origin_folder){
|
|
|
try {
|
|
|
return $mailInstance->move($uid,$origin_folder,$to_origin_folder);
|
|
|
}catch (\Throwable $e){
|
|
|
// try {
|
|
|
// return $mailInstance->move($uid,$origin_folder,$to_origin_folder);
|
|
|
// }catch (\Throwable $e){
|
|
|
// if(app()->request('move_err_copy',1)){
|
|
|
// 复制成功
|
|
|
if($mailInstance->copy($uid,$origin_folder,$to_origin_folder)){
|
|
|
return $mailInstance->deleted($uid,$origin_folder);
|
|
|
}
|
|
|
// }
|
|
|
}
|
|
|
// }
|
|
|
return false;
|
|
|
|
|
|
});
|
...
|
...
|
|