|
...
|
...
|
@@ -34,7 +34,7 @@ class CosService |
|
|
|
$cosClient->putObject([
|
|
|
|
'Bucket' => $cos['bucket'],
|
|
|
|
'Key' => $key,
|
|
|
|
'Body' => fopen(config('filesystems.disks.upload').$path.'/'.$filename, 'r'),
|
|
|
|
'Body' => fopen(config('filesystems.disks.upload')['root'].$path.'/'.$filename, 'r'),
|
|
|
|
]);
|
|
|
|
return $key;
|
|
|
|
}
|
...
|
...
|
|