作者 yangfu

feat: 统计服务重定向

@@ -111,10 +111,10 @@ func (svr *ByteBankService) DeviceOperationEfficiency() (interface{}, error) { @@ -111,10 +111,10 @@ func (svr *ByteBankService) DeviceOperationEfficiency() (interface{}, error) {
111 productCount = item.Get("product_count").Int() 111 productCount = item.Get("product_count").Int()
112 runningTime = item.Get("timing").Int() 112 runningTime = item.Get("timing").Int()
113 response = append(response, map[string]interface{}{ 113 response = append(response, map[string]interface{}{
114 - "device_sn": deviceSn,  
115 - "device_type": item.Get("device_type").String(),  
116 - "product_count": productCount,  
117 - "timing": runningTime, 114 + "设备名称": deviceSn,
  115 + "设备类型": item.Get("device_type").String(),
  116 + "运行时长": productCount,
  117 + "数量": runningTime,
118 }) 118 })
119 } 119 }
120 } 120 }