作者 lyh

gx

@@ -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 {