|
@@ -25,9 +25,7 @@ class UploadController extends Controller
|
|
|
$width = Image::make($filePath)->width();
|
|
|
$height = Image::make($filePath)->height();
|
|
|
|
|
|
- $filename = time() . '_' . uniqid() . '*' . $width . '_' . $height . '.' . $kuoname;
|
|
|
-
|
|
|
-
|
|
|
+ $filename = time() . '_' . uniqid() . '.' . $kuoname . '?' . $width . '_' . $height;
|
|
|
} else {
|
|
|
|
|
|
$filename = time() . '_' . uniqid() . '.' . $kuoname;
|
|
@@ -59,7 +57,7 @@ class UploadController extends Controller
|
|
|
$width = Image::make($filePath)->width();
|
|
|
$height = Image::make($filePath)->height();
|
|
|
|
|
|
- $filename = time() . '_' . uniqid() . '*' . $width . '_' . $height . '.' . $kuoname;
|
|
|
+ $filename = time() . '_' . uniqid() . '.' . $kuoname . '?' . $width . '_' . $height;
|
|
|
} else {
|
|
|
|
|
|
$filename = time() . '_' . uniqid() . '.' . $kuoname;
|