fix: int64 ID 字段序列化为 JSON string
This commit is contained in:
@@ -37,7 +37,7 @@ type IncomeStatsResp struct {
|
||||
|
||||
type InvitationReq struct {
|
||||
Id int64 `path:"id"`
|
||||
PlayerId int64 `json:"playerId"`
|
||||
PlayerId int64 `json:"playerId,string"`
|
||||
}
|
||||
|
||||
type PageMeta struct {
|
||||
@@ -61,11 +61,11 @@ type ShopIdReq struct {
|
||||
}
|
||||
|
||||
type ShopInvitation struct {
|
||||
Id int64 `json:"id"`
|
||||
ShopId int64 `json:"shopId"`
|
||||
PlayerId int64 `json:"playerId"`
|
||||
Id int64 `json:"id,string"`
|
||||
ShopId int64 `json:"shopId,string"`
|
||||
PlayerId int64 `json:"playerId,string"`
|
||||
Status string `json:"status"`
|
||||
InvitedBy int64 `json:"invitedBy"`
|
||||
InvitedBy int64 `json:"invitedBy,string"`
|
||||
CreatedAt int64 `json:"createdAt"`
|
||||
RespondedAt int64 `json:"respondedAt,optional"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user