@@ -165,6 +165,7 @@ class UnicomDataView(View):
data_list.append({k.decode(): float(v)})
res = {
'list': data_list[(page - 1) * line:page * line],
+ 'count': len(data_list)
}
return response.json(0, res)
except Exception as e: