application/core/manage/logic/MenuLogic.php
public function saveMenu($data, $map)
    {
        $data['menu_flag'] = $this->processMenuFlag($data['menu_url'], $data['menu_build']);
        return $this->model->saveById($data, $map);
    }
public function saveMenu($data, $map)
    {
        $data['menu_flag'] = $this->processMenuFlag($data['menu_url'], $data['menu_build']);
        return $this->model->saveById($data, $map);
    }
保存菜单

@param array $data
@param array $map
@return number