@@ -170,8 +170,7 @@ class StatisticsRepairView(APIView):
'data':rows.filter(create_time__year=year, create_time__month=month).count(),
}
data.append(item)
-
- return response_ok(sorted(data))
+ return response_ok(data[::-1])
class StatisticsEvaluateView(APIView):
'''小程序评价统计数据'''