Add: set user acitve

This commit is contained in:
2021-12-13 14:20:36 +08:00
parent adee9bcb65
commit ab67575976
10 changed files with 199 additions and 11 deletions

View File

@@ -25,6 +25,7 @@ type User struct {
Username string `json:"username"`
Password string `json:"-"`
Role int64 `json:"role"`
Active bool `json:"active"`
AvatarId int64 `json:"avatar_id"`
}