|
...
|
...
|
@@ -173,6 +173,7 @@ class Ticket5UploadDataController extends BaseController |
|
|
|
$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]);
|
|
|
|
if ($info === false) {
|
|
|
|
$this->param['project_type'] = $this->model::TYPE_FIVE ;
|
|
|
|
$this->param['project_id'] = $this->param['post_id'];
|
|
|
|
$id = $this->model->addReturnId($this->param);
|
|
|
|
} else {
|
|
|
|
$id = $info['id'];
|
...
|
...
|
|