Commit 49567933 authored by zhuwei's avatar zhuwei

进场记录隐藏客户电话

parent f8e8e5e9
...@@ -93,9 +93,14 @@ class MarchIn extends Basic ...@@ -93,9 +93,14 @@ class MarchIn extends Basic
$data['list'] = $this->oMarchInModel->findmarchInList($pageNo, $pageSize, 'a.id desc', $fields_evaluate, $where); $data['list'] = $this->oMarchInModel->findmarchInList($pageNo, $pageSize, 'a.id desc', $fields_evaluate, $where);
$data['total'] = $this->oMarchInModel->findmarchInListCount($fields_evaluate, $where); $data['total'] = $this->oMarchInModel->findmarchInListCount($fields_evaluate, $where);
//var_dump($result); //var_dump($result);
//return $result; //return $result;
foreach ($data['list'] as $k=>$v) {
$data['list'][$k]['user_phone'] = preg_replace('/(\d{3})\d{4}(\d{4})/', '$1****$2', $v["user_phone"]);
}
return $this->response(200, 'success', $data); return $this->response(200, 'success', $data);
} }
......
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