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
b2f94d03
Commit
b2f94d03
authored
Apr 09, 2020
by
金凯强
🎨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
端口列表显示错误问题修复
parent
ed5e14e0
Pipeline
#22364
passed with stage
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
application_service.py
app/application/application_service.py
+12
-3
No files found.
app/application/application_service.py
View file @
b2f94d03
...
...
@@ -141,28 +141,37 @@ where B.default_version=1'''
app_list
=
[]
for
app_str
in
app_str_list
:
_dict
=
{}
app_dict
=
json
.
loads
(
app_str
,
encoding
=
'utf8'
)
app_code
=
app_dict
.
get
(
'app_code'
)
_dict
[
'app_code'
]
=
app_code
_dict
[
'status'
]
=
'未测试'
api_port
=
app_dict
.
get
(
'api_port'
)
if
api_port
:
_dict
=
{}
_dict
[
'app_code'
]
=
app_code
_dict
[
'status'
]
=
'未测试'
_dict
[
'port'
]
=
api_port
app_list
.
append
(
_dict
)
api_port2
=
app_dict
.
get
(
'api_port2'
)
if
api_port2
:
_dict
=
{}
_dict
[
'app_code'
]
=
app_code
_dict
[
'status'
]
=
'未测试'
_dict
[
'port'
]
=
api_port2
app_list
.
append
(
_dict
)
web_port
=
app_dict
.
get
(
'web_port'
)
if
web_port
:
_dict
=
{}
_dict
[
'app_code'
]
=
app_code
_dict
[
'status'
]
=
'未测试'
_dict
[
'port'
]
=
web_port
app_list
.
append
(
_dict
)
web_port2
=
app_dict
.
get
(
'web_port2'
)
if
web_port2
:
_dict
=
{}
_dict
[
'app_code'
]
=
app_code
_dict
[
'status'
]
=
'未测试'
_dict
[
'port'
]
=
web_port2
app_list
.
append
(
_dict
)
...
...
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