mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-16 07:46:35 +08:00
[SSH认证]记录创建的管理员ID
This commit is contained in:
@@ -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{} // 用户名
|
||||
|
||||
Reference in New Issue
Block a user