作者 邓超

x

@@ -999,7 +999,12 @@ class Home extends Base { @@ -999,7 +999,12 @@ class Home extends Base {
999 // 循环几次 999 // 循环几次
1000 if($data['uid']&&$sync_num < 1){ 1000 if($data['uid']&&$sync_num < 1){
1001 $folder = db()->value(folderSql::first(['id'=>$data['folder_id']],'origin_folder')); 1001 $folder = db()->value(folderSql::first(['id'=>$data['folder_id']],'origin_folder'));
1002 - (new SyncMail($data['email_id']))->mail($folder,[$data['uid']],true); 1002 + try{
  1003 + (new SyncMail($data['email_id']))->mail($folder,[$data['uid']],true);
  1004 + }catch (\Throwable $e){
  1005 + app()->e('邮箱登录验证异常');
  1006 + }
  1007 +
1003 $sync_num++; 1008 $sync_num++;
1004 $reload = 0; 1009 $reload = 0;
1005 goto HOME_INFO_BODY; 1010 goto HOME_INFO_BODY;