✏️ 编辑:api.php
路径:
/home/boguraj1/public_html/jobsite/routes/api.php
大小:570 B · 修改:2022-11-21 20:15:52 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php 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! | */ Route::middleware('auth:sanctum')->get('/user', function (Request $request) { return $request->user(); });
💾 保存
取消
保存为 UTF-8,换行统一为 LF