From ddfc80261fd4d2ef7f38c8f3704ca7bfb37c0b1c Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Wed, 14 Apr 2021 20:02:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC=E8=AE=A4=E8=AF=81=E4=B8=AD?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=AC=E5=8F=B8/=E7=BB=84=E7=BB=87?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/web/actions/default/settings/authority/index.go | 1 + web/views/@default/settings/authority/index.html | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/internal/web/actions/default/settings/authority/index.go b/internal/web/actions/default/settings/authority/index.go index 30e43031..49a47f39 100644 --- a/internal/web/actions/default/settings/authority/index.go +++ b/internal/web/actions/default/settings/authority/index.go @@ -41,6 +41,7 @@ func (this *IndexAction) RunGet(params struct{}) { "dayTo": keyResp.AuthorityKey.DayTo, "macAddresses": keyResp.AuthorityKey.MacAddresses, "hostname": keyResp.AuthorityKey.Hostname, + "company": keyResp.AuthorityKey.Company, "isExpired": !isActive, "updatedTime": timeutil.FormatTime("Y-m-d H:i:s", keyResp.AuthorityKey.UpdatedAt), } diff --git a/web/views/@default/settings/authority/index.html b/web/views/@default/settings/authority/index.html index 536ea043..99012857 100644 --- a/web/views/@default/settings/authority/index.html +++ b/web/views/@default/settings/authority/index.html @@ -12,6 +12,10 @@ 已认证 + + 公司/组织名 + {{key.company}} + 开始日期 {{key.dayFrom}}