add response

This commit is contained in:
tuannt20 2022-12-05 12:04:43 +07:00
parent 24f0e88472
commit 99894963e6
1 changed files with 23 additions and 16 deletions

View File

@ -27,6 +27,8 @@ type ResponseNatsCampaignTransaction struct {
ApprovedAt string `json:"approvedAt,omitempty"`
RejectedAt string `json:"rejectedAt,omitempty"`
CompletedAt string `json:"completedAt,omitempty"`
RejectReason string `json:"rejectReason,omitempty"`
AdminConfirmData *ResponseCampaignTransactionAdminConfirmData `json:"adminConfirmData,omitempty"`
}
// ResponseCampaignShortInfo ...
@ -50,3 +52,8 @@ type ResponseCampaignTransactionOptions struct {
Milestone int64 `json:"milestone"`
MilestoneTitle string `json:"milestoneTitle"`
}
// ResponseCampaignTransactionAdminConfirmData ...
type ResponseCampaignTransactionAdminConfirmData struct {
FriendPublicTotal int64 `json:"friendPublicTotal"`
}