Merge pull request 'add GetCampaign' (#83) from feature/export-data-campaign-transaction into feature/campaign-completed
Reviewed-on: #83
This commit is contained in:
commit
b7f3c061c8
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue