正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -173,6 +173,7 @@ class Ticket5UploadDataController extends BaseController | @@ -173,6 +173,7 @@ class Ticket5UploadDataController extends BaseController | ||
| 173 | $info = $this->model->read(['project_id' => $this->param['post_id'],'project_type'=>$this->model::TYPE_FIVE ,'type' => $this->param['type'], 'text' => $this->param['text'], 'status' => 0]); | 173 | $info = $this->model->read(['project_id' => $this->param['post_id'],'project_type'=>$this->model::TYPE_FIVE ,'type' => $this->param['type'], 'text' => $this->param['text'], 'status' => 0]); |
| 174 | if ($info === false) { | 174 | if ($info === false) { |
| 175 | $this->param['project_type'] = $this->model::TYPE_FIVE ; | 175 | $this->param['project_type'] = $this->model::TYPE_FIVE ; |
| 176 | + $this->param['project_id'] = $this->param['post_id']; | ||
| 176 | $id = $this->model->addReturnId($this->param); | 177 | $id = $this->model->addReturnId($this->param); |
| 177 | } else { | 178 | } else { |
| 178 | $id = $info['id']; | 179 | $id = $info['id']; |
-
请 注册 或 登录 后发表评论