作者 lyh

变更数据

@@ -91,7 +91,7 @@ class TicketUploadDataController extends BaseController @@ -91,7 +91,7 @@ class TicketUploadDataController extends BaseController
91 ]); 91 ]);
92 //验证当前数据是否已提交 92 //验证当前数据是否已提交
93 $this->param['text'] = json_encode($this->param['text'], true); 93 $this->param['text'] = json_encode($this->param['text'], true);
94 - $info = $this->model->read(['project_id' => $this->$this->param['project_id'], 'type' => $this->param['type'], 'text' => $this->param['text'], 'status' => 0]); 94 + $info = $this->model->read(['project_id' => $this->param['project_id'], 'type' => $this->param['type'], 'text' => $this->param['text'], 'status' => 0]);
95 if ($info === false) { 95 if ($info === false) {
96 $id = $this->model->addReturnId($this->param); 96 $id = $this->model->addReturnId($this->param);
97 } else { 97 } else {