作者 lyh

gx

... ... @@ -59,7 +59,6 @@ class SyncProject extends Command
$this->retry($item);
}
if($data['data']['order_type'] == '首次'){
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(111111, true) . PHP_EOL, FILE_APPEND);
ProjectLogic::instance()->sync($data['data']);
}
if($data['data']['order_type'] == '续费'){
... ...
... ... @@ -217,6 +217,7 @@ class ProjectLogic extends BaseLogic
return true;
}
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(33333333, true) . PHP_EOL, FILE_APPEND);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($param['deploy_optimize'], true) . PHP_EOL, FILE_APPEND);
$data = $param['deploy_optimize'];
$data['minor_keywords'] = json_encode($data['minor_keywords']) ?? '';
$data['project_id'] = $param['id'];
... ... @@ -347,9 +348,7 @@ class ProjectLogic extends BaseLogic
$data['id'] = $res['id'];
$this->setPostId($data['deploy_build']['plan'],$res['id']);
$this->savePayment($data);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(22222, true) . PHP_EOL, FILE_APPEND);
$this->saveDeployBuild($data);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(4444, true) . PHP_EOL, FILE_APPEND);
$this->saveDeployOptimize($data);
// DB::commit();
// }catch (\Exception $e){
... ...