修改上传文件的保存域名

This commit is contained in:
lewis 2025-08-21 10:13:53 +08:00
parent 95a29b5d1c
commit 4ad5577c2b

View File

@ -50,7 +50,7 @@ class FileService
$storage = ConfigService::get('storage', $default);
Cache::set('STORAGE_ENGINE', $storage);
}
$domain = $storage ? $storage['domain'] : '';
$domain = $storage ? $storage['url'] : '';
}
return self::format($domain, $uri);