application/core/manage/logic/MenuLogic.php
public function addMenu($data)
    {
        $data['menu_flag'] = $this->processMenuFlag($data['menu_url'], $data['menu_build']);
        return $this->model->add($data);
    }
public function addMenu($data)
    {
        $data['menu_flag'] = $this->processMenuFlag($data['menu_url'], $data['menu_build']);
        return $this->model->add($data);
    }
public function addMenu ( $ data ) { $ data [ 'menu_flag' ] = $ this -> processMenuFlag ( $ data [ 'menu_url' ] , $ data [ 'menu_build' ] ) ; return $ this -> model -> add ( $ data ) ; }
新增菜单

@param array $data
@return number
新增菜单