refactor-location #134

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

View File

@ -36,14 +36,14 @@ func (c Campaign) GetCampaignTransaction(p model.GetCampaignTransactionsRequest)
} }
// GetCampaignSellerStatistic .... // 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)) msg, err := natsio.GetServer().Request(subject.Campaign.GetCampaignSellerStatisticBySellerIDs, toBytes(req))
if err != nil { if err != nil {
return nil, err return nil, err
} }
var r struct { var r struct {
Data *model.ResponseCampaignSellerStatistic `json:"data"` Data *model.ResponseCampaignSellerStatisticList `json:"data"`
Error string `json:"error"` Error string `json:"error"`
} }