mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:29:25 +08:00
up
This commit is contained in:
@@ -707,7 +707,7 @@ class site_api:
|
||||
|
||||
for x in order_list:
|
||||
if order_list[x]['status'] == 'valid':
|
||||
for d in range(len(order_list[x]['domains'])):
|
||||
for d in order_list[x]['domains']:
|
||||
if d == site_name:
|
||||
return x
|
||||
return False
|
||||
|
||||
@@ -1811,7 +1811,10 @@ function renewSSL(type,id,siteName){
|
||||
showSpeedWindow('正在续签...', 'site.get_let_logs', function(layers,index){
|
||||
$.post('/site/renew_ssl','site_name='+siteName+'&ssl_type='+type,function(rdata){
|
||||
showMsg(rdata.msg, function(){
|
||||
opSSL(type,id,siteName);
|
||||
if (rdata.status){
|
||||
layer.close(index);
|
||||
opSSL(type,id,siteName);
|
||||
}
|
||||
},{icon:rdata.status?1:2}, 2000);
|
||||
},'json');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user