作者 lyh

gx

... ... @@ -52,7 +52,7 @@ class ProductFileUpload extends Command
if($fileInfo === false){
continue;
}
$newName = rtrim($url, '/').'/'.$fileInfo['name'];
$newName = $result = preg_replace('#/[^/]*$#', '/', $url).$fileInfo['name'];
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($newName, true) . PHP_EOL, FILE_APPEND);
}
}
... ...