gameact

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityVO

type ActivityVO struct {
	ActivityUrl string `json:"activity_url,omitempty" xml:"activity_url,omitempty"`

	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`

	Name string `json:"name,omitempty" xml:"name,omitempty"`

	StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"`

	EndTime int64 `json:"end_time,omitempty" xml:"end_time,omitempty"`

	Description string `json:"description,omitempty" xml:"description,omitempty"`

	Awards []AwardVO `json:"awards,omitempty" xml:"awards,omitempty"`

	EventKey string `json:"event_key,omitempty" xml:"event_key,omitempty"`

	ConsumeAmount int64 `json:"consume_amount,omitempty" xml:"consume_amount,omitempty"`

	LuckyType int64 `json:"lucky_type,omitempty" xml:"lucky_type,omitempty"`

	LuckyChannel int64 `json:"lucky_channel,omitempty" xml:"lucky_channel,omitempty"`

	AccessAmount int64 `json:"access_amount,omitempty" xml:"access_amount,omitempty"`
}

ActivityVO

type AwardVO

type AwardVO struct {
	AwardId int64 `json:"award_id,omitempty" xml:"award_id,omitempty"`

	Name string `json:"name,omitempty" xml:"name,omitempty"`

	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`

	Type int64 `json:"type,omitempty" xml:"type,omitempty"`

	TypeName string `json:"type_name,omitempty" xml:"type_name,omitempty"`

	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`

	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`

	Price int64 `json:"price,omitempty" xml:"price,omitempty"`

	GroupCode int64 `json:"group_code,omitempty" xml:"group_code,omitempty"`

	GroupDesc string `json:"group_desc,omitempty" xml:"group_desc,omitempty"`

	SimpleDesc string `json:"simple_desc,omitempty" xml:"simple_desc,omitempty"`

	FullDesc string `json:"full_desc,omitempty" xml:"full_desc,omitempty"`

	HyperlinkDesc string `json:"hyperlink_desc,omitempty" xml:"hyperlink_desc,omitempty"`

	HyperlinkUrl string `json:"hyperlink_url,omitempty" xml:"hyperlink_url,omitempty"`

	SerialNumber string `json:"serial_number,omitempty" xml:"serial_number,omitempty"`
}

AwardVO

type TaobaoDeActivityDeliveryAddrConfirmAPIResponse

type TaobaoDeActivityDeliveryAddrConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoDeActivityDeliveryAddrConfirmResponse
}

用户收件地址确认 APIResponse taobao.de.activity.delivery.addr.confirm

用户收件地址确认

type TaobaoDeActivityDeliveryAddrConfirmRequest

type TaobaoDeActivityDeliveryAddrConfirmRequest struct {
	model.Params
	// contains filtered or unexported fields
}

用户收件地址确认 APIRequest taobao.de.activity.delivery.addr.confirm

用户收件地址确认

func NewTaobaoDeActivityDeliveryAddrConfirmRequest

func NewTaobaoDeActivityDeliveryAddrConfirmRequest() *TaobaoDeActivityDeliveryAddrConfirmRequest

func (TaobaoDeActivityDeliveryAddrConfirmRequest) GetAddressSign

func (TaobaoDeActivityDeliveryAddrConfirmRequest) GetApiMethodName

func (TaobaoDeActivityDeliveryAddrConfirmRequest) GetApiParams

func (TaobaoDeActivityDeliveryAddrConfirmRequest) GetSerialNumber

func (*TaobaoDeActivityDeliveryAddrConfirmRequest) SetAddressSign

func (r *TaobaoDeActivityDeliveryAddrConfirmRequest) SetAddressSign(addressSign string) error

func (*TaobaoDeActivityDeliveryAddrConfirmRequest) SetSerialNumber

func (r *TaobaoDeActivityDeliveryAddrConfirmRequest) SetSerialNumber(serialNumber string) error

type TaobaoDeActivityDeliveryAddrConfirmResponse

type TaobaoDeActivityDeliveryAddrConfirmResponse struct {
	XMLName   xml.Name `xml:"de_activity_delivery_addr_confirm_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	UpdateDeliveryAddressVo *UpdateDeliveryAddressVO `json:"update_delivery_address_vo,omitempty" xml:"update_delivery_address_vo,omitempty"`
}

