From fa9acf39e1df6b978e7541c3098f2ed6fbcd1cb5 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Sat, 3 Dec 2022 22:55:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=961?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto_pt/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_pt/views.py b/auto_pt/views.py index 941bb70..4c38759 100644 --- a/auto_pt/views.py +++ b/auto_pt/views.py @@ -663,7 +663,7 @@ def site_data_api(request): return JsonResponse(data=CommonResponse.error( msg='访问出错咯!' ).to_dict(), safe=False) - site_info_list = my_site.sitestatus_set.order_by('pk').all() + site_info_list = my_site.sitestatus_set.order_by('created_at').all() site_status_list = [] site = { 'id': my_site.id,