new helpdesk module

This commit is contained in:
Mark Gregory
2026-06-12 09:41:57 +01:00
parent 67c9bb22d9
commit da35c7eb95
50 changed files with 1874 additions and 270 deletions
+6 -14
View File
@@ -1,18 +1,10 @@
<?php
use Illuminate\Http\Request;
declare(strict_types=1);
/*
|--------------------------------------------------------------------------
| 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!
|
*/
use Illuminate\Support\Facades\Route;
Route::middleware('auth:api')->get('/helpdesk', function (Request $request) {
return $request->user();
});
Route::get('/status', static fn (): array => [
'module' => 'helpdesk',
'status' => 'ok',
])->name('status');