Пример #1
0
 public function updateMenuList()
 {
     if (!IS_POST) {
         _404('页面不存在', U('index'));
     }
     import('@.WechatMenu.MenuDbControl');
     $_POST["ecid"] = session("ecid");
     $menuControl = new MenuDbControl(session("ecid"));
     $code = $menuControl->updateMenuItem($_POST);
     $this->ajaxReturn($code, Error::getErrMsg($code), 0);
 }