|
...
|
...
|
@@ -370,7 +370,7 @@ class CosService |
|
|
|
]);
|
|
|
|
if($res){
|
|
|
|
return [
|
|
|
|
'path' => $res['Key'] ?? '',
|
|
|
|
'path' => $res['ProcessResults']['Object'][0]['Key'] ?? '',
|
|
|
|
'size' => (int)$res['ProcessResults']['Object'][0]['Size'] ?? 0,
|
|
|
|
'mime' => 'image/'.($res['ProcessResults']['Object'][0]['Format'] ?? 'jpg'),
|
|
|
|
'type' => $res['ProcessResults']['Object'][0]['Format'] ?? 'jpg',
|
...
|
...
|
|