laravel vue spa代理token这节课的问题

{message: “The given data was invalid.”, errors: {email: [“The email field is required.”]}
errors:{email: [“The email field is required.”]}message:"The given data was invalid."
POST http://www.eidetika-admin.com/api/login 422 (Unprocessable Entity)

public function login()
{
$this->validateLogin(request());
return $this->proxy->proxy(‘password’,[
‘username’=>request(‘username’),
‘password’=>request(‘password’),
‘scope’=>’’,
]);
}
username我并没有像老师那样取的是email,因为我vue用的也是username,请问是什么原因呢,我一直跟着视频走

JellyBool
修改的评论也不能少于六个字哦!