Laravel 某个字段无法修改是,检查 $fillable, 是否包含你想要修改的字段

protected $fillable = [
'name',
'email',
'mobile',
'password',
'status',
'role_id'
];
posted @ 2021-01-30 18:07  winyh  阅读(628)  评论(0编辑  收藏  举报