add GetCampaign
This commit is contained in:
parent
e3e498ed23
commit
2f278526a9
|
@ -11,6 +11,11 @@ import (
|
||||||
// Campaign ...
|
// Campaign ...
|
||||||
type Campaign struct{}
|
type Campaign struct{}
|
||||||
|
|
||||||
|
// GetCampaign ...
|
||||||
|
func GetCampaign() Campaign {
|
||||||
|
return Campaign{}
|
||||||
|
}
|
||||||
|
|
||||||
// GetCampaignTransaction ...
|
// GetCampaignTransaction ...
|
||||||
func (c Campaign) GetCampaignTransaction(p model.GetCampaignTransactionsRequest) (*model.ResponseCampaignTransactionAll, error) {
|
func (c Campaign) GetCampaignTransaction(p model.GetCampaignTransactionsRequest) (*model.ResponseCampaignTransactionAll, error) {
|
||||||
msg, err := natsio.GetServer().Request(subject.Campaign.GetListCampaignTransactionAdminInfoByIDs, toBytes(p))
|
msg, err := natsio.GetServer().Request(subject.Campaign.GetListCampaignTransactionAdminInfoByIDs, toBytes(p))
|
||||||
|
|
Loading…
Reference in New Issue