无法更新 registration_id
使用Postman
更新registration_id
,提示:
{
"message": "The given data was invalid.",
"errors": {
"name": [
"用户名不能为空。"
],
"email": [
"邮箱 不能为空。"
]
}
}
看了UserRequest.php
文件,如果不提交name
、email
在设定上确实会报错,为何课程截图用Postman
可以成功修改registration_id
?
推荐文章: