Skip to content

Commit

Permalink
fix(dsp/campaign): PutStatus in UpdateRequest from []int to int
Browse files Browse the repository at this point in the history
  • Loading branch information
bububa committed Jan 31, 2024
1 parent 711d430 commit bb25440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/dsp/campaign/update_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type UpdateStatusRequest struct {
CampaignIDs []uint64 `json:"campaign_ids,omitempty"`
// PutStatus 操作码
// 1-投放、2-暂停、3-删除,传其他数字非法
PutStatus []int `json:"put_status,omitempty"`
PutStatus int `json:"put_status,omitempty"`
}

// Url implement PostRequest interface
Expand Down

0 comments on commit bb25440

Please sign in to comment.