作者 lyh

gx

... ... @@ -178,10 +178,14 @@ class SyncProject extends Command
'project_after' => [],
'payment' => [
'amount' => $param['plan_price'],
'contract' => !empty($param['files']) ? json_encode($param['files']) : " ",
'bill' => !empty($param['images']) ? json_encode($param['images']) : " ",
],
];
if(!empty($param['files'])){
$data['payment']['contract'] = json_encode($param['files']);
}
if(!empty($param['images'])){
$data['payment']['bill'] = json_encode($param['images']);
}
DB::beginTransaction();
try {
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(1111, true) . PHP_EOL, FILE_APPEND);
... ...