Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
I
install.api
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
Script
install.api
Commits
08f5aa05
Commit
08f5aa05
authored
Apr 09, 2020
by
金凯强
🎨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试端口,传入空数据,返回为空
parent
b2f94d03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
application_service.py
app/application/application_service.py
+3
-1
No files found.
app/application/application_service.py
View file @
08f5aa05
...
@@ -184,10 +184,12 @@ where B.default_version=1'''
...
@@ -184,10 +184,12 @@ where B.default_version=1'''
:param json_data:
:param json_data:
:return:
:return:
'''
'''
if
not
json_data
:
return
[]
# 受黄总压迫,这里要排序一下
# 受黄总压迫,这里要排序一下
project_info
=
ConnectionService
()
.
get_project_info
(
project_no
)
project_info
=
ConnectionService
()
.
get_project_info
(
project_no
)
host_ip
=
project_info
[
'host_ip'
]
host_ip
=
project_info
[
'host_ip'
]
info_list
=
[]
info_list_success
=
[]
info_list_success
=
[]
info_list_fail
=
[]
info_list_fail
=
[]
for
port_info
in
json_data
:
for
port_info
in
json_data
:
...
...
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