作者 lyh

gx

... ... @@ -185,8 +185,6 @@ class SyncProject extends Command
];
// DB::beginTransaction();
// try {
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(222222, true) . PHP_EOL, FILE_APPEND);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($data['project'], true) . PHP_EOL, FILE_APPEND);
$res = $this->saveProject($data['project']);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(333333, true) . PHP_EOL, FILE_APPEND);
$id = $res['id'];
... ... @@ -254,6 +252,8 @@ class SyncProject extends Command
$param['confirm_file'] = Arr::a2s($param['confirm_file']);
}
$projectModel = new Project();
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(222222, true) . PHP_EOL, FILE_APPEND);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($param, true) . PHP_EOL, FILE_APPEND);
return $projectModel->addReturnId($param);
}
... ...