实现角色接口增删改查
This commit is contained in:
@ -11,6 +11,7 @@ import (
|
||||
// Admins is the golang structure for table admins.
|
||||
type Admins struct {
|
||||
Id int64 `json:"id" orm:"id" description:"管理员ID"` // 管理员ID
|
||||
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"` // 角色ID
|
||||
Username string `json:"username" orm:"username" description:"管理员用户名"` // 管理员用户名
|
||||
PasswordHash string `json:"passwordHash" orm:"password_hash" description:"密码哈希"` // 密码哈希
|
||||
RealName string `json:"realName" orm:"real_name" description:"真实姓名"` // 真实姓名
|
||||
|
||||
Reference in New Issue
Block a user