application/manage/controller/Base.php
protected function buildMenu()
    {
        $menu_logic = MenuLogic::instance();
        
        // 主菜单
        $main_menu = $menu_logic->getMainMenu($this->user_id);
        $this->assign('main_menu', $main_menu);
        
        // 侧边菜单
        $sider_menu = $menu_logic->getSiderMenu($this->user_id);
        $this->assign('sider_menu', $sider_menu);
    }
protected function buildMenu()
    {
        $menu_logic = MenuLogic::instance();
        
        // 主菜单
        $main_menu = $menu_logic->getMainMenu($this->user_id);
        $this->assign('main_menu', $main_menu);
        
        // 侧边菜单
        $sider_menu = $menu_logic->getSiderMenu($this->user_id);
        $this->assign('sider_menu', $sider_menu);
    }
创建菜单