Skip to content

Commit 4cd8c26

Browse files
committed
update(route): 增加权限相关路由
1 parent 7e93199 commit 4cd8c26

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

laravel/routes/api.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@
4444
Route::resource('api_excel', 'ApiExcelController');
4545
Route::post('upload', 'ApiExcelController@upload');
4646
Route::any('start_task', 'ApiExcelController@startTask');
47+
48+
// 权限相关路由
49+
Route::get('permissions/store', 'PermissionController@store');
50+
Route::get('roles/store', 'RoleController@store');
51+
Route::resource('permissions', 'PermissionController');
52+
Route::resource('roles', 'RoleController');
4753
});
4854

4955

0 commit comments

Comments
 (0)