update #126
|
@ -36,14 +36,14 @@ func (c Campaign) GetCampaignTransaction(p model.GetCampaignTransactionsRequest)
|
|||
}
|
||||
|
||||
// GetCampaignSellerStatistic ....
|
||||
func (c Campaign) GetCampaignSellerStatistic(req model.GetCampaignSellerStatisticBySellerIDs) (*model.ResponseCampaignSellerStatistic, error) {
|
||||
func (c Campaign) GetCampaignSellerStatistic(req model.GetCampaignSellerStatisticBySellerIDs) (*model.ResponseCampaignSellerStatisticList, error) {
|
||||
msg, err := natsio.GetServer().Request(subject.Campaign.GetCampaignSellerStatisticBySellerIDs, toBytes(req))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
var r struct {
|
||||
Data *model.ResponseCampaignSellerStatistic `json:"data"`
|
||||
Data *model.ResponseCampaignSellerStatisticList `json:"data"`
|
||||
Error string `json:"error"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue