更新若干功能
This commit is contained in:
@@ -64,7 +64,7 @@ class LocalhostStorageService extends BaseNotAuthService implements OssStorageIn
|
||||
|
||||
$items = [];
|
||||
foreach ($page as $file) {
|
||||
$key = $this->normalizeObjectKey($file);
|
||||
$key = $this->normalizeListedKey($file);
|
||||
if ($key === '') {
|
||||
continue;
|
||||
}
|
||||
@@ -90,7 +90,7 @@ class LocalhostStorageService extends BaseNotAuthService implements OssStorageIn
|
||||
|
||||
public function deleteObject(string $key): bool
|
||||
{
|
||||
$key = $this->normalizeObjectKey($key);
|
||||
$key = $this->normalizeListedKey($key);
|
||||
if ($key === '') {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user