Update webstats_index.py

This commit is contained in:
Mr Chen 2024-04-26 15:03:43 +08:00
parent 4b9ab17fcb
commit 00b162771f
1 changed files with 4 additions and 2 deletions

View File

@ -790,8 +790,10 @@ def get_logs_list(args):
count = count[0][count_key]
end_time = time.time()
cos_time = end_time-start_time
data = {}
data['cos_time'] = cos_time
_page = {}
_page['count'] = count
_page['p'] = page
@ -799,9 +801,9 @@ def get_logs_list(args):
_page['tojs'] = tojs
data['page'] = mw.getPage(_page)
data['data'] = clist
cos_time = end_time-start_time
return mw.returnJson(True, 'ok:'+cos_time, data)
return mw.returnJson(True, 'ok', data)
def getLogsErrorList():