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
李帅
2022-03-24 14:39:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
49fdc0ce40e0882d8a370dfc6af117b74b61ad38
49fdc0ce
1 parent
5221e6be
1.feel 临境有感可以不填
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Http/Controllers/V1/UserController.php
app/Jobs/MakeVideo.php
app/Http/Controllers/V1/UserController.php
View file @
49fdc0c
...
...
@@ -106,7 +106,7 @@ class UserController extends Controller
return
Response
::
fail
(
''
,
500
,
$validator
->
errors
());
}
$user
=
Auth
::
guard
(
'sanctum'
)
->
user
();
$user
=
Auth
::
user
();
return
Response
::
success
(
$user
);
}
...
...
app/Jobs/MakeVideo.php
View file @
49fdc0c
...
...
@@ -119,7 +119,7 @@ class MakeVideo implements ShouldQueue
Immerse
::
query
()
->
create
([
'user_id'
=>
1
,
'title'
=>
''
,
'content'
=>
$this
->
adminMakeVideo
->
feel
??
''
,
'content'
=>
$this
->
adminMakeVideo
->
feel
??
'
-
'
,
'url'
=>
$video2
,
'type'
=>
$this
->
adminMakeVideo
->
type
==
1
?
2
:
1
,
'duration'
=>
$video_info
[
'format'
][
'duration'
],
...
...
Please
register
or
login
to post a comment