Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-Server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李帅
2023-05-12 11:20:05 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
364671be4ba9704809033b593e8ecd44f2542c37
364671be
1 parent
52580ea1
1.集成邮件发送
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
app/Jobs/SendVerificationMessage.php
composer.json
composer.lock
app/Jobs/SendVerificationMessage.php
View file @
364671b
...
...
@@ -90,7 +90,8 @@ class SendVerificationMessage implements ShouldQueue
);
$sendgrid
=
new
\SendGrid
(
env
(
'SENDGRID_API_KEY'
));
try
{
$sendgrid
->
send
(
$email
);
$res
=
$sendgrid
->
send
(
$email
);
Log
::
channel
(
"daily"
)
->
debug
(
$res
->
body
());
}
catch
(
\Exception
$e
)
{
Log
::
channel
(
"daily"
)
->
error
(
"send email error :"
.
$e
->
getMessage
());
}
...
...
composer.json
View file @
364671b
...
...
@@ -13,7 +13,7 @@
"jiannei/laravel-enum"
:
"^3.0"
,
"jiannei/laravel-response"
:
"^4.0"
,
"jpush/jpush"
:
"^3.6"
,
"laravel/framework"
:
"^8.75"
,
"laravel/framework"
:
"^8.75
.0
"
,
"laravel/horizon"
:
"^5.9"
,
"laravel/sanctum"
:
"^2.11"
,
"laravel/socialite"
:
"^5.2"
,
...
...
composer.lock
View file @
364671b
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment