|
...
|
...
|
@@ -388,8 +388,8 @@ class FileController |
|
|
|
if(isset($this->cache['project_id']) && !empty($this->cache['project_id'])){
|
|
|
|
$this->map['project_id'] = $this->cache['project_id'];
|
|
|
|
}
|
|
|
|
$this->map['refer'] = 1;
|
|
|
|
$fileModel = new File();
|
|
|
|
$this->map['type'] = 'mp4';
|
|
|
|
$lists = $fileModel->list($this->map,'id',['id','hash','type','path','created_at','name']);
|
|
|
|
foreach ($lists as $k => $v){
|
|
|
|
$v['file_link'] = getFileUrl($v['path'],$this->cache['storage_type'] ?? 0,$this->cache['project_location'] ?? 0,$this->cache['file_cdn'] ?? 0);
|
...
|
...
|
|