fix datetime format
This commit is contained in:
parent
8bb40f1c0a
commit
aa00cfdef6
@ -191,7 +191,8 @@ class DispatchHandler(tornado.web.RequestHandler):
|
||||
if temp:
|
||||
info.append(temp)
|
||||
info_new = sorted(info, key=lambda s: s.get('ad_sort', 0))
|
||||
result = {'errcode': 0, "errmsg": '', "message": {"totoal": len(info_new), "result": info_new}}
|
||||
result = {'errcode': 0, "errmsg": '', "message": {"totoal": len(info), "result": info,"new":info_new}}
|
||||
# result = {'errcode': 0, "errmsg": '', "message": {"totoal": len(info_new), "result": info_new}}
|
||||
except Exception as e:
|
||||
result = {'errcode': 1, "errmsg": e}
|
||||
return self.write(result)
|
||||
|
Loading…
x
Reference in New Issue
Block a user