feature-campaign-get-seller-statistic #127

Merged
minhnguyen merged 2 commits from feature-campaign-get-seller-statistic into master 2023-01-12 03:44:46 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 2003cb4e49 - Show all commits

View File

@ -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"`
}