This commit is contained in:
mzl
2025-07-09 17:58:30 +08:00
parent 4ddf4921b2
commit 396e92ac1b
22 changed files with 1120 additions and 1068 deletions
+8 -3
View File
@@ -28,8 +28,13 @@ use Webman\Route;
Route::group('/common', function () {
Route::group('/auth', function () {
Route::post('/login', [app\common\controller\AuthController::class, 'login']);
Route::post('/register', [app\common\controller\AuthController::class, 'register']);
Route::post('/feishu/scope', [app\common\controller\AuthController::class, 'feishuScope']);
Route::any('/login', [app\common\controller\AuthController::class, 'login']);
Route::any('/register', [app\common\controller\AuthController::class, 'register']);
Route::any('/feishu/scope', [app\common\controller\AuthController::class, 'feishuScope']);
// 调试
Route::any('/feishu/auth', [app\common\controller\AuthController::class, 'feishuAuth']);
});
});