Commit bc5e677e authored by zhuwei's avatar zhuwei

bug

parent c626228b
......@@ -799,6 +799,7 @@ class PerformanceService
$field = "a.id,a.user_name,a.user_phone,a.predict_see_time,a.create_time,a.report_agent_name,c.internal_title as house_title,c.shop_type,e.store_name,b.id as order_id";
$reportList = $this->reportModel->getAddReportListPcInfo($params, $field, $page_no, $page_size);
foreach ($reportList as $key => $val) {
$reportList[$key]["user_name"] = $val["user_name"]?$val["user_name"]:'';
$reportList[$key]["user_phone"] = preg_replace('/(\d{3})\d{4}(\d{4})/', '$1****$2', $val["user_phone"]);
}
return [ "code" => 200, "date" => $reportList ];
......@@ -831,6 +832,7 @@ class PerformanceService
foreach ($list as $key => $val) {
$follow = new UPhoneFollowPp();
$res = $follow->getLastPhoneFollowTime($val['id']);
$list[$key]["user_name"] = $val["user_name"]?$val["user_name"]:'';
$list[$key]["last_phone_follow_time"] = $res[0]['create_time'] ? $res[0]['create_time'] : '暂无!';
}
return [ "code" => 200, "date" => $list ];
......
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