fix: int64 ID 字段序列化为 JSON string
This commit is contained in:
+5
-5
@@ -57,7 +57,7 @@ type (
|
||||
}
|
||||
InvitationReq {
|
||||
Id int64 `path:"id"`
|
||||
PlayerId int64 `json:"playerId"`
|
||||
PlayerId int64 `json:"playerId,string"`
|
||||
}
|
||||
)
|
||||
|
||||
@@ -101,11 +101,11 @@ type (
|
||||
Id int64 `path:"id"`
|
||||
}
|
||||
ShopInvitation {
|
||||
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