增加多租户隔离初版
This commit is contained in:
@ -15,6 +15,7 @@ type User struct {
|
||||
Online bool `json:"online"`
|
||||
Enabled bool `json:"enabled"`
|
||||
Created utils.JsonTime `json:"created"`
|
||||
Role string `json:"role"`
|
||||
}
|
||||
|
||||
func (r *User) TableName() string {
|
||||
|
Reference in New Issue
Block a user