代码优化

This commit is contained in:
Ghost
2025-04-09 16:15:53 +08:00
parent 65267c653f
commit c7062445ab
3 changed files with 249 additions and 96 deletions

View File

@@ -12,6 +12,8 @@ Route::group('v1', function () {
Route::post('create', 'app\\api\\controller\\AccountController@createAccount'); // 创建账号 √
Route::post('department/create', 'app\\api\\controller\\AccountController@createDepartment'); // 创建部门 √
Route::get('department/list', 'app\\api\\controller\\AccountController@getDepartmentList'); // 获取部门列表 √
Route::post('department/update', 'app\\api\\controller\\AccountController@updateDepartment'); // 更新部门 √
Route::post('department/delete', 'app\\api\\controller\\AccountController@deleteDepartment'); // 删除部门 √
});
// Device控制器路由