作者 邓超

1

@@ -244,7 +244,7 @@ class Mail { @@ -244,7 +244,7 @@ class Mail {
244 'folder_id' => $folder_id, 244 'folder_id' => $folder_id,
245 'email_id' => $email_id, 245 'email_id' => $email_id,
246 'uuid' => md5($email_id.$folder_id.$result['UID']), 246 'uuid' => md5($email_id.$folder_id.$result['UID']),
247 - 'is_file' => MailFun::isFile($result['BODYSTRUCTURE']??'') //是否附件 247 + 'is_file' => MailFun::isFile($result['BODYSTRUCTURE']??'') ? 1: 0 //是否附件
248 ]; 248 ];
249 $data['date'] = $data['date'] ? : 0; 249 $data['date'] = $data['date'] ? : 0;
250 }catch (\Throwable $e){ 250 }catch (\Throwable $e){