作者 lyh

gx

@@ -53,11 +53,8 @@ class CosService @@ -53,11 +53,8 @@ class CosService
53 ] 53 ]
54 ]); 54 ]);
55 } 55 }
56 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($options, true) . PHP_EOL, FILE_APPEND);  
57 // 上传文件 56 // 上传文件
58 - $res = $cosClient->putObject($options);  
59 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND);  
60 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($key, true) . PHP_EOL, FILE_APPEND); 57 + $cosClient->putObject($options);
61 return $key; 58 return $key;
62 } 59 }
63 60