正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -66,7 +66,7 @@ class AmazonS3Service | @@ -66,7 +66,7 @@ class AmazonS3Service | ||
| 66 | */ | 66 | */ |
| 67 | public function syncImageFiles($files) | 67 | public function syncImageFiles($files) |
| 68 | { | 68 | { |
| 69 | - $location = '/tmp'.str_replace_url($files); | 69 | + $location = '/tmp/'.basename($files); |
| 70 | $file_link = $this->fetchRemoteImage($files,$location); | 70 | $file_link = $this->fetchRemoteImage($files,$location); |
| 71 | $key = str_replace_url($files); | 71 | $key = str_replace_url($files); |
| 72 | try { | 72 | try { |
-
请 注册 或 登录 后发表评论