|
...
|
...
|
@@ -43,9 +43,11 @@ class FileManageController extends BaseController |
|
|
|
$this->map['project_id'] = $this->user['project_id'];
|
|
|
|
$this->request['name'] && $this->map['name'] = ['like','%'.$this->request['name'].'%'];
|
|
|
|
$lists = $fileManage->lists($this->map, $this->page, $this->row);
|
|
|
|
foreach ($lists as $k => $v){
|
|
|
|
$v['download_url'] = url('b/file_manager_downLoad?path='.$v['path']);
|
|
|
|
$lists[$k] = $v;
|
|
|
|
if(!empty($lists)){
|
|
|
|
foreach ($lists as $k => $v){
|
|
|
|
$v['download_url'] = url('b/file_manager_downLoad?path='.$v['path']);
|
|
|
|
$lists[$k] = $v;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
...
|
...
|
|