李帅

1.集成邮件发送

...@@ -90,7 +90,8 @@ class SendVerificationMessage implements ShouldQueue ...@@ -90,7 +90,8 @@ class SendVerificationMessage implements ShouldQueue
90 ); 90 );
91 $sendgrid = new \SendGrid(env('SENDGRID_API_KEY')); 91 $sendgrid = new \SendGrid(env('SENDGRID_API_KEY'));
92 try { 92 try {
93 - $sendgrid->send($email); 93 + $res = $sendgrid->send($email);
94 + Log::channel("daily")->debug($res->body());
94 } catch (\Exception $e) { 95 } catch (\Exception $e) {
95 Log::channel("daily")->error("send email error :".$e->getMessage()); 96 Log::channel("daily")->error("send email error :".$e->getMessage());
96 } 97 }
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
13 "jiannei/laravel-enum": "^3.0", 13 "jiannei/laravel-enum": "^3.0",
14 "jiannei/laravel-response": "^4.0", 14 "jiannei/laravel-response": "^4.0",
15 "jpush/jpush": "^3.6", 15 "jpush/jpush": "^3.6",
16 - "laravel/framework": "^8.75", 16 + "laravel/framework": "^8.75.0",
17 "laravel/horizon": "^5.9", 17 "laravel/horizon": "^5.9",
18 "laravel/sanctum": "^2.11", 18 "laravel/sanctum": "^2.11",
19 "laravel/socialite": "^5.2", 19 "laravel/socialite": "^5.2",
......
This diff could not be displayed because it is too large.