正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论