Add [type] to fillable property to allow mass assignment on

laravel 报错 Add [type] to fillable property to allow mass assignment on 解决方法: 在对应的模型添加 protected $fillable 例如: protected $fillable = [ 'type' ];

六月七
请先登录后发表评论
  • latest comments
  • 总共0条评论