perf: 七牛云存储

This commit is contained in:
2025-07-28 10:16:03 +08:00
parent 64ea309b30
commit a7882da734
3 changed files with 17 additions and 10 deletions

View File

@@ -179,8 +179,8 @@ if (!function_exists('url_filesystem_detect')) {
}
$disks = [
'public_qiniu' => '_' . base64_encode('public_qiniu'),
'video_qiniu' => '_' . base64_encode('video_qiniu')
'public_qiniu' => '_' . base64_encode('public_qiniu'),
'video_qiniu' => '_' . base64_encode('video_qiniu')
];
foreach ($disks as $disk => $marker) {
if (str_ends_with(mb_substr($url, 0, $idx), $marker)) {