diff --git a/volunteer.py b/volunteer.py index 3f8633b9ae55c56b745e78244153410e9d398288..f97fbaeb98614edcd7c59df3967d4fb5f1ff3ae9 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