zhangdongming 3 жил өмнө
parent
commit
c428e013d2

+ 2 - 1
Object/UnicomObject.py

@@ -257,7 +257,8 @@ class UnicomObjeect:
         """
         flow_key = 'ASJ:UNICOM:FLOW:{}'
         usage_data = {'iccid': iccid, 'realTime': True}
-        flow_usage_details = UnicomObjeect().get_flow_total_usage(flow_key.format(iccid), (60 * 10 + 3), **usage_data)
+        expire_time = 60 * 10 + 60
+        flow_usage_details = UnicomObjeect().get_flow_total_usage(flow_key.format(iccid), expire_time, **usage_data)
         # 当月实际总使用流量
         flow_total_usage = 0
         if flow_usage_details and flow_usage_details['success']: