gameact

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package gameact 包含游戏激励平台API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=25396

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseActivityVo added in v1.3.4

func ReleaseActivityVo(v *ActivityVo)

ReleaseActivityVo 释放ActivityVo

func ReleaseAwardVo added in v1.3.4

func ReleaseAwardVo(v *AwardVo)

ReleaseAwardVo 释放AwardVo

func ReleaseTaobaoDeActivityDeliveryAddrConfirmAPIRequest added in v1.3.4

func ReleaseTaobaoDeActivityDeliveryAddrConfirmAPIRequest(v *TaobaoDeActivityDeliveryAddrConfirmAPIRequest)

ReleaseTaobaoDeActivityDeliveryAddrConfirmAPIRequest 将 TaobaoDeActivityDeliveryAddrConfirmAPIRequest 放入 sync.Pool

func ReleaseTaobaoDeActivityDeliveryAddrConfirmAPIResponse added in v1.3.4

func ReleaseTaobaoDeActivityDeliveryAddrConfirmAPIResponse(v *TaobaoDeActivityDeliveryAddrConfirmAPIResponse)

ReleaseTaobaoDeActivityDeliveryAddrConfirmAPIResponse 将 TaobaoDeActivityDeliveryAddrConfirmAPIResponse 保存到 sync.Pool

func ReleaseTaobaoDeActivityInfoGetAPIRequest added in v1.3.4

func ReleaseTaobaoDeActivityInfoGetAPIRequest(v *TaobaoDeActivityInfoGetAPIRequest)

ReleaseTaobaoDeActivityInfoGetAPIRequest 将 TaobaoDeActivityInfoGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoDeActivityInfoGetAPIResponse added in v1.3.4

func ReleaseTaobaoDeActivityInfoGetAPIResponse(v *TaobaoDeActivityInfoGetAPIResponse)

ReleaseTaobaoDeActivityInfoGetAPIResponse 将 TaobaoDeActivityInfoGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoDeActivityLuckydrawAPIRequest added in v1.3.4

func ReleaseTaobaoDeActivityLuckydrawAPIRequest(v *TaobaoDeActivityLuckydrawAPIRequest)

ReleaseTaobaoDeActivityLuckydrawAPIRequest 将 TaobaoDeActivityLuckydrawAPIRequest 放入 sync.Pool

func ReleaseTaobaoDeActivityLuckydrawAPIResponse added in v1.3.4

func ReleaseTaobaoDeActivityLuckydrawAPIResponse(v *TaobaoDeActivityLuckydrawAPIResponse)

ReleaseTaobaoDeActivityLuckydrawAPIResponse 将 TaobaoDeActivityLuckydrawAPIResponse 保存到 sync.Pool

func ReleaseTaobaoDeActivityMachineidGetAPIRequest added in v1.3.4

func ReleaseTaobaoDeActivityMachineidGetAPIRequest(v *TaobaoDeActivityMachineidGetAPIRequest)

ReleaseTaobaoDeActivityMachineidGetAPIRequest 将 TaobaoDeActivityMachineidGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoDeActivityMachineidGetAPIResponse added in v1.3.4

func ReleaseTaobaoDeActivityMachineidGetAPIResponse(v *TaobaoDeActivityMachineidGetAPIResponse)

ReleaseTaobaoDeActivityMachineidGetAPIResponse 将 TaobaoDeActivityMachineidGetAPIResponse 保存到 sync.Pool

func ReleaseUpdateDeliveryAddressVo added in v1.3.4

func ReleaseUpdateDeliveryAddressVo(v *UpdateDeliveryAddressVo)

ReleaseUpdateDeliveryAddressVo 释放UpdateDeliveryAddressVo

Types

type ActivityVo added in v1.2.7

type ActivityVo struct {
	// 奖项列表
	Awards []AwardVo `json:"awards,omitempty" xml:"awards>award_vo,omitempty"`
	// 活动连接
	ActivityUrl string `json:"activity_url,omitempty" xml:"activity_url,omitempty"`
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 活动描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 运营和cp约定的唯一事件标示
	EventKey string `json:"event_key,omitempty" xml:"event_key,omitempty"`
	// 活动id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 1970年到现在的毫秒数
	StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 1970年距离现在的毫秒数
	EndTime int64 `json:"end_time,omitempty" xml:"end_time,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 结构体

func GetActivityVo added in v1.3.4

func GetActivityVo() *ActivityVo

GetActivityVo() 从对象池中获取ActivityVo

type AwardVo added in v1.2.7

type AwardVo struct {
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 根据类型展示不同的名称
	TypeName string `json:"type_name,omitempty" xml:"type_name,omitempty"`
	// 发奖单位
	Unit string `json:"unit,omitempty" xml:"unit,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"`
	// 超链url
	HyperlinkUrl string `json:"hyperlink_url,omitempty" xml:"hyperlink_url,omitempty"`
	// 加密串,对外流水号
	SerialNumber string `json:"serial_number,omitempty" xml:"serial_number,omitempty"`
	// 奖品id
	AwardId int64 `json:"award_id,omitempty" xml:"award_id,omitempty"`
	// 活动id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 1:集分宝 2:红包 3:彩票 4:宝点  5:淘金币
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 数量
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 单位为分
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 分组编码
	GroupCode int64 `json:"group_code,omitempty" xml:"group_code,omitempty"`
}

AwardVo 结构体

func GetAwardVo added in v1.3.4

func GetAwardVo() *AwardVo

GetAwardVo() 从对象池中获取AwardVo

type TaobaoDeActivityDeliveryAddrConfirmAPIRequest added in v1.2.0

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

TaobaoDeActivityDeliveryAddrConfirmAPIRequest 用户收件地址确认 API请求 taobao.de.activity.delivery.addr.confirm

用户收件地址确认

func GetTaobaoDeActivityDeliveryAddrConfirmAPIRequest added in v1.3.4

func GetTaobaoDeActivityDeliveryAddrConfirmAPIRequest() *TaobaoDeActivityDeliveryAddrConfirmAPIRequest

GetTaobaoDeActivityDeliveryAddrConfirmRequest 从 sync.Pool 获取 TaobaoDeActivityDeliveryAddrConfirmAPIRequest

func NewTaobaoDeActivityDeliveryAddrConfirmRequest

func NewTaobaoDeActivityDeliveryAddrConfirmRequest() *TaobaoDeActivityDeliveryAddrConfirmAPIRequest

NewTaobaoDeActivityDeliveryAddrConfirmRequest 初始化TaobaoDeActivityDeliveryAddrConfirmAPIRequest对象

func (TaobaoDeActivityDeliveryAddrConfirmAPIRequest) GetAddressSign added in v1.2.0

GetAddressSign AddressSign Getter

func (TaobaoDeActivityDeliveryAddrConfirmAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoDeActivityDeliveryAddrConfirmAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoDeActivityDeliveryAddrConfirmAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoDeActivityDeliveryAddrConfirmAPIRequest) GetSerialNumber added in v1.2.0

GetSerialNumber SerialNumber Getter

func (*TaobaoDeActivityDeliveryAddrConfirmAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoDeActivityDeliveryAddrConfirmAPIRequest) SetAddressSign added in v1.2.0

func (r *TaobaoDeActivityDeliveryAddrConfirmAPIRequest) SetAddressSign(_addressSign string) error

SetAddressSign is AddressSign Setter 地址Sign

func (*TaobaoDeActivityDeliveryAddrConfirmAPIRequest) SetSerialNumber added in v1.2.0

func (r *TaobaoDeActivityDeliveryAddrConfirmAPIRequest) SetSerialNumber(_serialNumber string) error

SetSerialNumber is SerialNumber Setter 加密流水号

type TaobaoDeActivityDeliveryAddrConfirmAPIResponse

type TaobaoDeActivityDeliveryAddrConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoDeActivityDeliveryAddrConfirmAPIResponseModel
}

TaobaoDeActivityDeliveryAddrConfirmAPIResponse 用户收件地址确认 API返回值 taobao.de.activity.delivery.addr.confirm

用户收件地址确认

func GetTaobaoDeActivityDeliveryAddrConfirmAPIResponse added in v1.3.4

func GetTaobaoDeActivityDeliveryAddrConfirmAPIResponse() *TaobaoDeActivityDeliveryAddrConfirmAPIResponse

GetTaobaoDeActivityDeliveryAddrConfirmAPIResponse 从 sync.Pool 获取 TaobaoDeActivityDeliveryAddrConfirmAPIResponse

func (*TaobaoDeActivityDeliveryAddrConfirmAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoDeActivityDeliveryAddrConfirmAPIResponseModel added in v1.2.0

type TaobaoDeActivityDeliveryAddrConfirmAPIResponseModel 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"`
}

TaobaoDeActivityDeliveryAddrConfirmAPIResponseModel is 用户收件地址确认 成功返回结果

func (*TaobaoDeActivityDeliveryAddrConfirmAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoDeActivityInfoGetAPIRequest added in v1.2.0

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

TaobaoDeActivityInfoGetAPIRequest 获取活动信息 API请求 taobao.de.activity.info.get

根据appKey和活动id获取活动

func GetTaobaoDeActivityInfoGetAPIRequest added in v1.3.4

func GetTaobaoDeActivityInfoGetAPIRequest() *TaobaoDeActivityInfoGetAPIRequest

GetTaobaoDeActivityInfoGetRequest 从 sync.Pool 获取 TaobaoDeActivityInfoGetAPIRequest

func NewTaobaoDeActivityInfoGetRequest

func NewTaobaoDeActivityInfoGetRequest() *TaobaoDeActivityInfoGetAPIRequest

NewTaobaoDeActivityInfoGetRequest 初始化TaobaoDeActivityInfoGetAPIRequest对象

func (TaobaoDeActivityInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoDeActivityInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoDeActivityInfoGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoDeActivityInfoGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoDeActivityInfoGetAPIRequest) GetEventKey added in v1.2.0

func (r TaobaoDeActivityInfoGetAPIRequest) GetEventKey() string

GetEventKey EventKey Getter

func (TaobaoDeActivityInfoGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoDeActivityInfoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoDeActivityInfoGetAPIRequest) SetEventKey added in v1.2.0

func (r *TaobaoDeActivityInfoGetAPIRequest) SetEventKey(_eventKey string) error

SetEventKey is EventKey Setter 事件唯一标识

type TaobaoDeActivityInfoGetAPIResponse

type TaobaoDeActivityInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoDeActivityInfoGetAPIResponseModel
}

TaobaoDeActivityInfoGetAPIResponse 获取活动信息 API返回值 taobao.de.activity.info.get

根据appKey和活动id获取活动

func GetTaobaoDeActivityInfoGetAPIResponse added in v1.3.4

func GetTaobaoDeActivityInfoGetAPIResponse() *TaobaoDeActivityInfoGetAPIResponse

GetTaobaoDeActivityInfoGetAPIResponse 从 sync.Pool 获取 TaobaoDeActivityInfoGetAPIResponse

func (*TaobaoDeActivityInfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoDeActivityInfoGetAPIResponseModel added in v1.2.0

type TaobaoDeActivityInfoGetAPIResponseModel 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"`
}

TaobaoDeActivityInfoGetAPIResponseModel is 获取活动信息 成功返回结果

