feature: 面板

This commit is contained in:
zhuyu 2025-05-28 11:13:41 +08:00
parent 35adcd12d9
commit 554b386fac

View File

@ -90,7 +90,7 @@ class Doc extends Backend
foreach ($list as $k => $row) {
$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()];