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