作者 lyh

变更数据

@@ -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'];