Commit ddbeaaa1f75cb20b46738b7b5f7a31240b4487db
1 parent
965e00db
Exists in
master
and in
1 other branch
fix🐛:一些配置ID从string改为int类型
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
service/cardholder/dto-record.go
| @@ -11,8 +11,8 @@ import ( | @@ -11,8 +11,8 @@ import ( | ||
| 11 | type RecordBase struct { | 11 | type RecordBase struct { |
| 12 | Id int64 `gorm:"primaryKey;comment:日志ID"` | 12 | Id int64 `gorm:"primaryKey;comment:日志ID"` |
| 13 | Uid int64 `gorm:"comment:玩家唯一ID"` | 13 | Uid int64 `gorm:"comment:玩家唯一ID"` |
| 14 | - SequenceId int `gorm:"type:varchar(255);comment:用户序列组ID"` | ||
| 15 | - Cohort int `gorm:"type:varchar(255);comment:用户分组ID"` | 14 | + SequenceId int `gorm:"comment:用户序列组ID"` |
| 15 | + Cohort int `gorm:"comment:用户分组ID"` | ||
| 16 | ActivityId int64 `gorm:"comment:当前活动ID"` | 16 | ActivityId int64 `gorm:"comment:当前活动ID"` |
| 17 | Round int `gorm:"comment:当前轮次"` | 17 | Round int `gorm:"comment:当前轮次"` |
| 18 | CreateTime int64 `gorm:"comment:创建时间戳"` | 18 | CreateTime int64 `gorm:"comment:创建时间戳"` |