|
...
|
...
|
@@ -85,7 +85,7 @@ class ProjectLogic extends BaseLogic |
|
|
|
//保存优化信息
|
|
|
|
$this->saveProjectDeployOptimize($this->param['deploy_optimize']);
|
|
|
|
//保存售后信息
|
|
|
|
$this->saveProjectAfter($this->param['deploy_build']);
|
|
|
|
$this->saveProjectAfter($this->param['project_after']);
|
|
|
|
// }catch (\Exception $e){
|
|
|
|
// DB::rollBack();
|
|
|
|
// $this->fail('error');
|
|
...
|
...
|
@@ -126,6 +126,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']]);
|
|
|
|
Common::del_user_cache($this->model->getTable(),$param['id']);
|
|
|
|
return $this->success();
|
...
|
...
|
|