正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -389,6 +389,7 @@ class FileController | @@ -389,6 +389,7 @@ class FileController | ||
| 389 | $this->map['project_id'] = $this->cache['project_id']; | 389 | $this->map['project_id'] = $this->cache['project_id']; |
| 390 | } | 390 | } |
| 391 | $fileModel = new File(); | 391 | $fileModel = new File(); |
| 392 | + $this->map['type'] = 'mp4'; | ||
| 392 | $lists = $fileModel->list($this->map,'id',['id','hash','type','path','created_at','name']); | 393 | $lists = $fileModel->list($this->map,'id',['id','hash','type','path','created_at','name']); |
| 393 | foreach ($lists as $k => $v){ | 394 | foreach ($lists as $k => $v){ |
| 394 | $v['file_link'] = getFileUrl($v['path'],$this->cache['storage_type'] ?? 0,$this->cache['project_location'] ?? 0,$this->cache['file_cdn'] ?? 0); | 395 | $v['file_link'] = getFileUrl($v['path'],$this->cache['storage_type'] ?? 0,$this->cache['project_location'] ?? 0,$this->cache['file_cdn'] ?? 0); |
-
请 注册 或 登录 后发表评论