正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -336,6 +336,7 @@ class CosService | @@ -336,6 +336,7 @@ class CosService | ||
| 336 | 'Key' => $pathUrl, | 336 | 'Key' => $pathUrl, |
| 337 | 'CIProcess' => 'image/info', | 337 | 'CIProcess' => 'image/info', |
| 338 | ]); | 338 | ]); |
| 339 | + @file_put_contents(storage_path('logs/crop_image_error.log'), var_export($result, true) . PHP_EOL, FILE_APPEND); | ||
| 339 | $info = simplexml_load_string($result['Body']); | 340 | $info = simplexml_load_string($result['Body']); |
| 340 | @file_put_contents(storage_path('logs/crop_image_error.log'), var_export($info, true) . PHP_EOL, FILE_APPEND); | 341 | @file_put_contents(storage_path('logs/crop_image_error.log'), var_export($info, true) . PHP_EOL, FILE_APPEND); |
| 341 | $height = (int) $info->ImageHeight; | 342 | $height = (int) $info->ImageHeight; |
-
请 注册 或 登录 后发表评论