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-05-17 16:08:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7b66739c920775338d987905dea7f34ee6e0eac2
7b66739c
1 parent
eb960549
1.后台可上传图文内容。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Jobs/MakeImages.php
app/Jobs/MakeImages.php
View file @
7b66739
...
...
@@ -74,7 +74,7 @@ class MakeImages implements ShouldQueue
if
(
!
$this
->
execmd
(
$cmd
))
return
;
// 全部合成以后创建 临境
$video_info
=
$this
->
mediainfo
(
$output
);
//
$video_info = $this->mediainfo($output);
$create
=
[
'user_id'
=>
1
,
...
...
@@ -83,7 +83,7 @@ class MakeImages implements ShouldQueue
'url'
=>
str_replace
(
Storage
::
disk
(
'public'
)
->
path
(
''
),
''
,
$output
),
'type'
=>
$this
->
adminMakeVideo
->
type
==
1
?
2
:
1
,
'duration'
=>
0
,
'size'
=>
$video_info
[
'format'
][
'size'
]
,
'size'
=>
filesize
(
$image
)
,
'poem_id'
=>
$this
->
adminMakeVideo
->
poem_id
,
'temp_id'
=>
$this
->
adminMakeVideo
->
temp_id
,
'thumbnail'
=>
str_replace
(
Storage
::
disk
(
'public'
)
->
path
(
''
),
''
,
$image
),
...
...
Please
register
or
login
to post a comment