feature: 面板
This commit is contained in:
parent
faa9d20ab8
commit
35adcd12d9
|
|
@ -89,7 +89,7 @@ class Doc extends Backend
|
|||
->paginate($limit);
|
||||
|
||||
foreach ($list as $k => $row) {
|
||||
$list[$k]['url'] = cdnurl($row['path']);
|
||||
$list[$k]['fileurl'] = cdnurl($row['path']);
|
||||
$list[$k]['filetype'] = pathinfo($list[$k]['url'], PATHINFO_EXTENSION);
|
||||
}
|
||||
|
||||
|
|
@ -108,7 +108,7 @@ class Doc extends Backend
|
|||
$this->success("Ajax请求成功", null, ['id' => $ids]);
|
||||
}
|
||||
|
||||
$row['url'] = cdnurl($row['path']);
|
||||
$row['fileurl'] = cdnurl($row['path']);
|
||||
|
||||
|
||||
$this->view->assign("row", $row->toArray());
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ class Task extends Backend
|
|||
}
|
||||
|
||||
$list[$k]['refuse_reason'] = $row['refuse_reason'] ?? '';
|
||||
$list[$k]['url'] = cdnurl($row['prove_file_path']);
|
||||
$list[$k]['fileurl'] = cdnurl($row['prove_file_path']);
|
||||
$list[$k]['filetype'] = pathinfo($list[$k]['url'], PATHINFO_EXTENSION);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user