📌  相关文章
📜  错误调用字符串上的成员函数 getClientOriginalExtension() - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:31.140000             🧑  作者: Mango

代码示例3
$imageName = rand(11111, 99999) . '.' . $request->file('image')->getClientOriginalExtension();
            $destinationPath = 'events';
            $fileName = rand(11111, 3232399999) . '.' . $extension;
            $upload_success = $image->move($destinationPath, $imageName);