正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -814,7 +814,7 @@ class ProjectController extends BaseController | @@ -814,7 +814,7 @@ class ProjectController extends BaseController | ||
| 814 | public function saveOtherProject(ProjectLogic $logic){ | 814 | public function saveOtherProject(ProjectLogic $logic){ |
| 815 | $this->request->validate([ | 815 | $this->request->validate([ |
| 816 | 'project_id'=>'required', | 816 | 'project_id'=>'required', |
| 817 | - 'other_project'=>'required' | 817 | + 'other_project'=>'required|array' |
| 818 | ],[ | 818 | ],[ |
| 819 | 'project_id.required' => 'project_id不能为空', | 819 | 'project_id.required' => 'project_id不能为空', |
| 820 | 'other_project.required' => '其他项目设置不能为空', | 820 | 'other_project.required' => '其他项目设置不能为空', |
-
请 注册 或 登录 后发表评论