正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -43,9 +43,10 @@ class FileManageController extends BaseController | @@ -43,9 +43,10 @@ class FileManageController extends BaseController | ||
| 43 | $this->map['project_id'] = $this->user['project_id']; | 43 | $this->map['project_id'] = $this->user['project_id']; |
| 44 | $this->request['name'] && $this->map['name'] = ['like','%'.$this->request['name'].'%']; | 44 | $this->request['name'] && $this->map['name'] = ['like','%'.$this->request['name'].'%']; |
| 45 | $lists = $fileManage->lists($this->map, $this->page, $this->row); | 45 | $lists = $fileManage->lists($this->map, $this->page, $this->row); |
| 46 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($lists, true) . PHP_EOL, FILE_APPEND); | ||
| 46 | if(!empty($lists)){ | 47 | if(!empty($lists)){ |
| 47 | foreach ($lists as $k => $v){ | 48 | foreach ($lists as $k => $v){ |
| 48 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($v, true) . PHP_EOL, FILE_APPEND); | 49 | +// @file_put_contents(storage_path('logs/lyh_error.log'), var_export($v, true) . PHP_EOL, FILE_APPEND); |
| 49 | $v = (array)$v; | 50 | $v = (array)$v; |
| 50 | // $v['download_url'] = url('b/file_manager_downLoad?hash='.$v['hash']); | 51 | // $v['download_url'] = url('b/file_manager_downLoad?hash='.$v['hash']); |
| 51 | $lists[$k] = $v; | 52 | $lists[$k] = $v; |
-
请 注册 或 登录 后发表评论