Compare commits

..

2 Commits

Author SHA1 Message Date
yin5th 4a7c0dc4b7 Merge branch 'main' of http://git.scdxtc.cn/milo/chaoyu 2024-11-20 16:11:47 +08:00
yin5th 64d426be51 feat: 上传路径调整 2024-11-20 16:11:37 +08:00
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;
}
}