Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
knowledge_graph
Overview
Overview
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
Sun Long
knowledge_graph
Commits
989b2fd3
Commit
989b2fd3
authored
May 07, 2022
by
lyh3024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
Change-Id: I2b54aa0db593f5d86a92eaed5a0b982b712af7eb
parent
84745cef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
views.py
domain/views.py
+2
-2
No files found.
domain/views.py
View file @
989b2fd3
...
...
@@ -184,7 +184,7 @@ def get_request_ip_rank(request):
try
:
label
=
request
.
GET
.
get
(
"label"
)
from_time
=
request
.
GET
.
get
(
'from_time'
)
end_time
=
request
.
GET
.
get
(
'
to
_time'
)
end_time
=
request
.
GET
.
get
(
'
end
_time'
)
if
from_time
and
not
end_time
:
resp
=
tools
.
dec_error_resp
(
"end_time is null"
)
...
...
@@ -221,7 +221,7 @@ def get_dns_ip_rank(request):
try
:
label
=
request
.
GET
.
get
(
"label"
)
from_time
=
request
.
GET
.
get
(
'from_time'
)
end_time
=
request
.
GET
.
get
(
'
to
_time'
)
end_time
=
request
.
GET
.
get
(
'
end
_time'
)
if
from_time
and
not
end_time
:
resp
=
tools
.
dec_error_resp
(
"end_time is null"
)
...
...
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