diff --git a/app/controller/manager/Upload.php b/app/controller/manager/Upload.php index 7cc4c7b..f67ce48 100644 --- a/app/controller/manager/Upload.php +++ b/app/controller/manager/Upload.php @@ -37,7 +37,7 @@ class Upload extends BaseController $video = request()->file('video'); if($this->validate->checkVideo($video)){ $src = Filesystem::disk('video')->putFile(date('Ymd'), $video, 'uniqid'); - $src = $this->uploadPath . '/' . $src; + $src = $this->uploadPath . '/videos/' . $src; $return['src'] = $src; File::add($video, $src, 'video'); //加入上传文件表 return $this->json(0, 'ok', $return);