Commit 578fdd3f authored by hujun's avatar hujun

1

parent 33d16f1d
......@@ -461,6 +461,9 @@ class Shop extends Basic
if ($is_show_landlord) {
$m_landlord = new GLandlordPhone();
$result['landlord_phone'] = $m_landlord->getAllList('id,name,phone',['house_id'=>$params["id"], 'status'=>1]);
foreach ($result['landlord_phone'] as $kk=>$vv){
$result['landlord_phone'][$kk]['name'] = '(编号ID:'.$result['landlord_phone'][$kk]['id'].')'.$result['landlord_phone'][$kk]['name'];
}
$result['is_show_landlord'] = 1;
} else {
$result['landlord_phone'] = [['name'=> '', 'phone'=>'']];
......
......@@ -78,7 +78,7 @@ class HouseService
} else {
$landlord_phone_new = $data['landlord_phone'];
}
$landlord_phone_old = $this->landlordPhoneEdit($landlord_phone_new, $data['id']);die;
if (!empty($data['id'])) {
$house_data = $this->m_house->getHouseInfo('id,internal_address,internal_title', ['id' => $data['id']]);
if (empty($house_data[0]['id'])) {
......
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