add GetCampaign #83

Merged
minhnguyen merged 1 commits from feature/export-data-campaign-transaction into feature/campaign-completed 2022-11-24 03:07:49 +00:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 2f278526a9 - Show all commits

View File

@ -11,6 +11,11 @@ import (
// Campaign ...
type Campaign struct{}
// GetCampaign ...
func GetCampaign() Campaign {
return Campaign{}
}
// GetCampaignTransaction ...
func (c Campaign) GetCampaignTransaction(p model.GetCampaignTransactionsRequest) (*model.ResponseCampaignTransactionAll, error) {
msg, err := natsio.GetServer().Request(subject.Campaign.GetListCampaignTransactionAdminInfoByIDs, toBytes(p))