getSupplierId(), ['logo', 'business']); if($this->request->isGet()){ return $this->renderSuccess('', compact('model')); } if($model->edit($this->postData())){ return $this->renderSuccess('操作成功', compact('model')); } return $this->renderError($model->getError()?:'保存失败'); } }