正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -80,7 +80,7 @@ class RenewLogic extends BaseLogic | @@ -80,7 +80,7 @@ class RenewLogic extends BaseLogic | ||
| 80 | try { | 80 | try { |
| 81 | $this->model->edit(['project_id'=>$this->param['id'],'operator_id'=>$this->manager['id'],'status'=>1],['id'=>$this->param['renew_id']]); | 81 | $this->model->edit(['project_id'=>$this->param['id'],'operator_id'=>$this->manager['id'],'status'=>1],['id'=>$this->param['renew_id']]); |
| 82 | $this->saveLog($this->param['renew_id'],$this->param['service_duration'],$this->param['plan'],$info['amount'],$info['api_no'],$this->param['id']); | 82 | $this->saveLog($this->param['renew_id'],$this->param['service_duration'],$this->param['plan'],$info['amount'],$info['api_no'],$this->param['id']); |
| 83 | - $this->updateProject($this->param['id']); | 83 | + $this->updateProject($this->param['id'],$this->param['type']); |
| 84 | $this->updateProjectBuild($this->param['id'],$this->param['service_duration'],$this->param['plan']); | 84 | $this->updateProjectBuild($this->param['id'],$this->param['service_duration'],$this->param['plan']); |
| 85 | DB::commit(); | 85 | DB::commit(); |
| 86 | }catch (\Exception $e){ | 86 | }catch (\Exception $e){ |
| @@ -158,7 +158,7 @@ class RenewLogic extends BaseLogic | @@ -158,7 +158,7 @@ class RenewLogic extends BaseLogic | ||
| 158 | 'extend_type'=>0, | 158 | 'extend_type'=>0, |
| 159 | 'type'=>$type | 159 | 'type'=>$type |
| 160 | ],[ | 160 | ],[ |
| 161 | - 'id'=>$id | 161 | + 'project_id'=>$id |
| 162 | ]); | 162 | ]); |
| 163 | } | 163 | } |
| 164 | 164 |
-
请 注册 或 登录 后发表评论