Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
bc5e677e
Commit
bc5e677e
authored
Aug 28, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
c626228b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
PerformanceService.php
application/api_broker/service/PerformanceService.php
+2
-0
No files found.
application/api_broker/service/PerformanceService.php
View file @
bc5e677e
...
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment