update field
This commit is contained in:
parent
64079b6cad
commit
9cec9d8c2f
|
@ -14,6 +14,7 @@ type ResponseNatsCampaignTransaction struct {
|
|||
ID string `json:"_id"`
|
||||
Cash float64 `json:"cash"`
|
||||
Campaign ResponseCampaignShortInfo `json:"campaign"`
|
||||
Options ResponseCampaignTransactionOptions `json:"options"`
|
||||
Seller primitive.ObjectID `json:"seller"`
|
||||
Type string `json:"type"`
|
||||
Status string `json:"status"`
|
||||
|
@ -41,3 +42,11 @@ type ResponseCampaignItemShortInfo struct {
|
|||
Name string `json:"name"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
// ResponseCampaignTransactionOptions ...
|
||||
type ResponseCampaignTransactionOptions struct {
|
||||
Link string `json:"link"`
|
||||
SocialChannel string `json:"socialChannel"`
|
||||
Milestone int64 `json:"milestone"`
|
||||
MilestoneTitle string `json:"milestoneTitle"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue