From ddbeaaa1f75cb20b46738b7b5f7a31240b4487db Mon Sep 17 00:00:00 2001 From: 王家文 Date: Tue, 23 Apr 2024 18:53:56 +0800 Subject: [PATCH] fix🐛:一些配置ID从string改为int类型 --- service/cardholder/dto-record.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/cardholder/dto-record.go b/service/cardholder/dto-record.go index 0562653..d94fa9f 100644 --- a/service/cardholder/dto-record.go +++ b/service/cardholder/dto-record.go @@ -11,8 +11,8 @@ import ( type RecordBase struct { Id int64 `gorm:"primaryKey;comment:日志ID"` Uid int64 `gorm:"comment:玩家唯一ID"` - SequenceId int `gorm:"type:varchar(255);comment:用户序列组ID"` - Cohort int `gorm:"type:varchar(255);comment:用户分组ID"` + SequenceId int `gorm:"comment:用户序列组ID"` + Cohort int `gorm:"comment:用户分组ID"` ActivityId int64 `gorm:"comment:当前活动ID"` Round int `gorm:"comment:当前轮次"` CreateTime int64 `gorm:"comment:创建时间戳"` -- libgit2 0.21.0