[SSH认证]记录创建的管理员ID

This commit is contained in:
刘祥超
2020-11-27 10:02:46 +08:00
parent 83be53eac0
commit 1284280f9f
4 changed files with 12 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ package models
// 节点授权
type NodeGrant struct {
Id uint32 `field:"id"` // ID
AdminId uint32 `field:"adminId"` // 管理员ID
Name string `field:"name"` // 名称
Method string `field:"method"` // 登录方式
Username string `field:"username"` // 用户名
@@ -17,6 +18,7 @@ type NodeGrant struct {
type NodeGrantOperator struct {
Id interface{} // ID
AdminId interface{} // 管理员ID
Name interface{} // 名称
Method interface{} // 登录方式
Username interface{} // 用户名