Refactor refreshAvatar()

This commit is contained in:
Yang Luo
2023-06-17 11:43:46 +08:00
parent 501f0dc74f
commit b9140e2d5a
8 changed files with 286 additions and 174 deletions

View File

@ -44,6 +44,7 @@ type User struct {
FirstName string `xorm:"varchar(100)" json:"firstName"`
LastName string `xorm:"varchar(100)" json:"lastName"`
Avatar string `xorm:"varchar(500)" json:"avatar"`
AvatarType string `xorm:"varchar(100)" json:"avatarType"`
PermanentAvatar string `xorm:"varchar(500)" json:"permanentAvatar"`
Email string `xorm:"varchar(100) index" json:"email"`
EmailVerified bool `json:"emailVerified"`