查询到的$data可以使用->toArray()来变成数组
使用visiable('')或者hidden('');来决定什么要显示,什么不显示
append(),往数组里追加一些内容
转换成JSON:$data->toJson()