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
09db477d
Commit
09db477d
authored
Apr 08, 2020
by
金凯强
🎨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复没有返回值的错误
parent
98b5be5b
Pipeline
#22225
failed with stage
in 11 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
application_api.py
app/application/application_api.py
+4
-4
No files found.
app/application/application_api.py
View file @
09db477d
...
@@ -17,7 +17,7 @@ class ApplicationAPI(ApiController):
...
@@ -17,7 +17,7 @@ class ApplicationAPI(ApiController):
获取app列表
获取app列表
:return:
:return:
'''
'''
ApplicationService
()
.
get_application_list
(
project_no
)
return
ApplicationService
()
.
get_application_list
(
project_no
)
@
api
(
'<string:project_no>'
)
@
api
(
'<string:project_no>'
)
def
post_edit_application_setting
(
self
,
project_no
):
def
post_edit_application_setting
(
self
,
project_no
):
...
@@ -26,7 +26,7 @@ class ApplicationAPI(ApiController):
...
@@ -26,7 +26,7 @@ class ApplicationAPI(ApiController):
:param project_no:
:param project_no:
:return:
:return:
'''
'''
ApplicationService
()
.
edit_application_list
(
project_no
,
request
.
json
)
return
ApplicationService
()
.
edit_application_list
(
project_no
,
request
.
json
)
@
api
(
'test_port/<string:project_no>'
)
@
api
(
'test_port/<string:project_no>'
)
def
get_port_list
(
self
,
project_no
):
def
get_port_list
(
self
,
project_no
):
...
@@ -35,7 +35,7 @@ class ApplicationAPI(ApiController):
...
@@ -35,7 +35,7 @@ class ApplicationAPI(ApiController):
:param project_no:
:param project_no:
:return:
:return:
'''
'''
ApplicationService
()
.
get_port_list
(
project_no
)
return
ApplicationService
()
.
get_port_list
(
project_no
)
@
api
(
'test_port/<string:project_no>'
)
@
api
(
'test_port/<string:project_no>'
)
def
post_port_list
(
self
,
project_no
):
def
post_port_list
(
self
,
project_no
):
...
@@ -44,4 +44,4 @@ class ApplicationAPI(ApiController):
...
@@ -44,4 +44,4 @@ class ApplicationAPI(ApiController):
:param project_no:
:param project_no:
:return:
:return:
'''
'''
ApplicationService
()
.
test_port
(
project_no
,
request
.
json
)
return
ApplicationService
()
.
test_port
(
project_no
,
request
.
json
)
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