Commit bb42a752 by 杨树贤

邮箱

parent 567a1b69
......@@ -214,7 +214,7 @@ class AuthApiController extends Controller
Redis::expire($redisKey, 120);
$subject = config('mail.from.name');
// return $this->setSuccessData($code);
return $this->setSuccessData($code);
Mail::to($email)->send(new SendCode($type, $code));
//错误处理
if (count(Mail::failures())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment