laravel Method Illuminate\Validation\Validator::validateReuqired does not exist.

Method Illuminate\Validation\Validator::validateReuqired does not exist.
此错误是由于我们在配置验证时,写错了关键字,

 public function rules()
    {
        return [
            'file'=>'required',
            'folder'=>'reqiured',    // 这里reqiured错误,应该required
        ];
    }

posted @ 2019-07-27 17:49  星空天宇  阅读(2243)  评论(0编辑  收藏  举报