作者 邓超

xxx

@@ -459,16 +459,16 @@ class Home extends Base { @@ -459,16 +459,16 @@ class Home extends Base {
459 */ 459 */
460 public function move(){ 460 public function move(){
461 $this->moveCopy(function (Mail $mailInstance,$uid,$origin_folder,$to_origin_folder){ 461 $this->moveCopy(function (Mail $mailInstance,$uid,$origin_folder,$to_origin_folder){
462 - try {  
463 - return $mailInstance->move($uid,$origin_folder,$to_origin_folder);  
464 - }catch (\Throwable $e){ 462 +// try {
  463 +// return $mailInstance->move($uid,$origin_folder,$to_origin_folder);
  464 +// }catch (\Throwable $e){
465 // if(app()->request('move_err_copy',1)){ 465 // if(app()->request('move_err_copy',1)){
466 // 复制成功 466 // 复制成功
467 if($mailInstance->copy($uid,$origin_folder,$to_origin_folder)){ 467 if($mailInstance->copy($uid,$origin_folder,$to_origin_folder)){
468 return $mailInstance->deleted($uid,$origin_folder); 468 return $mailInstance->deleted($uid,$origin_folder);
469 } 469 }
470 // } 470 // }
471 - } 471 +// }
472 return false; 472 return false;
473 473
474 }); 474 });