正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -61,7 +61,7 @@ class HouseAdmin extends Backend | @@ -61,7 +61,7 @@ class HouseAdmin extends Backend | ||
61 | $list = collection($list)->toArray(); | 61 | $list = collection($list)->toArray(); |
62 | foreach ($list as &$v){ | 62 | foreach ($list as &$v){ |
63 | $v['user_id'] = Db::name('user')->where('id',$v['user_id'])->value('nickname'); | 63 | $v['user_id'] = Db::name('user')->where('id',$v['user_id'])->value('nickname'); |
64 | - $v['house_id'] = Db::name('house')->where('id',$v['house_id'])->value('name'); | 64 | + $v['house_id'] = Db::name('house')->where('id',$v['house_id'])->value('nickname'); |
65 | } | 65 | } |
66 | $result = array("total" => $total, "rows" => $list); | 66 | $result = array("total" => $total, "rows" => $list); |
67 | 67 |
-
请 注册 或 登录 后发表评论