作者 lyh

gx

... ... @@ -178,8 +178,8 @@ 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']) : '',
'contract' => !empty($param['files']) ? json_encode($param['files']) : json_encode([]),
'bill' => !empty($param['images']) ? json_encode($param['images']) : json_encode([]),
],
];
DB::beginTransaction();
... ...