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
1dfe7885
Commit
1dfe7885
authored
Mar 01, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fbc577c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
Report.php
application/api_broker/controller/Report.php
+1
-2
No files found.
application/api_broker/controller/Report.php
View file @
1dfe7885
...
@@ -132,7 +132,6 @@ class Report extends Basic
...
@@ -132,7 +132,6 @@ class Report extends Basic
$result
=
[];
$result
=
[];
if
(
isset
(
$params
[
"is_all"
])
&&
$params
[
"is_all"
]
==
1
){
if
(
isset
(
$params
[
"is_all"
])
&&
$params
[
"is_all"
]
==
1
){
$check_type
=
$this
->
service_
->
getCheckType
(
$this
->
agentId
);
$check_type
=
$this
->
service_
->
getCheckType
(
$this
->
agentId
);
$check_type
=
1
;
if
(
$check_type
==
0
)
{
if
(
$check_type
==
0
)
{
return
$this
->
response
(
101
,
"暂无权限"
);
return
$this
->
response
(
101
,
"暂无权限"
);
}
}
...
@@ -161,7 +160,7 @@ class Report extends Basic
...
@@ -161,7 +160,7 @@ class Report extends Basic
if
(
$result
==
0
)
{
if
(
$result
==
0
)
{
return
$this
->
response
(
101
,
"暂无权限"
);
return
$this
->
response
(
101
,
"暂无权限"
);
}
else
{
}
else
{
return
$this
->
response
(
"200"
,
"request success"
,
$result
);
return
$this
->
response
(
"200"
,
"request success"
,
[
'check_type'
=>
$result
]
);
}
}
}
}
...
...
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