This commit is contained in:
Mr Chen
2024-11-21 02:54:46 +08:00
parent 8ae54e30d0
commit 98fbaa099f
7 changed files with 628 additions and 275 deletions
+3 -1
View File
@@ -10,6 +10,8 @@
import core.mw as mw
from .option import getOption
__FIELD = 'id,name,path,status,ps,edate,type_id,add_time,update_time'
def getSitesCount():
@@ -32,7 +34,7 @@ def getSitesDomainById(site_id):
t['id'] = b['id']
domains.append(t)
data['domains'] = domains
data['email'] = mw.M('users').getField('email')
data['email'] = getOption('ssl_email', default='')
return data
def addSites(name, path):