type TaobaoDeActivityInfoGetAPIResponse

type TaobaoDeActivityInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoDeActivityInfoGetResponse
}

获取活动信息 APIResponse taobao.de.activity.info.get

根据appKey和活动id获取活动

type TaobaoDeActivityInfoGetRequest

type TaobaoDeActivityInfoGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

获取活动信息 APIRequest taobao.de.activity.info.get

根据appKey和活动id获取活动

func NewTaobaoDeActivityInfoGetRequest

func NewTaobaoDeActivityInfoGetRequest() *TaobaoDeActivityInfoGetRequest

func (TaobaoDeActivityInfoGetRequest) GetApiMethodName

func (r TaobaoDeActivityInfoGetRequest) GetApiMethodName() string

func (TaobaoDeActivityInfoGetRequest) GetApiParams

func (r TaobaoDeActivityInfoGetRequest) GetApiParams() url.Values

func (TaobaoDeActivityInfoGetRequest) GetEventKey

func (r TaobaoDeActivityInfoGetRequest) GetEventKey() string

func (*TaobaoDeActivityInfoGetRequest) SetEventKey

func (r *TaobaoDeActivityInfoGetRequest) SetEventKey(eventKey string) error

type TaobaoDeActivityInfoGetResponse

type TaobaoDeActivityInfoGetResponse struct {
	XMLName   xml.Name `xml:"de_activity_info_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Activities []ActivityVO `json:"activities,omitempty" xml:"activities>activity_vo,omitempty"`
}

type TaobaoDeActivityLuckydrawAPIResponse

type TaobaoDeActivityLuckydrawAPIResponse struct {
	model.CommonResponse
	TaobaoDeActivityLuckydrawResponse
}

抽奖 APIResponse taobao.de.activity.luckydraw

用于激励平台对外提供抽奖功能,包括但不限于集分宝、红包、宝点、淘金币、淘彩票等

type TaobaoDeActivityLuckydrawRequest

type TaobaoDeActivityLuckydrawRequest struct {
	model.Params
	// contains filtered or unexported fields
}

抽奖 APIRequest taobao.de.activity.luckydraw

用于激励平台对外提供抽奖功能,包括但不限于集分宝、红包、宝点、淘金币、淘彩票等

func NewTaobaoDeActivityLuckydrawRequest

func NewTaobaoDeActivityLuckydrawRequest() *TaobaoDeActivityLuckydrawRequest

func (TaobaoDeActivityLuckydrawRequest) GetAccountId

func (r TaobaoDeActivityLuckydrawRequest) GetAccountId() string

func (TaobaoDeActivityLuckydrawRequest) GetApiMethodName

func (r TaobaoDeActivityLuckydrawRequest) GetApiMethodName() string

func (TaobaoDeActivityLuckydrawRequest) GetApiParams

func (r TaobaoDeActivityLuckydrawRequest) GetApiParams() url.Values

func (TaobaoDeActivityLuckydrawRequest) GetBehaviorKey

func (r TaobaoDeActivityLuckydrawRequest) GetBehaviorKey() string

func (TaobaoDeActivityLuckydrawRequest) GetChannel

func (TaobaoDeActivityLuckydrawRequest) GetConfirmKey

func (r TaobaoDeActivityLuckydrawRequest) GetConfirmKey() string

func (TaobaoDeActivityLuckydrawRequest) GetDeviceModel

func (r TaobaoDeActivityLuckydrawRequest) GetDeviceModel() string

func (TaobaoDeActivityLuckydrawRequest) GetDistribChannel

func (r TaobaoDeActivityLuckydrawRequest) GetDistribChannel() string

func (TaobaoDeActivityLuckydrawRequest) GetEventKey

func (r TaobaoDeActivityLuckydrawRequest) GetEventKey() string

func (TaobaoDeActivityLuckydrawRequest) GetMachineId

func (r TaobaoDeActivityLuckydrawRequest) GetMachineId() string

func (TaobaoDeActivityLuckydrawRequest) GetMarket

func (TaobaoDeActivityLuckydrawRequest) GetSequenceId

func (r TaobaoDeActivityLuckydrawRequest) GetSequenceId() int64

func (TaobaoDeActivityLuckydrawRequest) GetUuid

func (*TaobaoDeActivityLuckydrawRequest) SetAccountId

func (r *TaobaoDeActivityLuckydrawRequest) SetAccountId(accountId string) error

func (*TaobaoDeActivityLuckydrawRequest) SetBehaviorKey

func (r *TaobaoDeActivityLuckydrawRequest) SetBehaviorKey(behaviorKey string) error

func (*TaobaoDeActivityLuckydrawRequest) SetChannel

func (r *TaobaoDeActivityLuckydrawRequest) SetChannel(channel string) error

func (*TaobaoDeActivityLuckydrawRequest) SetConfirmKey

func (r *TaobaoDeActivityLuckydrawRequest) SetConfirmKey(confirmKey string) error

func (*TaobaoDeActivityLuckydrawRequest) SetDeviceModel

func (r *TaobaoDeActivityLuckydrawRequest) SetDeviceModel(deviceModel string) error

func (*TaobaoDeActivityLuckydrawRequest) SetDistribChannel

func (r *TaobaoDeActivityLuckydrawRequest) SetDistribChannel(distribChannel string) error

func (*TaobaoDeActivityLuckydrawRequest) SetEventKey

func (r *TaobaoDeActivityLuckydrawRequest) SetEventKey(eventKey string) error

func (*TaobaoDeActivityLuckydrawRequest) SetMachineId

func (r *TaobaoDeActivityLuckydrawRequest) SetMachineId(machineId string) error

func (*TaobaoDeActivityLuckydrawRequest) SetMarket

func (r *TaobaoDeActivityLuckydrawRequest) SetMarket(market string) error

func (*TaobaoDeActivityLuckydrawRequest) SetSequenceId

func (r *TaobaoDeActivityLuckydrawRequest) SetSequenceId(sequenceId int64) error

func (*TaobaoDeActivityLuckydrawRequest) SetUuid

type TaobaoDeActivityLuckydrawResponse

type TaobaoDeActivityLuckydrawResponse struct {
	XMLName   xml.Name `xml:"de_activity_luckydraw_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	AwardVO *AwardVO `json:"award_v_o,omitempty" xml:"award_v_o,omitempty"`

	IsLucky bool `json:"is_lucky,omitempty" xml:"is_lucky,omitempty"`

	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`

	AccessAmount int64 `json:"access_amount,omitempty" xml:"access_amount,omitempty"`
}

type TaobaoDeActivityMachineidGetAPIResponse

type TaobaoDeActivityMachineidGetAPIResponse struct {
	model.CommonResponse
	TaobaoDeActivityMachineidGetResponse
}

获取设备号 APIResponse taobao.de.activity.machineid.get

获取机器设备id

type TaobaoDeActivityMachineidGetRequest

type TaobaoDeActivityMachineidGetRequest struct {
	model.Params
}

获取设备号 APIRequest taobao.de.activity.machineid.get

获取机器设备id

func NewTaobaoDeActivityMachineidGetRequest

func NewTaobaoDeActivityMachineidGetRequest() *TaobaoDeActivityMachineidGetRequest

func (TaobaoDeActivityMachineidGetRequest) GetApiMethodName

func (r TaobaoDeActivityMachineidGetRequest) GetApiMethodName() string

func (TaobaoDeActivityMachineidGetRequest) GetApiParams

type TaobaoDeActivityMachineidGetResponse

type TaobaoDeActivityMachineidGetResponse struct {
	XMLName   xml.Name `xml:"de_activity_machineid_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	MachineId string `json:"machine_id,omitempty" xml:"machine_id,omitempty"`
}

type UpdateDeliveryAddressVO

type UpdateDeliveryAddressVO struct {
	UpdateAddress bool `json:"update_address,omitempty" xml:"update_address,omitempty"`
}

UpdateDeliveryAddressVO

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL