mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 07:50:37 +00:00
修改路由
This commit is contained in:
parent
e682459ac3
commit
c47a3a1960
@ -50,7 +50,7 @@ class SystemRoute extends AuthController
|
||||
public function syncRoute(string $appName = 'adminapi')
|
||||
{
|
||||
$this->services->syncRoute($appName);
|
||||
|
||||
|
||||
return app('json')->success();
|
||||
}
|
||||
|
||||
|
||||
@ -113,7 +113,7 @@ Route::group('system', function () {
|
||||
//同步路由接口
|
||||
Route::get('route/sync_route/[:appName]', 'v1.system.SystemRoute/syncRoute')->option(['real_name' => '同步路由']);
|
||||
//获取路由tree行数据
|
||||
Route::get('route/tree', 'v1.system.SystemRoute/tree')->option(['real_name' => '获取路由tree']);
|
||||
Route::get('route/tree', 'v1.setting.SystemRoute/tree')->option(['real_name' => '获取路由tree']);
|
||||
//权限路由
|
||||
Route::delete('route/:id', 'v1.setting.SystemRoute/delete')->option(['real_name' => '删除路由权限']);
|
||||
//查看路由权限
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user