feat: 上传路径调整

main
yin5th 2024-11-20 16:11:37 +08:00
parent fe2181cb8c
commit 64d426be51
1 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ class Upload extends BaseController
}
$this->validate = new VUpload();
$this->uploadPath = Config::get('filesystem.disks.local.url');
if(is_writable(app()->getRootPath() . 'wwwroot' . $this->uploadPath)){
if(is_writable(app()->getRootPath() . 'public' . $this->uploadPath)){
$this->uploadPathIsWritable = 1;
}
}