From b5609a5e4257dc323bdfc19a706ada2ff1cdc5b5 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Thu, 2 Mar 2023 15:03:27 +0800 Subject: [PATCH] Update manage.py --- appmanage/api/service/manage.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index 6820c7b5..184d51b4 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -7,8 +7,9 @@ from api.model.app import App # 获取所有app的信息 def get_my_app(app_name=None): #{"name":"id",...} - ip_result = shell_execute.execute_command_output_all("curl ifconfig.me") - ip = ip_result["result"] + #ip_result = shell_execute.execute_command_output_all("curl ifconfig.me") + #ip = ip_result["result"] + ip="localhost" ret = {} ret["code"] = -1 ret["message"] = "app查询失败"