🐛 修复启动时间错误

This commit is contained in:
naiba
2021-09-29 21:13:16 +08:00
parent 75612e934f
commit 46fa47d521
+1 -1
View File
@@ -64,7 +64,7 @@ func GetHost() *model.Host {
swapMemTotal = mv.SwapTotal
}
cachedBootTime = time.Now().Add(time.Duration(-1 * int64(hi.BootTime*1000)))
cachedBootTime = time.Unix(1632708033, 0)
return &model.Host{
Platform: hi.OS,