request->isAjax()){ $post = $this->request->post(); MapConfigLogic::setConfig($post); return $this->_success('设置成功',[]); } $this->assign('config',MapConfigLogic::getConfig()); return $this->fetch(); } }