正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
| @@ -102,11 +102,11 @@ class GeoQuestionController extends BaseController | @@ -102,11 +102,11 @@ class GeoQuestionController extends BaseController | ||
| 102 | 'type'=>'required', | 102 | 'type'=>'required', |
| 103 | ],[ | 103 | ],[ |
| 104 | 'project_id.required' => '项目ID不能为空', | 104 | 'project_id.required' => '项目ID不能为空', |
| 105 | - 'question.required' => '项目ID不能为空', | ||
| 106 | - 'keywords.required' => '项目ID不能为空', | ||
| 107 | - 'url.required' => '项目ID不能为空', | ||
| 108 | - 'status.required' => '项目ID不能为空', | ||
| 109 | - 'type.required' => '类型不能为空', | 105 | + 'question.required' => 'question不能为空', |
| 106 | + 'keywords.required' => 'keywords不能为空', | ||
| 107 | + 'url.required' => 'url不能为空', | ||
| 108 | + 'status.required' => 'status不能为空', | ||
| 109 | + 'type.required' => 'type类型不能为空', | ||
| 110 | ]); | 110 | ]); |
| 111 | $data = $this->logic->saveGeoQuestion(); | 111 | $data = $this->logic->saveGeoQuestion(); |
| 112 | $this->response('success',Code::SUCCESS,$data); | 112 | $this->response('success',Code::SUCCESS,$data); |
-
请 注册 或 登录 后发表评论