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