fix: validate explicit migrations and preserve large business ids
This commit is contained in:
@@ -30,17 +30,17 @@ type ChannelResponse struct {
|
||||
LastLoginAt *int64 `json:"lastLoginAt"`
|
||||
Phone string `json:"phone"`
|
||||
SettlementDays *int `json:"settlementDays"`
|
||||
ID uint64 `json:"id"`
|
||||
ID uint64 `json:"id,string"`
|
||||
SourceDB string `json:"sourceDb"`
|
||||
PlatformName string `json:"platformName"`
|
||||
Account string `json:"account"`
|
||||
Nickname string `json:"nickname"`
|
||||
Level *int `json:"promoteLevel"`
|
||||
ParentID uint64 `json:"parentId"`
|
||||
ParentID uint64 `json:"parentId,string"`
|
||||
ParentName string `json:"parentName"`
|
||||
RealName string `json:"realName"`
|
||||
RegisterType *int `json:"registerType"`
|
||||
BusierID uint64 `json:"busierId"`
|
||||
BusierID uint64 `json:"busierId,string"`
|
||||
BusierUserID *uint `json:"busierUserId"`
|
||||
BusierDisplayName string `json:"busierDisplayName"`
|
||||
Status *int `json:"status"`
|
||||
@@ -62,7 +62,7 @@ type ChannelStatusCounts struct {
|
||||
}
|
||||
type ChannelBindOption struct {
|
||||
SourceDB string `json:"sourceDb"`
|
||||
PlatformBusierID uint64 `json:"platformBusierId"`
|
||||
PlatformBusierID uint64 `json:"platformBusierId,string"`
|
||||
Account string `json:"platformBusierAccount"`
|
||||
UserID uint `json:"userId"`
|
||||
}
|
||||
@@ -74,7 +74,7 @@ type ChannelCreateRequest struct {
|
||||
RegisterType *int `json:"registerType"`
|
||||
}
|
||||
type ChannelCreateResult struct {
|
||||
ID uint64 `json:"id"`
|
||||
ID uint64 `json:"id,string"`
|
||||
SourceDB string `json:"sourceDb"`
|
||||
}
|
||||
type ChannelGameQuery struct {
|
||||
@@ -82,7 +82,7 @@ type ChannelGameQuery struct {
|
||||
PromoteID uint64 `form:"promoteId"`
|
||||
}
|
||||
type ChannelGameResponse struct {
|
||||
GameID uint64 `json:"gameId"`
|
||||
GameID uint64 `json:"gameId,string"`
|
||||
GameName string `json:"gameName"`
|
||||
RegisterCount int64 `json:"registerCount"`
|
||||
PayAmount string `json:"payAmount"`
|
||||
|
||||
Reference in New Issue
Block a user