From 5a473787f0a1934acdbb966528fc683d863f97c3 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Wed, 11 Oct 2023 17:52:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=9C=8B=E6=9D=BF=E4=B8=AD?= =?UTF-8?q?=E4=B8=8D=E9=9C=80=E8=A6=81=E7=9A=84=E7=89=88=E6=9C=AC=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/actions/default/dashboard/index.go | 33 ------------------- 1 file changed, 33 deletions(-) diff --git a/internal/web/actions/default/dashboard/index.go b/internal/web/actions/default/dashboard/index.go index bb38e73c..199ee34e 100644 --- a/internal/web/actions/default/dashboard/index.go +++ b/internal/web/actions/default/dashboard/index.go @@ -165,39 +165,6 @@ func (this *IndexAction) RunPost(params struct{}) { "version": "", } } - if resp.UserNodeUpgradeInfo != nil { - this.Data["userNodeUpgradeInfo"] = maps.Map{ - "count": resp.UserNodeUpgradeInfo.CountNodes, - "version": resp.UserNodeUpgradeInfo.NewVersion, - } - } else { - this.Data["userNodeUpgradeInfo"] = maps.Map{ - "count": 0, - "version": 0, - } - } - if resp.AuthorityNodeUpgradeInfo != nil { - this.Data["authorityNodeUpgradeInfo"] = maps.Map{ - "count": resp.AuthorityNodeUpgradeInfo.CountNodes, - "version": resp.AuthorityNodeUpgradeInfo.NewVersion, - } - } else { - this.Data["authorityNodeUpgradeInfo"] = maps.Map{ - "count": 0, - "version": "", - } - } - if resp.NsNodeUpgradeInfo != nil { - this.Data["nsNodeUpgradeInfo"] = maps.Map{ - "count": resp.NsNodeUpgradeInfo.CountNodes, - "version": resp.NsNodeUpgradeInfo.NewVersion, - } - } else { - this.Data["nsNodeUpgradeInfo"] = maps.Map{ - "count": 0, - "version": "", - } - } // 域名排行 {