refactor-location #134

Closed
trunglam wants to merge 270 commits from refactor-location into master
1 changed files with 24 additions and 15 deletions
Showing only changes of commit e21f1d586a - Show all commits

View File

@ -14,6 +14,7 @@ type ResponseNatsCampaignTransaction struct {
ID string `json:"_id"` ID string `json:"_id"`
Cash float64 `json:"cash"` Cash float64 `json:"cash"`
Campaign ResponseCampaignShortInfo `json:"campaign"` Campaign ResponseCampaignShortInfo `json:"campaign"`
Options ResponseCampaignTransactionOptions `json:"options"`
Seller primitive.ObjectID `json:"seller"` Seller primitive.ObjectID `json:"seller"`
Type string `json:"type"` Type string `json:"type"`
Status string `json:"status"` Status string `json:"status"`
@ -41,3 +42,11 @@ type ResponseCampaignItemShortInfo struct {
Name string `json:"name"` Name string `json:"name"`
Status string `json:"status"` Status string `json:"status"`
} }
// ResponseCampaignTransactionOptions ...
type ResponseCampaignTransactionOptions struct {
Link string `json:"link"`
SocialChannel string `json:"socialChannel"`
Milestone int64 `json:"milestone"`
MilestoneTitle string `json:"milestoneTitle"`
}