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
1277ba35
Commit
1277ba35
authored
Jan 18, 2019
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
2b82c6eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
PerformanceService.php
application/api_broker/service/PerformanceService.php
+7
-5
No files found.
application/api_broker/service/PerformanceService.php
View file @
1277ba35
...
@@ -420,13 +420,15 @@ class PerformanceService
...
@@ -420,13 +420,15 @@ class PerformanceService
}
}
/**
/**组装请求参数
* 组装请求参数
* @param $agent_id
* @param $agent_id
* @param $type
* @param $type
* @param $start_time
* @param $start_time
* @param $end_time
* @param $end_time
* @return array
* @return null
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
*/
private
function
getAgentId
(
$agent_id
,
$type
,
$start_time
,
$end_time
)
private
function
getAgentId
(
$agent_id
,
$type
,
$start_time
,
$end_time
)
{
{
...
@@ -437,12 +439,12 @@ class PerformanceService
...
@@ -437,12 +439,12 @@ class PerformanceService
break
;
break
;
case
2
:
case
2
:
$verify
=
new
VerifyService
();
$verify
=
new
VerifyService
();
$agent_ids
=
$verify
->
getAgentsByAgentId
(
$agent_id
);
$agent_ids
=
$verify
->
getAgentsByAgentId
AndStatus
(
$agent_id
);
$params
[
"agent_id"
]
=
array
(
"in"
,
$agent_ids
);
$params
[
"agent_id"
]
=
array
(
"in"
,
$agent_ids
);
break
;
break
;
case
3
:
case
3
:
$verify
=
new
VerifyService
();
$verify
=
new
VerifyService
();
$agent_ids
=
$verify
->
getAgentsByAgentId
(
$agent_id
);
$agent_ids
=
$verify
->
getAgentsByAgentId
AndStatus
(
$agent_id
);
$params
[
"agent_id"
]
=
array
(
"in"
,
$agent_ids
);
$params
[
"agent_id"
]
=
array
(
"in"
,
$agent_ids
);
break
;
break
;
default
:
default
:
...
...
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