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-18 21:37:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7724e1e72f8e72fc15d3f2af47540734f25be7a0
7724e1e7
1 parent
7f50f874
1.修复一些bug
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Jobs/AdminMakeImmerse.php
app/Jobs/AdminMakeImmerse.php
View file @
7724e1e
...
...
@@ -60,6 +60,7 @@ class AdminMakeImmerse implements ShouldQueue
// 组装文字参数
$drawtext
=
$this
->
getTextContentString
();
echo
$drawtext
;
// 判断双轨 没有则制作空轨
$is_bgm
=
$this
->
adminMakeVideo
->
temp
->
bg_music
==
1
;
//是否手动上传背景音
...
...
@@ -282,7 +283,6 @@ class AdminMakeImmerse implements ShouldQueue
$round
=
round
(
$this
->
media_info
[
'format'
][
'duration'
]
/
count
(
$contents
),
1
);
if
(
$round
<
1
)
$round
=
1
;
$sub_text
=
''
;
print_r
(
$contents
);
foreach
(
$contents
as
$key
=>
$content
){
$DS
=
$key
*
$round
;
$DE
=
$DS
+
$round
;
...
...
Please
register
or
login
to post a comment