tp5 用join 链表查询后得到的数据如何整理

浏览:1366 发布日期:2018/02/02 分类:ThinkPHP5专区
{
"goods_id": 1,
"goods_uid": 2,
"goods_cid": 1,
...
"user_id": 2,
"user_name": "xxx",
}
===>
{
goods_id:1,
...
user:{
user_name:xxx,
...
}
}
最佳答案
评论( 相关
后面还有条评论,点击查看>>