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-02-06 15:17:05 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a99d73f714dc73f1e4d9e6de5aa927feb36eae0a
a99d73f7
1 parent
0721764a
1.优化ffmpeg命令,适配各种类型视频
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
app/Admin/Controllers/ImmerseController.php
app/Admin/Controllers/ImmerseController.php
View file @
a99d73f
...
...
@@ -52,10 +52,10 @@ class ImmerseController extends AdminController
:
$value
.
'Bytes'
;
return
$size
;
});
$grid
->
column
(
'poem_id'
);
$grid
->
column
(
'temp_id'
);
$grid
->
column
(
'thumbnail'
)
->
image
();
$grid
->
column
(
'bgm'
)
->
display
(
function
(
$url
){
//
$grid->column('poem_id');
//
$grid->column('temp_id');
$grid
->
column
(
'thumbnail'
,
"封面图"
)
->
image
();
$grid
->
column
(
'bgm'
,
"背景音"
)
->
display
(
function
(
$url
){
if
(
$url
==
''
)
return
"无"
;
if
(
Str
::
of
(
$url
)
->
contains
(
'.mp3'
))
return
"<a target='_blank' href='"
.
$url
.
"'>查看</a>"
;
...
...
Please
register
or
login
to post a comment