fix: int64 ID 字段序列化为 JSON string
This commit is contained in:
@@ -15,11 +15,11 @@ type CreateDisputeReq struct {
|
||||
}
|
||||
|
||||
type Dispute struct {
|
||||
Id int64 `json:"id"`
|
||||
OrderId int64 `json:"orderId"`
|
||||
InitiatorId int64 `json:"initiatorId"`
|
||||
Id int64 `json:"id,string"`
|
||||
OrderId int64 `json:"orderId,string"`
|
||||
InitiatorId int64 `json:"initiatorId,string"`
|
||||
InitiatorName string `json:"initiatorName"`
|
||||
RespondentId int64 `json:"respondentId"`
|
||||
RespondentId int64 `json:"respondentId,string"`
|
||||
Reason string `json:"reason"`
|
||||
Evidence []string `json:"evidence"`
|
||||
Status string `json:"status"`
|
||||
@@ -28,7 +28,7 @@ type Dispute struct {
|
||||
RespondentEvidence []string `json:"respondentEvidence"`
|
||||
AppealReason string `json:"appealReason,optional"`
|
||||
AppealedAt string `json:"appealedAt,optional"`
|
||||
ResolvedBy int64 `json:"resolvedBy,optional"`
|
||||
ResolvedBy int64 `json:"resolvedBy,string,optional"`
|
||||
ResolvedAt string `json:"resolvedAt,optional"`
|
||||
CreatedAt string `json:"createdAt"`
|
||||
UpdatedAt string `json:"updatedAt"`
|
||||
|
||||
Reference in New Issue
Block a user