mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -120,6 +120,11 @@ class App():
|
||||
destr = mw.deDoubleCrypt('mdserver-web', rdata)
|
||||
return json.loads(destr)
|
||||
|
||||
def get_server_by_host_data(self, host):
|
||||
info_file = self.__host_dir + '/' + host + '/info.json'
|
||||
info_data = self.getSshInfo(info_file)
|
||||
return info_data
|
||||
|
||||
def get_server_by_host(self):
|
||||
args = self.getArgs()
|
||||
check = self.checkArgs(args, ['host'])
|
||||
|
||||
Reference in New Issue
Block a user