From 0d69cc3357375c90c46e54211fd20a0f83b4dc48 Mon Sep 17 00:00:00 2001 From: anbuiselly <105765792+anbuiselly@users.noreply.github.com> Date: Sun, 4 Dec 2022 21:25:42 +0700 Subject: [PATCH] change model get transaction --- model/affiliate_response.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/model/affiliate_response.go b/model/affiliate_response.go index 5ab3245..80a4707 100644 --- a/model/affiliate_response.go +++ b/model/affiliate_response.go @@ -1,7 +1,5 @@ package model -import "time" - // GetTransactionsResponse ... type GetTransactionsResponse struct { Total int64 `json:"total"` @@ -18,10 +16,10 @@ type TransactionInfo struct { Source string `json:"source"` Commission ResponseCampaignCommission `json:"commission"` EstimateSellerCommission float64 `json:"estimateSellerCommission"` - TransactionTime time.Time `json:"transactionTime"` + TransactionTime string `json:"transactionTime"` Status string `json:"status"` RejectedReason string `json:"rejectedReason"` - EstimateCashbackAt time.Time `json:"estimateCashbackAt"` + EstimateCashbackAt string `json:"estimateCashbackAt"` } // ResponseCampaignCommission ...