Update system_api.py

pull/109/head
Mr Chen 6 years ago
parent f1ef6f6f41
commit d2e7864b55
  1. 3
      class/core/system_api.py

@ -24,7 +24,8 @@ class system_api:
##### ----- start ----- ### ##### ----- start ----- ###
def networkApi(self): def networkApi(self):
return self.getNetWork() data = self.getNetWork()
return public.getJson(data)
def updateServerApi(self): def updateServerApi(self):
stype = request.args.get('type', 'check') stype = request.args.get('type', 'check')

Loading…
Cancel
Save