mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
Update manage.py
This commit is contained in:
parent
b54bd8485b
commit
b5609a5e42
@ -7,8 +7,9 @@ from api.model.app import App
|
|||||||
# 获取所有app的信息
|
# 获取所有app的信息
|
||||||
def get_my_app(app_name=None):
|
def get_my_app(app_name=None):
|
||||||
#{"name":"id",...}
|
#{"name":"id",...}
|
||||||
ip_result = shell_execute.execute_command_output_all("curl ifconfig.me")
|
#ip_result = shell_execute.execute_command_output_all("curl ifconfig.me")
|
||||||
ip = ip_result["result"]
|
#ip = ip_result["result"]
|
||||||
|
ip="localhost"
|
||||||
ret = {}
|
ret = {}
|
||||||
ret["code"] = -1
|
ret["code"] = -1
|
||||||
ret["message"] = "app查询失败"
|
ret["message"] = "app查询失败"
|
||||||
|
Loading…
Reference in New Issue
Block a user