mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 14:31:04 +00:00
修改路由分类
This commit is contained in:
parent
0c806a0d2b
commit
a6f258a264
@ -249,6 +249,7 @@ class SystemCrud extends AuthController
|
||||
}
|
||||
|
||||
/**
|
||||
* @param SystemMenusServices $services
|
||||
* @param $id
|
||||
* @return \think\Response
|
||||
* @author 等风来
|
||||
|
||||
@ -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 路由
|
||||
|
||||
@ -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列表
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user