Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
media-resource
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨昕
media-resource
Commits
91bdc728
Commit
91bdc728
authored
Mar 22, 2023
by
周业恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
media_list
parent
438319df
Pipeline
#20521
passed with stages
in 59 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Constant.php
app/Tool/Constant.php
+1
-1
media_list.blade.php
resources/views/admin/media/media_list.blade.php
+1
-1
No files found.
app/Tool/Constant.php
View file @
91bdc728
...
...
@@ -15,7 +15,7 @@ class Constant {
# 控制器异常
const
EXCEPTION_CTRL_FAIL
=
3
;
# 默认分页数
const
PAGE_NUMBER
=
1
0
;
const
PAGE_NUMBER
=
20
0
;
# 升序
const
SORT_ASC
=
'asc'
;
# 降序
...
...
resources/views/admin/media/media_list.blade.php
View file @
91bdc728
...
...
@@ -168,7 +168,7 @@
<script
type=
"text/javascript"
>
var
media_export_name
=
"
<?php
$export_values
=
''
;
foreach
(
$medias
as
$key
=>
$media
)
{
$export_values
=
$export_values
.
'\r\n'
.
$media
s
[
'_id'
]
.
" "
.
$media
[
'media_name'
];
}
echo
$export_values
;
?>
"
var
media_export_name
=
"
<?php
$export_values
=
''
;
foreach
(
$medias
as
$key
=>
$media
)
{
$export_values
=
$export_values
.
'\r\n'
.
$media
[
'_id'
]
.
" "
.
$media
[
'media_name'
];
}
echo
$export_values
;
?>
"
function
export_media_id
(){
alert
(
media_export_name
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment