ufutx.love.util/routes/api.php
2025-08-06 15:20:02 +08:00

23 lines
633 B
PHP

<?php
use App\Http\Controllers\CommonController;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
//ueditor上传
Route::prefix("upload")->group(function () {
Route::any('/ueditor', [CommonController::class, "upload"]);
});