[fix] User.ID() int -> int64
This commit is contained in:
parent
1f119cf945
commit
104d5e82a9
@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
type user struct {
|
||||
id int
|
||||
id int64
|
||||
uuid string
|
||||
username string
|
||||
nickname string
|
||||
@ -17,7 +17,7 @@ type user struct {
|
||||
roles []string
|
||||
}
|
||||
|
||||
func (this user) ID() int {
|
||||
func (this user) ID() int64 {
|
||||
return this.id
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user