作者 lyh

gx

@@ -31,8 +31,7 @@ class TextMail extends Mailable @@ -31,8 +31,7 @@ class TextMail extends Mailable
31 */ 31 */
32 public function build() 32 public function build()
33 { 33 {
34 - return $this->subject($this->subject)->text('mail.text', ['text' => $this->text]);  
35 -// ->view('mail.html', ['text' => $this->text]); // HTML 内容 34 + return $this->subject($this->subject)->view('mail.text', ['text' => $this->text]);
36 } 35 }
37 36
38 } 37 }