We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e93199 commit 4cd8c26Copy full SHA for 4cd8c26
laravel/routes/api.php
@@ -44,6 +44,12 @@
44
Route::resource('api_excel', 'ApiExcelController');
45
Route::post('upload', 'ApiExcelController@upload');
46
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');
53
});
54
55
0 commit comments