|
|
|
@ -1154,7 +1154,7 @@ function sendEmailCode($email, $scene = 'verify_code') |
|
|
|
// } |
|
|
|
$code = getCode(); |
|
|
|
Mail::send('emails.verify_code', ['code' => $code], function ($message) use (&$email) { |
|
|
|
$message->to($email, 'XUSexchange')->subject('XUSexchange'); |
|
|
|
$message->to($email, 'PNECoin')->subject('PNECoin'); |
|
|
|
}); //dd(Mail::failures()); |
|
|
|
if (Mail::failures()) { |
|
|
|
return '发送失败'; |
|
|
|
|