作者 邓超

1

@@ -120,6 +120,7 @@ class listsSql { @@ -120,6 +120,7 @@ class listsSql {
120 'folder_id' => db()->value(folderSql::first(['folder'=>'草稿箱','email_id'=>$email['id']],'`id`')), 120 'folder_id' => db()->value(folderSql::first(['folder'=>'草稿箱','email_id'=>$email['id']],'`id`')),
121 'email_id' => $email['id'], 121 'email_id' => $email['id'],
122 'is_file' => $data['attachment'] ? 1 : 0, //是否附件 122 'is_file' => $data['attachment'] ? 1 : 0, //是否附件
  123 + 'description' => mb_substr(strip_tags($data['body']),0,150), //是否附件
123 ]; 124 ];
124 $draftData['to'] = $data['tos'][0]['email']; 125 $draftData['to'] = $data['tos'][0]['email'];
125 $draftData['to_name'] = $data['tos']; 126 $draftData['to_name'] = $data['tos'];