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
21e688a2
Commit
21e688a2
authored
Jan 10, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
模型名修改2
parent
1169d610
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
PerformanceService.php
application/api_broker/service/PerformanceService.php
+3
-3
No files found.
application/api_broker/service/PerformanceService.php
View file @
21e688a2
...
@@ -12,7 +12,7 @@ use app\model\OMarchInModel;
...
@@ -12,7 +12,7 @@ use app\model\OMarchInModel;
use
app\model\OPayLogModel
;
use
app\model\OPayLogModel
;
use
app\model\OReportModel
;
use
app\model\OReportModel
;
use
app\model\TAgentTotalModel
;
use
app\model\TAgentTotalModel
;
use
app\model\UPhoneFollow
P
p
;
use
app\model\UPhoneFollow
U
p
;
use
app\model\Users
;
use
app\model\Users
;
use
think\Log
;
use
think\Log
;
...
@@ -759,7 +759,7 @@ class PerformanceService
...
@@ -759,7 +759,7 @@ class PerformanceService
}
}
$addUserList
[
$key
][
"user_phone"
]
=
preg_replace
(
'/(\d{3})\d{4}(\d{4})/'
,
'$1****$2'
,
$val
[
"user_phone"
]);
$addUserList
[
$key
][
"user_phone"
]
=
preg_replace
(
'/(\d{3})\d{4}(\d{4})/'
,
'$1****$2'
,
$val
[
"user_phone"
]);
$follow
=
new
UPhoneFollow
P
p
(
$site_id
);
$follow
=
new
UPhoneFollow
U
p
(
$site_id
);
$res
=
$follow
->
getLastPhoneFollowTime
(
$val
[
'id'
]);
$res
=
$follow
->
getLastPhoneFollowTime
(
$val
[
'id'
]);
$addUserList
[
$key
][
"last_phone_follow_time"
]
=
$res
[
0
][
'create_time'
]
?
$res
[
0
][
'create_time'
]
:
'暂无!'
;
$addUserList
[
$key
][
"last_phone_follow_time"
]
=
$res
[
0
][
'create_time'
]
?
$res
[
0
][
'create_time'
]
:
'暂无!'
;
...
@@ -856,7 +856,7 @@ class PerformanceService
...
@@ -856,7 +856,7 @@ class PerformanceService
$list
=
$this
->
agentModel
->
searchAgentsByKeywordPcInfo
(
$field
,
$params
,
$page_size
,
$page_no
);
$list
=
$this
->
agentModel
->
searchAgentsByKeywordPcInfo
(
$field
,
$params
,
$page_size
,
$page_no
);
foreach
(
$list
as
$key
=>
$val
)
{
foreach
(
$list
as
$key
=>
$val
)
{
$follow
=
new
UPhoneFollow
P
p
(
$site_id
);
$follow
=
new
UPhoneFollow
U
p
(
$site_id
);
$res
=
$follow
->
getLastPhoneFollowTime
(
$val
[
'id'
]);
$res
=
$follow
->
getLastPhoneFollowTime
(
$val
[
'id'
]);
$list
[
$key
][
"user_name"
]
=
$val
[
"user_name"
]
?
$val
[
"user_name"
]
:
''
;
$list
[
$key
][
"user_name"
]
=
$val
[
"user_name"
]
?
$val
[
"user_name"
]
:
''
;
$list
[
$key
][
"last_phone_follow_time"
]
=
$res
[
0
][
'create_time'
]
?
$res
[
0
][
'create_time'
]
:
'暂无!'
;
$list
[
$key
][
"last_phone_follow_time"
]
=
$res
[
0
][
'create_time'
]
?
$res
[
0
][
'create_time'
]
:
'暂无!'
;
...
...
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