mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 02:03:42 +08:00
feat: load preview page do not require user to login
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type AdminPermission struct {
|
||||
Id int `gorm:"primarykey;column:id"`
|
||||
Name string
|
||||
Slug string
|
||||
Sort int
|
||||
Pid int
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type AdminRole struct {
|
||||
Id int `gorm:"primarykey;column:id"`
|
||||
Name string
|
||||
Description string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type AdminRolePermission struct {
|
||||
Id int `gorm:"primarykey;column:id"`
|
||||
RoleId int
|
||||
PermissionId int
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type AdminUserRole struct {
|
||||
Id int `gorm:"primarykey;column:id"`
|
||||
AdminId uint
|
||||
RoleId int
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user