Commit 12c37e34 authored by hujun's avatar hujun

新增房东手机号

parent 03b1e577
......@@ -105,15 +105,16 @@ class HouseService
}
}
if (!empty($landlord_phone_new)) {
$landlord_phone_old = $this->landlordPhoneEditV2($landlord_phone_new, $data['id']);
if (!empty($data['id'])) {
if (!empty($landlord_phone_new)) {
$landlord_phone_old = $this->landlordPhoneEditV2($landlord_phone_new, $data['id']);
if (!empty($landlord_phone_old)) {
$remark .= implode(',', $landlord_phone_old).',';
if (!empty($landlord_phone_old)) {
$remark .= implode(',', $landlord_phone_old).',';
}
}
}
if (!empty($data['id'])) {
$house_data = $this->m_house->getHouseInfo('id,internal_address,internal_title,shop_area_start,is_vip,residue_num', ['id' => $data['id']]);
if (empty($house_data[0]['id'])) {
$result['status'] = 'fail';
......@@ -171,6 +172,10 @@ class HouseService
return $result;
}
if (empty($data['id']) && !empty($landlord_phone_new)) {
$this->landlordPhoneEditV2($landlord_phone_new, $house_id);
}
$house_img = new GHousesImgs();
//商铺扩展字段
......
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