laravel 如何把 belongsTo 的某字段隐藏掉?
原来的:
这样做可以把某些属性隐藏掉:
————————————
但我想把 belongsTo 来的 user_id
过滤掉,要怎么过滤?
推荐文章: