admin/app/api/controller/plus/business/Saving.php
@@ -14,6 +14,8 @@ { $model = new SavingModel(); $params=$this->request->param(); $user=$this->getUser(); $params['affiliation_id']=$user['user_id']; return $this->renderSuccess('',$model->lists($params)); } @@ -36,7 +38,7 @@ if((new SavingModel())->add($param)){ return $this->renderSuccess(''); } return $this->renderError(); return $this->renderError(''); } /**