|
...
|
...
|
@@ -125,10 +125,8 @@ class ProjectLogic extends BaseLogic |
|
|
|
}
|
|
|
|
$param['confirm_file'] = Arr::a2s($param['confirm_file']);
|
|
|
|
}
|
|
|
|
$filteredData = SupArr::only($param, $this->model->fillable);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($filteredData, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
|
|
|
|
$this->model->edit($filteredData,['id'=>$param['id']]);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($param, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$this->model->edit($param,['id'=>$param['id']]);
|
|
|
|
Common::del_user_cache($this->model->getTable(),$param['id']);
|
|
|
|
return $this->success();
|
|
|
|
}
|
...
|
...
|
|