request->isAjax()){ $post = $this->request->post(); (new TemplateValidate())->goCheck(); $res = TemplateLogic::edit($post, $this->shop_id); if (true === $res) { return JsonServer::success('操作成功'); } return JsonServer::error($res); } return view('', [ 'detail' => TemplateLogic::getDetail($this->shop_id), ]); } }