fix: validate explicit migrations and preserve large business ids

This commit is contained in:
Yvan
2026-11-06 07:00:05 +08:00
parent f6f2a4745e
commit 0f0ec2e6d7
53 changed files with 2653 additions and 1445 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ type ChannelPortraitQuery struct {
Period string `form:"period"`
}
type ChannelPortraitBasic struct {
PromoteID uint64 `json:"promoteId"`
PromoteID uint64 `json:"promoteId,string"`
SourceDB string `json:"sourceDb"`
SourceDBLabel string `json:"sourceDbLabel"`
Account string `json:"account"`
@@ -26,7 +26,7 @@ type ChannelPortraitBasic struct {
LastLoginTime *string `json:"lastLoginTime"`
BusierUserID *uint `json:"busierUserId"`
BusierDisplayName string `json:"busierDisplayName"`
ParentPromoteID *uint64 `json:"parentPromoteId"`
ParentPromoteID *uint64 `json:"parentPromoteId,string"`
ParentPromoteName *string `json:"parentPromoteName"`
ParentPromoteAccount *string `json:"parentPromoteAccount"`
GameCount *int64 `json:"gameCount"`