mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
Update manage.py
This commit is contained in:
parent
17e2311815
commit
e5a0dcc097
1 changed files with 3 additions and 3 deletions
|
@ -562,7 +562,7 @@ def app_domain_delete(app_id):
|
|||
else:
|
||||
raise CommandException(const.ERROR_CLIENT_PARAM_NOTEXIST, "App has no proxy", "")
|
||||
|
||||
set_domain("", app_id)
|
||||
#set_domain("", app_id)
|
||||
|
||||
def app_domain_update(app_id, domains):
|
||||
|
||||
|
@ -611,7 +611,7 @@ def app_domain_update(app_id, domains):
|
|||
}
|
||||
|
||||
requests.put(url, data=json.dumps(data), headers=headers)
|
||||
set_domain(domains[0], app_id)
|
||||
#set_domain(domains[0], app_id)
|
||||
return domains
|
||||
else:
|
||||
raise CommandException(const.ERROR_CLIENT_PARAM_NOTEXIST, "App has no proxy", "")
|
||||
|
@ -661,7 +661,7 @@ def app_domain_add(app_id, domains):
|
|||
}
|
||||
|
||||
requests.post(url, data=json.dumps(data), headers=headers)
|
||||
set_domain(domains[0], app_id)
|
||||
#set_domain(domains[0], app_id)
|
||||
return domains
|
||||
|
||||
def check_domains(domains):
|
||||
|
|
Loading…
Reference in a new issue