diff --git a/t3/order.go b/t3/order.go index d0fac7c..69bbf90 100644 --- a/t3/order.go +++ b/t3/order.go @@ -2,7 +2,7 @@ package t3 type T3Order struct { SourceId string `json:"sourceId"` - Amount int `json:"amount"` + Amount float64 `json:"amount"` BusinessId string `json:"businessId"` CpaType string `json:"cpaType"` SpotUuid string `json:"spotUuid"` @@ -10,7 +10,7 @@ type T3Order struct { OrderAmount float64 `json:"orderAmount"` PayAmount float64 `json:"payAmount"` CreateTime int64 `json:"createTime"` - Rate int `json:"rate"` + Rate float64 `json:"rate"` ParticipationStatus int `json:"participationStatus"` FailReason string `json:"failReason"` ActivityUuid string `json:"activityUuid"`