feat(auth): 用户账户 - 完善个人资料与登录日志 (#752)
Co-authored-by: wuligao <1247662379@qq.com>
This commit is contained in:
1 parent
e70fe1b9c9
commit
4c1d2b4012
83 files changed
+5836
-328
No files matched your search
@@ -0,0 +1,10 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
// UserAvatar keeps the bounded image payload out of ordinary user queries.
|
||||
type UserAvatar struct {
|
||||
UserID string `gorm:"primaryKey;size:36" json:"userId"`
|
||||
Data []byte `gorm:"not null" json:"-"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
}
|
||||
Reference in new issue
Block a user