Accept Merge Request #77: (feature/zy -> develop)

Merge Request: feature: 面板

Created By: @zhuyu
Accepted By: @zhuyu
URL: https://g-bcrc3009.coding.net/p/allocatr/d/allocatr/git/merge/77?initial=true
This commit is contained in:
zhuyu 2025-05-28 11:14:24 +08:00 committed by Coding
commit 402146a6d7

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()];