页面优化,功能修复
This commit is contained in:
@@ -71,8 +71,8 @@ class UploadController extends Controller
|
||||
Storage::disk('public')->put($mainPath, $mainBinary);
|
||||
Storage::disk('public')->put($thumbPath, $thumbBinary);
|
||||
|
||||
$mainUrl = Storage::disk('public')->url($mainPath);
|
||||
$thumbUrl = Storage::disk('public')->url($thumbPath);
|
||||
$mainUrl = '/storage/'.ltrim($mainPath, '/');
|
||||
$thumbUrl = '/storage/'.ltrim($thumbPath, '/');
|
||||
|
||||
return response()->json([
|
||||
'success' => true,
|
||||
|
||||
Reference in New Issue
Block a user