新增记录群或者好友已使用的tokens信息

This commit is contained in:
李寻欢
2024-07-05 09:44:07 +08:00
parent 9e8c3f5e6f
commit f747bf5ead
3 changed files with 18 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ type Friend struct {
EnableNews bool `json:"enableNews" gorm:"type:tinyint(1) default 0 not null"` // 是否启用新闻
ClearMember int `json:"clearMember"` // 清理成员配置(多少天未活跃的)
IsOk bool `json:"isOk" gorm:"type:tinyint(1) default 0 not null"` // 是否正常
UsedTokens int `json:"usedTokens"` // 已使用的AI Token数量
}
func (Friend) TableName() string {