版本认证中增加公司/组织名

This commit is contained in:
GoEdgeLab
2021-04-14 20:02:08 +08:00
parent 53968dd313
commit ddfc80261f
2 changed files with 5 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ func (this *IndexAction) RunGet(params struct{}) {
"dayTo": keyResp.AuthorityKey.DayTo, "dayTo": keyResp.AuthorityKey.DayTo,
"macAddresses": keyResp.AuthorityKey.MacAddresses, "macAddresses": keyResp.AuthorityKey.MacAddresses,
"hostname": keyResp.AuthorityKey.Hostname, "hostname": keyResp.AuthorityKey.Hostname,
"company": keyResp.AuthorityKey.Company,
"isExpired": !isActive, "isExpired": !isActive,
"updatedTime": timeutil.FormatTime("Y-m-d H:i:s", keyResp.AuthorityKey.UpdatedAt), "updatedTime": timeutil.FormatTime("Y-m-d H:i:s", keyResp.AuthorityKey.UpdatedAt),
} }

View File

@@ -12,6 +12,10 @@
<span class="green">已认证</span> <span class="green">已认证</span>
</td> </td>
</tr> </tr>
<tr>
<td>公司/组织名</td>
<td>{{key.company}}</td>
</tr>
<tr> <tr>
<td class="title">开始日期</td> <td class="title">开始日期</td>
<td>{{key.dayFrom}}</td> <td>{{key.dayFrom}}</td>