作者 lyh

gx

... ... @@ -80,7 +80,7 @@ class RenewLogic extends BaseLogic
try {
$this->model->edit(['project_id'=>$this->param['id'],'operator_id'=>$this->manager['id'],'status'=>1],['id'=>$this->param['renew_id']]);
$this->saveLog($this->param['renew_id'],$this->param['service_duration'],$this->param['plan'],$info['amount'],$info['api_no'],$this->param['id']);
$this->updateProject($this->param['id']);
$this->updateProject($this->param['id'],$this->param['type']);
$this->updateProjectBuild($this->param['id'],$this->param['service_duration'],$this->param['plan']);
DB::commit();
}catch (\Exception $e){
... ... @@ -158,7 +158,7 @@ class RenewLogic extends BaseLogic
'extend_type'=>0,
'type'=>$type
],[
'id'=>$id
'project_id'=>$id
]);
}
... ...