mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 23:10:45 +00:00
fix: 修改删除桶方法
This commit is contained in:
parent
96e872306c
commit
123a918ce7
@ -189,7 +189,10 @@ class SystemStorageServices extends BaseServices
|
||||
|
||||
try {
|
||||
$upload = UploadService::init($storageInfo->type);
|
||||
$upload->deleteBucket($storageInfo->name, $storageInfo->region);
|
||||
$res = $upload->deleteBucket($storageInfo->name, $storageInfo->region);
|
||||
if (false === $res) {
|
||||
throw new AdminException($upload->getError());
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
throw new AdminException($e->getMessage());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user