mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update site_reflect.py
This commit is contained in:
@@ -51,11 +51,7 @@ def addDomain(site_id, site_name, domain):
|
||||
if thisdb.checkSitesDomainIsExist(name, port):
|
||||
print('您添加的域名[{}:{}],已使用。请仔细检查!'.format(name, port))
|
||||
return True
|
||||
|
||||
msg = mw.getInfo('网站[{1}]添加域名[{2}]成功!', (site_name, name))
|
||||
mw.writeLog('网站管理', msg)
|
||||
thisdb.addDomain(site_id, name, port)
|
||||
|
||||
return True
|
||||
|
||||
def parse():
|
||||
|
||||
Reference in New Issue
Block a user