💥 v2.0 必须更新面板,新增服务监控

This commit is contained in:
naiba
2021-01-16 00:45:49 +08:00
parent 0ce8017875
commit a41c792577
38 changed files with 1015 additions and 453 deletions

View File

@@ -8,7 +8,6 @@ import (
"github.com/naiba/nezha/model"
)
// ErrInfo ..
type ErrInfo struct {
Code uint64
Title string
@@ -17,7 +16,6 @@ type ErrInfo struct {
Btn string
}
// ShowErrorPage ..
func ShowErrorPage(c *gin.Context, i ErrInfo, isPage bool) {
if isPage {
c.HTML(http.StatusOK, "dashboard/error", CommonEnvironment(c, gin.H{