class MenuController {

    @RequestMapping(value = {"/", "/menu"}, method = RequestMethod.GET)
    public ServiceResult getAllApiConfig(@CurrentUser LoginUser user) throws Exception {
        return ServiceResult.success(menuService.getMemus(menuItemConfiguration.getNavigationFlag(user)));
    }

}