Merge branch 'v5.0.0dev' of https://gitee.com/ZhongBangKeJi/CRMEB into v5.0.0dev

This commit is contained in:
From-wh 2023-04-21 17:54:03 +08:00
commit 3ee21e5cd6
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列表