mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-15 07:06:35 +08:00
阶段性提交
This commit is contained in:
@@ -4,6 +4,7 @@ package models
|
||||
type NodeGrant struct {
|
||||
Id uint32 `field:"id"` // ID
|
||||
Name string `field:"name"` // 名称
|
||||
Method string `field:"method"` // 登录方式
|
||||
Username string `field:"username"` // 用户名
|
||||
Password string `field:"password"` // 密码
|
||||
Su uint8 `field:"su"` // 是否需要su
|
||||
@@ -16,6 +17,7 @@ type NodeGrant struct {
|
||||
type NodeGrantOperator struct {
|
||||
Id interface{} // ID
|
||||
Name interface{} // 名称
|
||||
Method interface{} // 登录方式
|
||||
Username interface{} // 用户名
|
||||
Password interface{} // 密码
|
||||
Su interface{} // 是否需要su
|
||||
|
||||
Reference in New Issue
Block a user