mirror of
https://github.com/midoks/mdserver-web
synced 2026-11-04 19:16:00 +08:00
Update index.py
This commit is contained in:
@@ -2679,7 +2679,8 @@ def getSlaveList(version=''):
|
||||
|
||||
data = {}
|
||||
data['data'] = dlist
|
||||
return mw.getJson(data)
|
||||
# 状态字段中包含 datetime 等对象,需转成字符串后才能序列化
|
||||
return json.dumps(data, default=str)
|
||||
|
||||
def trySlaveSyncBugfix(version=''):
|
||||
if status(version) == 'stop':
|
||||
|
||||
Reference in New Issue
Block a user