Commit 09db477d authored by 金凯强's avatar 金凯强 🎨

修复没有返回值的错误

parent 98b5be5b
Pipeline #22225 failed with stage
in 11 seconds
...@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment