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
        ];
    }
上一篇:安全系列 —— 登录认证


下一篇:Laravel Session() 失效的问题