From a03a3866312309d558f513b69481e43a0b0f62ac Mon Sep 17 00:00:00 2001 From: Hankin Date: Thu, 7 Aug 2025 10:06:53 +0800 Subject: [PATCH] upload 3 --- routes/api.php | 6 ------ routes/web.php | 10 ++++++++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/routes/api.php b/routes/api.php index bccc1f5..e23f098 100644 --- a/routes/api.php +++ b/routes/api.php @@ -16,11 +16,5 @@ use Illuminate\Support\Facades\Route; | */ -//ueditor上传 -Route::prefix("upload")->group(function () { - Route::get('/ueditor', [CommonController::class, "upload"]); - Route::post('/ueditor', [CommonController::class, "upload"]); - -}); Route::get("test", [Controller::class, "test"]); diff --git a/routes/web.php b/routes/web.php index b130397..81e0834 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,5 +1,6 @@ group(function () { + Route::get('/ueditor', [CommonController::class, "upload"]); + Route::post('/ueditor', [CommonController::class, "upload"]); + +});