feat : oss

This commit is contained in:
2024-11-21 11:31:20 +08:00
parent bc8fc54c3d
commit c1c10518cc
3 changed files with 18 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ class OssDelByUrlTask
if (!empty($url)) {
$delNum++;
$OssClient->deleteObject($bucket, $url);
$OssClient->deleteObject($bucket, substr(parse_url($url)['path'],1));
}
}