diff --git a/application/module/Order/Mount/PdfOperate.php b/application/module/Order/Mount/PdfOperate.php index 9cd594ff..516b5c43 100644 --- a/application/module/Order/Mount/PdfOperate.php +++ b/application/module/Order/Mount/PdfOperate.php @@ -168,10 +168,10 @@ class PdfOperate implements \Order\Listener\PdfEvents ); $mail = new Mail(); - $mail->loadTemplate("offline-email",$data); + $mail->loadTemplate("offline-email-en",$data); $mail->addTo($formData['email'],$formData['realname']); $attach = $mail->mail->createAttachment($pdf->Output('applicant','S')); - $attach->filename = '数据申请-'.$formData['realname'].'.pdf'; + $attach->filename = 'DataOrder-'.$formData['realname'].'.pdf'; $mail->send(); } diff --git a/application/module/Order/Order.php b/application/module/Order/Order.php index b4ecd81e..187a4ad3 100644 --- a/application/module/Order/Order.php +++ b/application/module/Order/Order.php @@ -426,7 +426,7 @@ class Order ); $mail = new Mail(); - $mail->loadTemplate("offline-pdf-commited",$data); + $mail->loadTemplate("offline-pdf-commited-en",$data); $mail->setDefaultTo(); $mail->send();