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:
commit
402146a6d7
|
|
@ -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