mirror of
https://github.com/PengZhangs2017582/novel.git
synced 2025-06-24 19:21:32 +08:00
redis token
This commit is contained in:
19
internal/model/entity/permission_info.go
Normal file
19
internal/model/entity/permission_info.go
Normal file
@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// PermissionInfo is the golang structure for table permission_info.
|
||||
type PermissionInfo struct {
|
||||
Id int `json:"id" description:""`
|
||||
Name string `json:"name" description:"权限名称"`
|
||||
Path string `json:"path" description:"路径"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:""`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" description:""`
|
||||
}
|
19
internal/model/entity/role_info.go
Normal file
19
internal/model/entity/role_info.go
Normal file
@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// RoleInfo is the golang structure for table role_info.
|
||||
type RoleInfo struct {
|
||||
Id int `json:"id" description:""`
|
||||
Name string `json:"name" description:"角色名称"`
|
||||
Desc string `json:"desc" description:"描述"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:""`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" description:""`
|
||||
}
|
18
internal/model/entity/role_permission_info.go
Normal file
18
internal/model/entity/role_permission_info.go
Normal file
@ -0,0 +1,18 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// RolePermissionInfo is the golang structure for table role_permission_info.
|
||||
type RolePermissionInfo struct {
|
||||
Id int `json:"id" description:""`
|
||||
RoleId int `json:"roleId" description:"角色id"`
|
||||
PermissionId int `json:"permissionId" description:"权限id"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:""`
|
||||
}
|
@ -19,6 +19,8 @@ type Writer struct {
|
||||
Qq string `json:"qq" description:""`
|
||||
RealName string `json:"realName" description:"真名"`
|
||||
IdNo string `json:"idNo" description:"身份证号"`
|
||||
IsAdmin uint `json:"isAdmin" description:"是否是管理员"`
|
||||
RoleIds string `json:"roleIds" description:"角色id"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:""`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:""`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" description:""`
|
||||
|
Reference in New Issue
Block a user