🆕 群成员新增是否群主

This commit is contained in:
李寻欢
2024-01-12 22:26:06 +08:00
parent 01051ff606
commit 6a879cbef6
5 changed files with 19 additions and 37 deletions

View File

@@ -31,6 +31,7 @@ type GroupUser struct {
HeadImage string `json:"headImage"` // 头像
Nickname string `json:"nickname"` // 昵称
IsMember bool `json:"isMember" gorm:"type:tinyint(1) default 0 not null"` // 是否群成员
IsAdmin bool `json:"isAdmin" gorm:"type:tinyint(1) default 0 not null"` // 是否群主
JoinTime time.Time `json:"joinTime"` // 加入时间
LeaveTime *time.Time `json:"leaveTime"` // 离开时间
SkipChatRank bool `json:"skipChatRank" gorm:"type:tinyint(1) default 0 not null"` // 是否跳过聊天排行