正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
| @@ -68,7 +68,10 @@ class AyrReleaseLogic extends BaseLogic | @@ -68,7 +68,10 @@ class AyrReleaseLogic extends BaseLogic | ||
| 68 | $arr[] = getImageUrl($v1['path'],$this->user['storage_type'],$this->user['project_location']); | 68 | $arr[] = getImageUrl($v1['path'],$this->user['storage_type'],$this->user['project_location']); |
| 69 | } | 69 | } |
| 70 | }else{ | 70 | }else{ |
| 71 | - $arr[] = getFileUrl($v,$this->user['storage_type'],$this->user['project_location']); | 71 | + $fileModel = new File(); |
| 72 | + $info = $fileModel->read(['path'=>$v]); | ||
| 73 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($info, true) . PHP_EOL, FILE_APPEND); | ||
| 74 | + $arr[] = getFileUrl($info['path'],$this->user['storage_type'],$this->user['project_location']); | ||
| 72 | } | 75 | } |
| 73 | } | 76 | } |
| 74 | return $this->success($arr); | 77 | return $this->success($arr); |
-
请 注册 或 登录 后发表评论