peng 2 жил өмнө
parent
commit
b79842c358

+ 1 - 1
AdminController/dataSystemManagement/UnicomDataController.py

@@ -157,7 +157,7 @@ class UnicomDataView(View):
             key = 'monthly_flow_' + iccid
             if year and month:
                 file = year + '-' + month
-                flow = redis_obj.get_hash_data(key, file)
+                flow = redis_obj.get_hash_data(key, file)[0]
                 flow = flow.decode() if flow else 0
                 data_list.append({file: flow})
             else: