更新基础架构

This commit is contained in:
技术老胡
2026-01-27 09:07:38 +08:00
parent 28f1a2855c
commit 4a34feec54
36 changed files with 1289 additions and 540 deletions

14
app/routes/admin.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
/**
* 管理后台路由定义
*/
use Webman\Route;
use app\http\admin\controller\AuthController;
Route::group('/admin', function () {
// 登录相关
Route::post('/mock/login', [AuthController::class, 'login']);
Route::get('/mock/user/getUserInfo', [AuthController::class, 'getUserInfo']);
});

0
app/routes/api.php Normal file
View File

0
app/routes/user.php Normal file
View File