提交 473239cc 编写于 作者: 7 710leo

refactor: format history points timestamp

上级 477cac6c
......@@ -45,7 +45,8 @@ func Query(reqs *vos.DataQueryParam) []*vos.HPoint {
//裁剪掉多余的点
for _, i := range fD.Values {
if i.Timestamp/1000000000 == 1000 {
//将毫秒改为秒
if i.Timestamp/1000000000 > 1 {
i.Timestamp = i.Timestamp / 1000
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册