Commit 4c0a7f8f authored by hujun's avatar hujun

****

parent 247f5dd7
...@@ -580,6 +580,7 @@ class Shop extends Basic ...@@ -580,6 +580,7 @@ class Shop extends Basic
$m_landlord = new GLandlordPhone(); $m_landlord = new GLandlordPhone();
$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]['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;
......
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