作者 yangfu

feat: 统计服务重定向

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