|
...
|
...
|
@@ -44,11 +44,9 @@ class FileManageController extends BaseController |
|
|
|
$this->request['name'] && $this->map['name'] = ['like','%'.$this->request['name'].'%'];
|
|
|
|
$lists = $fileManage->lists($this->map, $this->page, $this->row);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($lists, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
if(!empty($lists)){
|
|
|
|
foreach ($lists as $k => $v){
|
|
|
|
// @file_put_contents(storage_path('logs/lyh_error.log'), var_export($v, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$v = (array)$v;
|
|
|
|
// $v['download_url'] = url('b/file_manager_downLoad?hash='.$v['hash']);
|
|
|
|
if(!empty($lists) && !empty($lists)){
|
|
|
|
foreach ($lists['list'] as $k => $v){
|
|
|
|
$v['download_url'] = url('b/file_manager_downLoad?hash='.$v['hash']);
|
|
|
|
$lists[$k] = $v;
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|