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
e7dd0698
Commit
e7dd0698
authored
Oct 22, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
区分城市
parent
8d622287
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Performance.php
application/api_broker/controller/Performance.php
+1
-1
PerformanceService.php
application/api_broker/service/PerformanceService.php
+2
-2
No files found.
application/api_broker/controller/Performance.php
View file @
e7dd0698
...
...
@@ -625,7 +625,7 @@ class Performance extends Basic
$page_no
=
empty
(
$params
[
'page_no'
])
?
1
:
$params
[
'page_no'
];
$page_size
=
empty
(
$params
[
'page_size'
])
?
15
:
$params
[
'page_size'
];
// dump($params);
$result
=
$this
->
service_
->
getTeamNumPcInfo
(
$params
[
"id"
],
$params
[
"type"
],
$start_day
,
$end_day
,
$page_no
,
$page_size
);
$result
=
$this
->
service_
->
getTeamNumPcInfo
(
$params
[
"id"
],
$params
[
"type"
],
$start_day
,
$end_day
,
$page_no
,
$page_size
,
$this
->
siteId
);
if
(
$result
[
"code"
]
==
101
)
{
return
$this
->
response
(
"101"
,
$result
[
"date"
]);
}
else
{
...
...
application/api_broker/service/PerformanceService.php
View file @
e7dd0698
...
...
@@ -823,7 +823,7 @@ class PerformanceService
* @param $page_size
* @return array
*/
public
function
getTeamNumPcInfo
(
$id
,
$type
,
$
start_time
,
$end_time
,
$page_no
,
$page_size
)
public
function
getTeamNumPcInfo
(
$id
,
$type
,
$
page_no
,
$page_size
,
$site_id
)
{
if
(
$type
==
2
)
{
...
...
@@ -837,7 +837,7 @@ class PerformanceService
$list
=
$this
->
agentModel
->
searchAgentsByKeywordPcInfo
(
$field
,
$params
,
$page_size
,
$page_no
);
foreach
(
$list
as
$key
=>
$val
)
{
$follow
=
new
UPhoneFollowPp
();
$follow
=
new
UPhoneFollowPp
(
$site_id
);
$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'
]
:
'暂无!'
;
...
...
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