@@ -29,7 +29,7 @@ class fileUtil
if (file_put_contents($fullPathFile, base64_decode(str_replace($result[1], '', $base64_image_content))) == false) {
util::fail('上传失败!!');
}
- $img = "/uploads/{$merchantId}/{$month}/{$date}/" . $newFile;
+ $img = "uploads/{$merchantId}/{$month}/{$date}/" . $newFile;
$imgInfo = getimagesize($fullPathFile);
$width = $imgInfo[0];
$height = $imgInfo[1];