[fix] User.ID() int -> int64

This commit is contained in:
2023-12-05 16:01:42 +08:00
parent 1f119cf945
commit 104d5e82a9
2 changed files with 3 additions and 3 deletions

View File

@@ -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
}