func (*TaobaoDeActivityInfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoDeActivityLuckydrawAPIRequest added in v1.2.0

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

TaobaoDeActivityLuckydrawAPIRequest 抽奖 API请求 taobao.de.activity.luckydraw

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

func GetTaobaoDeActivityLuckydrawAPIRequest added in v1.3.4

func GetTaobaoDeActivityLuckydrawAPIRequest() *TaobaoDeActivityLuckydrawAPIRequest

GetTaobaoDeActivityLuckydrawRequest 从 sync.Pool 获取 TaobaoDeActivityLuckydrawAPIRequest

func NewTaobaoDeActivityLuckydrawRequest

func NewTaobaoDeActivityLuckydrawRequest() *TaobaoDeActivityLuckydrawAPIRequest

NewTaobaoDeActivityLuckydrawRequest 初始化TaobaoDeActivityLuckydrawAPIRequest对象

func (TaobaoDeActivityLuckydrawAPIRequest) GetAccountId added in v1.2.0

GetAccountId AccountId Getter

func (TaobaoDeActivityLuckydrawAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoDeActivityLuckydrawAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoDeActivityLuckydrawAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoDeActivityLuckydrawAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoDeActivityLuckydrawAPIRequest) GetBehaviorKey added in v1.2.0

func (r TaobaoDeActivityLuckydrawAPIRequest) GetBehaviorKey() string

GetBehaviorKey BehaviorKey Getter

func (TaobaoDeActivityLuckydrawAPIRequest) GetChannel added in v1.2.0

GetChannel Channel Getter

func (TaobaoDeActivityLuckydrawAPIRequest) GetConfirmKey added in v1.2.0

func (r TaobaoDeActivityLuckydrawAPIRequest) GetConfirmKey() string

GetConfirmKey ConfirmKey Getter

func (TaobaoDeActivityLuckydrawAPIRequest) GetDeviceModel added in v1.2.0

func (r TaobaoDeActivityLuckydrawAPIRequest) GetDeviceModel() string

GetDeviceModel DeviceModel Getter

func (TaobaoDeActivityLuckydrawAPIRequest) GetDistribChannel added in v1.2.0

func (r TaobaoDeActivityLuckydrawAPIRequest) GetDistribChannel() string

GetDistribChannel DistribChannel Getter

func (TaobaoDeActivityLuckydrawAPIRequest) GetEventKey added in v1.2.0

GetEventKey EventKey Getter

func (TaobaoDeActivityLuckydrawAPIRequest) GetMachineId added in v1.2.0

GetMachineId MachineId Getter

func (TaobaoDeActivityLuckydrawAPIRequest) GetMarket added in v1.2.0

GetMarket Market Getter

func (TaobaoDeActivityLuckydrawAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoDeActivityLuckydrawAPIRequest) GetSequenceId added in v1.2.0

func (r TaobaoDeActivityLuckydrawAPIRequest) GetSequenceId() int64

GetSequenceId SequenceId Getter

func (TaobaoDeActivityLuckydrawAPIRequest) GetUuid added in v1.2.0

GetUuid Uuid Getter

func (*TaobaoDeActivityLuckydrawAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoDeActivityLuckydrawAPIRequest) SetAccountId added in v1.2.0

func (r *TaobaoDeActivityLuckydrawAPIRequest) SetAccountId(_accountId string) error

SetAccountId is AccountId Setter 用户的串ID

func (*TaobaoDeActivityLuckydrawAPIRequest) SetBehaviorKey added in v1.2.0

func (r *TaobaoDeActivityLuckydrawAPIRequest) SetBehaviorKey(_behaviorKey string) error

SetBehaviorKey is BehaviorKey Setter 行为Key

func (*TaobaoDeActivityLuckydrawAPIRequest) SetChannel added in v1.2.0

func (r *TaobaoDeActivityLuckydrawAPIRequest) SetChannel(_channel string) error

SetChannel is Channel Setter 渠道

func (*TaobaoDeActivityLuckydrawAPIRequest) SetConfirmKey added in v1.2.0

func (r *TaobaoDeActivityLuckydrawAPIRequest) SetConfirmKey(_confirmKey string) error

SetConfirmKey is ConfirmKey Setter 确认签名key

func (*TaobaoDeActivityLuckydrawAPIRequest) SetDeviceModel added in v1.2.0

func (r *TaobaoDeActivityLuckydrawAPIRequest) SetDeviceModel(_deviceModel string) error

SetDeviceModel is DeviceModel Setter 盒型号

func (*TaobaoDeActivityLuckydrawAPIRequest) SetDistribChannel added in v1.2.0

func (r *TaobaoDeActivityLuckydrawAPIRequest) SetDistribChannel(_distribChannel string) error

SetDistribChannel is DistribChannel Setter 魔盒分发渠道

func (*TaobaoDeActivityLuckydrawAPIRequest) SetEventKey added in v1.2.0

func (r *TaobaoDeActivityLuckydrawAPIRequest) SetEventKey(_eventKey string) error

SetEventKey is EventKey Setter 运营和cp约定的事件唯一标示

func (*TaobaoDeActivityLuckydrawAPIRequest) SetMachineId added in v1.2.0

func (r *TaobaoDeActivityLuckydrawAPIRequest) SetMachineId(_machineId string) error

SetMachineId is MachineId Setter 机器设备号

func (*TaobaoDeActivityLuckydrawAPIRequest) SetMarket added in v1.2.0

func (r *TaobaoDeActivityLuckydrawAPIRequest) SetMarket(_market string) error

SetMarket is Market Setter 使用市场

func (*TaobaoDeActivityLuckydrawAPIRequest) SetSequenceId added in v1.2.0

func (r *TaobaoDeActivityLuckydrawAPIRequest) SetSequenceId(_sequenceId int64) error

SetSequenceId is SequenceId Setter 时间戳

func (*TaobaoDeActivityLuckydrawAPIRequest) SetUuid added in v1.2.0

SetUuid is Uuid Setter 魔盒UUID

type TaobaoDeActivityLuckydrawAPIResponse

type TaobaoDeActivityLuckydrawAPIResponse struct {
	model.CommonResponse
	TaobaoDeActivityLuckydrawAPIResponseModel
}

TaobaoDeActivityLuckydrawAPIResponse 抽奖 API返回值 taobao.de.activity.luckydraw

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

func GetTaobaoDeActivityLuckydrawAPIResponse added in v1.3.4

func GetTaobaoDeActivityLuckydrawAPIResponse() *TaobaoDeActivityLuckydrawAPIResponse

GetTaobaoDeActivityLuckydrawAPIResponse 从 sync.Pool 获取 TaobaoDeActivityLuckydrawAPIResponse

func (*TaobaoDeActivityLuckydrawAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoDeActivityLuckydrawAPIResponseModel added in v1.2.0

type TaobaoDeActivityLuckydrawAPIResponseModel 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"`
	// 数娱积分/金牌余额
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 可用抽奖次数
	AccessAmount int64 `json:"access_amount,omitempty" xml:"access_amount,omitempty"`
	// 123
	IsLucky bool `json:"is_lucky,omitempty" xml:"is_lucky,omitempty"`
}

TaobaoDeActivityLuckydrawAPIResponseModel is 抽奖 成功返回结果

func (*TaobaoDeActivityLuckydrawAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoDeActivityMachineidGetAPIRequest added in v1.2.0

type TaobaoDeActivityMachineidGetAPIRequest struct {
	model.Params
}

TaobaoDeActivityMachineidGetAPIRequest 获取设备号 API请求 taobao.de.activity.machineid.get

获取机器设备id

func GetTaobaoDeActivityMachineidGetAPIRequest added in v1.3.4

func GetTaobaoDeActivityMachineidGetAPIRequest() *TaobaoDeActivityMachineidGetAPIRequest

GetTaobaoDeActivityMachineidGetRequest 从 sync.Pool 获取 TaobaoDeActivityMachineidGetAPIRequest

func NewTaobaoDeActivityMachineidGetRequest

func NewTaobaoDeActivityMachineidGetRequest() *TaobaoDeActivityMachineidGetAPIRequest

NewTaobaoDeActivityMachineidGetRequest 初始化TaobaoDeActivityMachineidGetAPIRequest对象

func (TaobaoDeActivityMachineidGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoDeActivityMachineidGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoDeActivityMachineidGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoDeActivityMachineidGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoDeActivityMachineidGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoDeActivityMachineidGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type TaobaoDeActivityMachineidGetAPIResponse

type TaobaoDeActivityMachineidGetAPIResponse struct {
	model.CommonResponse
	TaobaoDeActivityMachineidGetAPIResponseModel
}

TaobaoDeActivityMachineidGetAPIResponse 获取设备号 API返回值 taobao.de.activity.machineid.get

获取机器设备id

func GetTaobaoDeActivityMachineidGetAPIResponse added in v1.3.4

func GetTaobaoDeActivityMachineidGetAPIResponse() *TaobaoDeActivityMachineidGetAPIResponse

GetTaobaoDeActivityMachineidGetAPIResponse 从 sync.Pool 获取 TaobaoDeActivityMachineidGetAPIResponse

func (*TaobaoDeActivityMachineidGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoDeActivityMachineidGetAPIResponseModel added in v1.2.0

type TaobaoDeActivityMachineidGetAPIResponseModel 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"`
}

TaobaoDeActivityMachineidGetAPIResponseModel is 获取设备号 成功返回结果

func (*TaobaoDeActivityMachineidGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type UpdateDeliveryAddressVo added in v1.2.7

type UpdateDeliveryAddressVo struct {
	// 是否成功更新或确认地址
	UpdateAddress bool `json:"update_address,omitempty" xml:"update_address,omitempty"`
}

UpdateDeliveryAddressVo 结构体

func GetUpdateDeliveryAddressVo added in v1.3.4

func GetUpdateDeliveryAddressVo() *UpdateDeliveryAddressVo

GetUpdateDeliveryAddressVo() 从对象池中获取UpdateDeliveryAddressVo

Jump to

Keyboard shortcuts

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