From 0bfda28f2583911624ba116af8c9300ffa1af9f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E7=A8=8B=E7=82=80?= Date: Tue, 14 Sep 2021 13:38:19 +0000 Subject: [PATCH] fix issue I49NY0 --- volunteer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volunteer.py b/volunteer.py index 3f8633b..f97fbae 100644 --- a/volunteer.py +++ b/volunteer.py @@ -12,7 +12,7 @@ def getVolunteerList(): # 可以了 fl,r=OP.select("volId,volName,description,volDate,volTime,status,stuMax","volunteer","true",(), ["id", "name", "description","date","time","status","stuMax"],only=False) if not fl: return r # 数据库错误 - return {"type":"SUCCESS","message":"获取成功","volunteer":r} + return {"type":"SUCCESS","message":"获取成功","volunteer":r[::-1]} @Volunteer.route('/volunteer/fetch/', methods = ['GET', 'OPTIONS']) @Deco -- Gitee