增加认证节点管理

This commit is contained in:
刘祥超
2021-04-13 21:23:26 +08:00
parent 7db07d6071
commit 14cb424615
15 changed files with 524 additions and 72 deletions

View File

@@ -0,0 +1,26 @@
package authority
// AuthorityKey 企业版认证信息
type AuthorityKey struct {
Id uint32 `field:"id"` // ID
Value string `field:"value"` // Key值
DayFrom string `field:"dayFrom"` // 开始日期
DayTo string `field:"dayTo"` // 结束日期
Hostname string `field:"hostname"` // Hostname
MacAddresses string `field:"macAddresses"` // MAC地址
UpdatedAt uint64 `field:"updatedAt"` // 创建/修改时间
}
type AuthorityKeyOperator struct {
Id interface{} // ID
Value interface{} // Key值
DayFrom interface{} // 开始日期
DayTo interface{} // 结束日期
Hostname interface{} // Hostname
MacAddresses interface{} // MAC地址
UpdatedAt interface{} // 创建/修改时间
}
func NewAuthorityKeyOperator() *AuthorityKeyOperator {
return &AuthorityKeyOperator{}
}