|
...
|
...
|
@@ -67,6 +67,7 @@ class AmazonS3Service |
|
|
|
public function syncImageFiles($files)
|
|
|
|
{
|
|
|
|
$file_link = $this->fetchRemoteImage($files);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export('图片:'.$file_link, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$key = str_replace_url($files);
|
|
|
|
// try {
|
|
|
|
$context = stream_context_create([
|
...
|
...
|
|