Commit fdc67a72 authored by hujun's avatar hujun

楼盘列表

parent 68197d5d
......@@ -88,14 +88,10 @@ class GHouses extends BaseModel
foreach ($house_agents as $k2 => $v2) {
if ($v->id == $v2['houses_id']) {
if ($v2['type'] == 1) {
$result[$k]['agents_name'][$k2]['id'] = $v2['id'];
$result[$k]['agents_name'][$k2]['name'] = $v2['name'];
$result[$k]['agents_name'][$k2]['phone'] = $v2['phone'];
}
if ($v2['type'] == 2) {
$result[$k]['dish_name'][$k2]['id'] = $v2['id'];
$result[$k]['dish_name'][$k2]['name'] = $v2['name'];
$result[$k]['dish_name'][$k2]['phone'] = $v2['phone'];
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment