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-04-08 17:46:27 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
883c83fffab72049d08c94df5dbc6ce7b03ed2c9
883c83ff
1 parent
d8f4da3e
1.重新整合ffmpeg命令
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Admin/Controllers/AdminMakeVideoController.php
app/Admin/Controllers/AdminMakeVideoController.php
View file @
883c83f
...
...
@@ -31,7 +31,7 @@ class AdminMakeVideoController extends AdminController
$grid
->
column
(
'title'
,
'标题'
);
$grid
->
column
(
'content'
,
'有感'
);
$grid
->
column
(
'url'
)
->
display
(
function
(
$url
){
return
"<a target='_blank' href='"
.
Storage
::
disk
(
'public'
)
->
url
(
'/ffmpeg/'
.
basename
(
$url
)
)
.
"'>查看</a>"
;
return
"<a target='_blank' href='"
.
Storage
::
disk
(
'public'
)
->
url
(
$url
)
.
"'>查看</a>"
;
});
$grid
->
column
(
'type'
,
'类型'
)
->
using
([
1
=>
'音频'
,
2
=>
'视频'
]);
$grid
->
column
(
'duration'
);
...
...
Please
register
or
login
to post a comment