add cpu and memery total info

This commit is contained in:
liuzhihang1
2025-02-25 15:05:38 +08:00
parent 0f41d11aec
commit 4f96d04f88
10 changed files with 25 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ import (
func Route() {
r := gin.New()
r.Use(gin.Recovery())
if !config.CF.UserTui {
if !config.CF.Tui {
r.Use(gin.Logger())
}
routePathInit(r)