This commit is contained in:
梁朝伟
2024-11-13 19:23:49 +08:00
commit 7f3db2ed48
461 changed files with 276684 additions and 0 deletions

8
routes/api.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::get('/user', function (Request $request) {
return $request->user();
})->middleware('auth:sanctum');