Browse Source

修复bug

peng 2 years ago
parent
commit
b79842c358
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AdminController/dataSystemManagement/UnicomDataController.py

+ 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: