code = $code; } public function build() { return $this->view('emails.sendVerifyCode')->subject('发送注册验证码')->with([ 'code' => $this->code ]); } }