retusn del nil

This commit is contained in:
2026-08-14 11:46:08 +08:00
parent 6c20427b0a
commit 18fa349919
40 changed files with 708 additions and 312 deletions
+10 -3
View File
@@ -13,12 +13,19 @@ type JwtInfo struct {
LastTime utils.CustomTime `gorm:"column:last_time;type:datetime;comment:最后一次登录时间" json:"last_time"`
Time int `json:"time"`
Roles []JwtInfoServices `json:"roles"`
Refresh string `json:"refresh"`
}
type JwtOutInfo struct {
Avatar string `json:"avatar"`
Name string `json:"name"`
Phone string `json:"phone"`
Email string `json:"email"`
}
type Token struct {
Token string `json:"token"`
Refresh string `json:"refresh"`
Info JwtInfo `json:"info"`
Token string `json:"token"`
Refresh string `json:"refresh"`
Info JwtOutInfo `json:"info"`
}
type JwtInfoServices struct {