首页折线图添加缓存

This commit is contained in:
georgehao
2019-08-13 23:19:38 +08:00
parent 07ba83e1ab
commit 77c079665a
2 changed files with 27 additions and 2 deletions

View File

@@ -15,8 +15,6 @@ import (
"runtime"
"sort"
"strconv"
//"strconv"
"time"
)
@@ -173,6 +171,7 @@ func (self *HomeController) Start() {
self.Data["okNum"] = okNum
self.Data["errNum"] = errNum
self.Data["expiredNum"] = expiredNum
self.Data["cpuNum"] = runtime.NumCPU()
//系统运行信息