Commit 6d7a3925 authored by clone's avatar clone

1

parent 8deed5de
...@@ -68,8 +68,14 @@ class FindShop extends Basic ...@@ -68,8 +68,14 @@ class FindShop extends Basic
$findShopModel = new UFindShop(); $findShopModel = new UFindShop();
$field = "a.id,a.user_id,a.user_name,a.site_id,a.city,a.disc,a.business_district_id,a.business_district_name, $field = "a.id,a.user_id,a.user_name,a.site_id,a.city,a.disc,a.business_district_id,a.business_district_name,
a.industry_type,a.area_start,a.area_end,a.price_type,a.price_start,a.price_end,a.update_time,a.create_time"; a.industry_type,a.area_start,a.area_end,a.price_type,a.price_start,a.price_end,a.update_time,a.create_time,b.user_phone";
$result = $findShopModel->getFindShopAndUserList($field, $conditions, 1, 1); $result = $findShopModel->getFindShopAndUserList($field, $conditions, 1, 1);
foreach ($result as $key=>$item){
$result[$key]["user_phone"] = substr_replace($item["user_phone"], '****', 3, 4);
}
return $this->response("200", "success", $result); return $this->response("200", "success", $result);
......
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