合并分支 'lyh-server' 到 'master'
变更数据 查看合并请求 !3217
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -147,7 +147,7 @@ class Ticket5UploadDataController extends BaseController | @@ -147,7 +147,7 @@ class Ticket5UploadDataController extends BaseController | ||
| 147 | 'type' => 'required', | 147 | 'type' => 'required', |
| 148 | 'text' => 'required' | 148 | 'text' => 'required' |
| 149 | ], [ | 149 | ], [ |
| 150 | - 'post_id.required' => 'project_id不能为空', | 150 | + 'post_id.required' => 'post_id不能为空', |
| 151 | 'type.required' => '类型不能为空', | 151 | 'type.required' => '类型不能为空', |
| 152 | 'text' => '数据详情不为空' | 152 | 'text' => '数据详情不为空' |
| 153 | ]); | 153 | ]); |
| @@ -170,7 +170,7 @@ class Ticket5UploadDataController extends BaseController | @@ -170,7 +170,7 @@ class Ticket5UploadDataController extends BaseController | ||
| 170 | } | 170 | } |
| 171 | $this->response('success'); | 171 | $this->response('success'); |
| 172 | }else{ | 172 | }else{ |
| 173 | - $info = $this->model->read(['post_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 | $id = $this->model->addReturnId($this->param); | 176 | $id = $this->model->addReturnId($this->param); |
-
请 注册 或 登录 后发表评论