feature: 面板
This commit is contained in:
parent
35adcd12d9
commit
554b386fac
|
|
@ -90,7 +90,7 @@ class Doc extends Backend
|
||||||
|
|
||||||
foreach ($list as $k => $row) {
|
foreach ($list as $k => $row) {
|
||||||
$list[$k]['fileurl'] = cdnurl($row['path']);
|
$list[$k]['fileurl'] = cdnurl($row['path']);
|
||||||
$list[$k]['filetype'] = pathinfo($list[$k]['url'], PATHINFO_EXTENSION);
|
$list[$k]['filetype'] = pathinfo($list[$k]['fileurl'], PATHINFO_EXTENSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = ['total' => $list->total(), 'rows' => $list->items()];
|
$result = ['total' => $list->total(), 'rows' => $list->items()];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user