mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -472,6 +472,9 @@ def getJson(data):
|
||||
import json
|
||||
return json.dumps(data)
|
||||
|
||||
def getObjectByJson(data):
|
||||
import json
|
||||
return json.loads(data)
|
||||
|
||||
def returnData(status, msg, data=None):
|
||||
return {'status': status, 'msg': msg, 'data': data}
|
||||
|
||||
Reference in New Issue
Block a user