From 4b9ab17fcbe965985e8cf73f73674bfab2e7b40c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 26 Apr 2024 15:01:03 +0800 Subject: [PATCH] Update webstats_index.py --- plugins/webstats/webstats_index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/webstats/webstats_index.py b/plugins/webstats/webstats_index.py index 5299eabce..9b2fd38b4 100644 --- a/plugins/webstats/webstats_index.py +++ b/plugins/webstats/webstats_index.py @@ -799,9 +799,9 @@ def get_logs_list(args): _page['tojs'] = tojs data['page'] = mw.getPage(_page) data['data'] = clist - data['cos_time'] = end_time-start_time + cos_time = end_time-start_time - return mw.returnJson(True, 'ok', data) + return mw.returnJson(True, 'ok:'+cos_time, data) def getLogsErrorList():