作者 lyh

gx

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