/** * 添加新菜单 */ public function menuAction() { $result = \Model\Menu::addMenu(); if ($result['status'] == false) { $this->error($result['mes']); } $this->success($GLOBALS['_LANG']['MENU']['ADD_MENU_SUCCESS'], $this->url('Team-Index-menuList')); }
/** * 添加新菜单 */ public function menuAction() { $result = \Model\Menu::addMenu(); $this->success('添加菜单成功', $this->url(GROUP . '-Index-menuList')); }