修改路由分类

This commit is contained in:
liaofei 2023-04-21 16:03:41 +08:00
parent 0c806a0d2b
commit a6f258a264
3 changed files with 3 additions and 2 deletions

View File

@ -249,6 +249,7 @@ class SystemCrud extends AuthController
}
/**
* @param SystemMenusServices $services
* @param $id
* @return \think\Response
* @author 等风来

View File

@ -39,7 +39,7 @@ Route::group(function () {
]);
//测试
Route::get('index', 'Test/index')->option(['real_name' => '测试地址']);
})->middleware(AllowOriginMiddleware::class);
})->middleware(AllowOriginMiddleware::class)->option(['is_common' => true]);
/**
* miss 路由

View File

@ -133,7 +133,7 @@ Route::group('system', function () {
'delete' => '删除路由分类'
],
]);
Route::get('crud/config/:tableName', 'v1.setting.SystemCrud/getRouteList')->option(['real_name' => '获取CRUD配置']);
Route::get('crud/config/:tableName', 'v1.setting.SystemCrud/getRouteList')->option(['real_name' => '获取CRUD配置', 'is_common' => true]);
//下载生成的文件
Route::get('crud/download/:id', 'v1.setting.SystemCrud/download')->option(['real_name' => '下载生成的文件']);
//获取CRUD列表