request->isAjax()) { $post = $this->request->post(); MapLogic::setConfig($post); return JsonServer::success('操作成功'); } return view('', [ 'config' => MapLogic::getConfig() ]); } }