feat: menu

This commit is contained in:
2024-10-27 23:45:20 +08:00
parent 5285dd6972
commit b828d48672
9 changed files with 226 additions and 10 deletions

View File

@@ -35,12 +35,15 @@ class AuthController extends AbstractController
return (new RoleMenuService)->del();
}
#[RequestMapping(path: "menu_list", methods: "GET")]
public function menu_list()
{
return (new RoleMenuService)->handle();
}
public function mean()
#[RequestMapping(path: "menu", methods: "GET")]
#[Scene(scene: "menu_info")]
public function menu(AuthRequest $request)
{
return (new RoleMenuService)->details();
}