Browse Source

查询设备订单明细

linhaohong 1 year ago
parent
commit
fd7cb9639c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AdminController/CloudServiceManage/AgentDeviceController.py

+ 1 - 1
AdminController/CloudServiceManage/AgentDeviceController.py

@@ -154,7 +154,7 @@ class AgentDeviceView(View):
                 profit = order.profit_amount
 
             # 区分云服务 + 4G套餐并加入 summary
-            service_type = "icloud" if package.type == 1 else "unicom"
+            service_type = "云存" if package.type == 1 else "4G"
             time_key = datetime.fromtimestamp(order.created_time).strftime(
                 time_format[time_unit]) if time_unit != "quarter" else time_format[time_unit](
                 datetime.fromtimestamp(order.created_time))