新增公共数据接口i

This commit is contained in:
mzl
2025-07-11 17:15:10 +08:00
parent 1a2cb17785
commit abd6d5516e
7 changed files with 121 additions and 3 deletions
+5
View File
@@ -41,6 +41,11 @@ Route::group('/common', function () {
Route::group('/user', function () {
Route::any('/info', [app\common\controller\UserController::class, 'info']);
});
Route::group('/preset', function () {
Route::any('/corps', [app\common\controller\PresetController::class, 'corps']);
Route::any('/feishu/app', [app\common\controller\PresetController::class, 'feishuApp']);
});
});
Route::group('/admin', function () {
+5 -3
View File
@@ -2,8 +2,10 @@
return [
'basi_cdata' => [
'/',
'/index/index',
'/index/view'
'/', // 首页
'/index/index', // 首页
'/index/view', // 飞书调试
'/common/preset/corps', // 公司列表
'/common/preset/feishu/app', // 飞书应用信息
]
];