mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-09-12 04:27:39 +02:00
Update to v8.16.0
This commit is contained in:
@@ -628,7 +628,7 @@ class main(sslBase):
|
||||
public.M('ssl_info').delete(id=target["id"])
|
||||
|
||||
if target["cloud_id"] != -1 and cloud:
|
||||
url = "https://wafapi2.aapanel.com/api/Cert_cloud_deploy/del_cert"
|
||||
url = f"{public.OfficialWaf2Base()}/api/Cert_cloud_deploy/del_cert"
|
||||
try:
|
||||
res_text = public.httpPost(url, {
|
||||
"cert_id": target["cloud_id"],
|
||||
@@ -699,7 +699,7 @@ class main(sslBase):
|
||||
data["privateKey"] = AES.aes_encrypt(data["privateKey"])
|
||||
data["certificate"] = AES.aes_encrypt(data["certificate"])
|
||||
# 对接云端
|
||||
url = "https://wafapi2.aapanel.com/api/Cert_cloud_deploy/cloud_deploy"
|
||||
url = f"{public.OfficialWaf2Base()}/api/Cert_cloud_deploy/cloud_deploy"
|
||||
|
||||
try:
|
||||
res_text = public.httpPost(url, data)
|
||||
@@ -1284,7 +1284,7 @@ class main(sslBase):
|
||||
AES = AesCryptPy3(key, "CBC", iv, char_set="utf8")
|
||||
|
||||
# 对接云端
|
||||
url = "https://wafapi2.aapanel.com/api/Cert_cloud_deploy/get_cert_list"
|
||||
url = f"{public.OfficialWaf2Base()}/api/Cert_cloud_deploy/get_cert_list"
|
||||
try:
|
||||
res_text = public.httpPost(url, {
|
||||
"uid": user_info["uid"],
|
||||
|
||||
Reference in New Issue
Block a user