pull/267/head
midoks 3 years ago
parent 4ea0dfe063
commit 91e7f9917b
  1. 2
      class/core/site_api.py
  2. 5
      route/static/app/site.js

@ -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');
});

Loading…
Cancel
Save