add response

This commit is contained in:
tuannt20 2022-12-02 14:32:15 +07:00
parent 9cec9d8c2f
commit 0a4947ed4f
1 changed files with 22 additions and 16 deletions

View File

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