Commit 2fd98b63 authored by zhuwei's avatar zhuwei

编号id改成房东id

parent 687cbc06
...@@ -587,7 +587,7 @@ class Shop extends Basic ...@@ -587,7 +587,7 @@ class Shop extends Basic
$result['landlord_phone'] = $m_landlord->getAllList('id,name,phone',['house_id'=>$params["id"], 'status'=>0]); $result['landlord_phone'] = $m_landlord->getAllList('id,name,phone',['house_id'=>$params["id"], 'status'=>0]);
foreach ($result['landlord_phone'] as $kk=>$vv){ foreach ($result['landlord_phone'] as $kk=>$vv){
$result['landlord_phone'][$kk]['phone'] = substr_replace($result['landlord_phone'][$kk]['phone'], '****', 3, 4); $result['landlord_phone'][$kk]['phone'] = substr_replace($result['landlord_phone'][$kk]['phone'], '****', 3, 4);
$result['landlord_phone'][$kk]['name'] = '(编号ID:'.$result['landlord_phone'][$kk]['id'].')'.$result['landlord_phone'][$kk]['name']; $result['landlord_phone'][$kk]['name'] = '(房东ID:'.$result['landlord_phone'][$kk]['id'].')'.$result['landlord_phone'][$kk]['name'];
} }
$result['is_show_landlord'] = 1; $result['is_show_landlord'] = 1;
} else { } else {
......
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