作者 Cool
1 个管道 的构建 通过 耗费 0 秒

社区调试

@@ -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