|
...
|
...
|
@@ -99,7 +99,6 @@ class ProjectLogic extends BaseLogic |
|
|
|
DB::commit();
|
|
|
|
}catch (\Exception $e){
|
|
|
|
DB::rollBack();
|
|
|
|
Log::error($e->getMessage());
|
|
|
|
$this->fail('error');
|
|
|
|
}
|
|
|
|
return $this->success();
|
|
...
|
...
|
@@ -277,8 +276,8 @@ class ProjectLogic extends BaseLogic |
|
|
|
'plan' => $param['deploy_build']['plan'],
|
|
|
|
// 'api_no' => $param['id'], //改手动填
|
|
|
|
'amount' => $param['payment']['amount'],
|
|
|
|
'contract' => json_encode($param['payment']['files']),
|
|
|
|
'bill' => json_encode($param['payment']['images']),
|
|
|
|
'contract' => json_encode($param['payment']['contract']),
|
|
|
|
'bill' => json_encode($param['payment']['bill']),
|
|
|
|
];
|
|
|
|
$renewModel = new ProjectRenew();
|
|
|
|
$renewModel->add($data);
|
...
|
...
|
|