mtopopen

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mtopopen 包含手淘开放API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityLotteryWriteResult

type ActivityLotteryWriteResult struct {
	// isv活动url
	H5Url string `json:"h5_url,omitempty" xml:"h5_url,omitempty"`
	// isv活动的id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
}

ActivityLotteryWriteResult 结构体

type AlibabaInteractAllsparkisvDrawAPIRequest added in v1.2.0

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

AlibabaInteractAllsparkisvDrawAPIRequest allspark提供抽奖tida接口对应鉴权接口 API请求 alibaba.interact.allsparkisv.draw

该接口没有实际对外使用。只是内部鉴权使用,不会有三方应用调用

func NewAlibabaInteractAllsparkisvDrawRequest

func NewAlibabaInteractAllsparkisvDrawRequest() *AlibabaInteractAllsparkisvDrawAPIRequest

NewAlibabaInteractAllsparkisvDrawRequest 初始化AlibabaInteractAllsparkisvDrawAPIRequest对象

func (AlibabaInteractAllsparkisvDrawAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractAllsparkisvDrawAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractAllsparkisvDrawAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractAllsparkisvDrawAPIRequest) GetDdd added in v1.2.0

GetDdd Ddd Getter

func (AlibabaInteractAllsparkisvDrawAPIRequest) GetTest added in v1.2.0

GetTest Test Getter

func (*AlibabaInteractAllsparkisvDrawAPIRequest) SetDdd added in v1.2.0

SetDdd is Ddd Setter dd

func (*AlibabaInteractAllsparkisvDrawAPIRequest) SetTest added in v1.2.0

SetTest is Test Setter ddd

type AlibabaInteractAllsparkisvDrawAPIResponse

type AlibabaInteractAllsparkisvDrawAPIResponse struct {
	model.CommonResponse
	AlibabaInteractAllsparkisvDrawAPIResponseModel
}

AlibabaInteractAllsparkisvDrawAPIResponse allspark提供抽奖tida接口对应鉴权接口 API返回值 alibaba.interact.allsparkisv.draw

该接口没有实际对外使用。只是内部鉴权使用,不会有三方应用调用

type AlibabaInteractAllsparkisvDrawAPIResponseModel added in v1.2.0

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

AlibabaInteractAllsparkisvDrawAPIResponseModel is allspark提供抽奖tida接口对应鉴权接口 成功返回结果

type AlibabaInteractAopdataRegisterAPIRequest added in v1.2.0

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

AlibabaInteractAopdataRegisterAPIRequest 资源位数据推送接口 API请求 alibaba.interact.aopdata.register

提供给isv,查询以及推送浮层资源位的三方活动数据

func NewAlibabaInteractAopdataRegisterRequest

func NewAlibabaInteractAopdataRegisterRequest() *AlibabaInteractAopdataRegisterAPIRequest

NewAlibabaInteractAopdataRegisterRequest 初始化AlibabaInteractAopdataRegisterAPIRequest对象

func (AlibabaInteractAopdataRegisterAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractAopdataRegisterAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractAopdataRegisterAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractAopdataRegisterAPIRequest) GetParamTopIsvDecorateParam added in v1.2.0

func (r AlibabaInteractAopdataRegisterAPIRequest) GetParamTopIsvDecorateParam() *TopIsvDecorateParam

GetParamTopIsvDecorateParam ParamTopIsvDecorateParam Getter

func (*AlibabaInteractAopdataRegisterAPIRequest) SetParamTopIsvDecorateParam added in v1.2.0

func (r *AlibabaInteractAopdataRegisterAPIRequest) SetParamTopIsvDecorateParam(_paramTopIsvDecorateParam *TopIsvDecorateParam) error

SetParamTopIsvDecorateParam is ParamTopIsvDecorateParam Setter 入参

type AlibabaInteractAopdataRegisterAPIResponse

type AlibabaInteractAopdataRegisterAPIResponse struct {
	model.CommonResponse
	AlibabaInteractAopdataRegisterAPIResponseModel
}

AlibabaInteractAopdataRegisterAPIResponse 资源位数据推送接口 API返回值 alibaba.interact.aopdata.register

提供给isv,查询以及推送浮层资源位的三方活动数据

type AlibabaInteractAopdataRegisterAPIResponseModel added in v1.2.0

type AlibabaInteractAopdataRegisterAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_aopdata_register_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaInteractAopdataRegisterResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaInteractAopdataRegisterAPIResponseModel is 资源位数据推送接口 成功返回结果

type AlibabaInteractAopdataRegisterResult

type AlibabaInteractAopdataRegisterResult struct {
	// xx
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// xxx失败
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// xxx失败
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 跟踪请求使用
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 接口调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaInteractAopdataRegisterResult 结构体

type AlibabaInteractLotteryactivityRegisterAPIRequest added in v1.2.0

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

AlibabaInteractLotteryactivityRegisterAPIRequest 回传抽奖相关参数 API请求 alibaba.interact.lotteryactivity.register

提供接口供三方应用将数据回传到平台

func NewAlibabaInteractLotteryactivityRegisterRequest

func NewAlibabaInteractLotteryactivityRegisterRequest() *AlibabaInteractLotteryactivityRegisterAPIRequest

NewAlibabaInteractLotteryactivityRegisterRequest 初始化AlibabaInteractLotteryactivityRegisterAPIRequest对象

func (AlibabaInteractLotteryactivityRegisterAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractLotteryactivityRegisterAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractLotteryactivityRegisterAPIRequest) GetParamTopUpdateActivityLotteryInfoParam added in v1.2.0

func (r AlibabaInteractLotteryactivityRegisterAPIRequest) GetParamTopUpdateActivityLotteryInfoParam() *TopUpdateActivityLotteryInfoParam

GetParamTopUpdateActivityLotteryInfoParam ParamTopUpdateActivityLotteryInfoParam Getter

func (*AlibabaInteractLotteryactivityRegisterAPIRequest) SetParamTopUpdateActivityLotteryInfoParam added in v1.2.0

func (r *AlibabaInteractLotteryactivityRegisterAPIRequest) SetParamTopUpdateActivityLotteryInfoParam(_paramTopUpdateActivityLotteryInfoParam *TopUpdateActivityLotteryInfoParam) error

SetParamTopUpdateActivityLotteryInfoParam is ParamTopUpdateActivityLotteryInfoParam Setter 入参

type AlibabaInteractLotteryactivityRegisterAPIResponse

type AlibabaInteractLotteryactivityRegisterAPIResponse struct {
	model.CommonResponse
	AlibabaInteractLotteryactivityRegisterAPIResponseModel
}

AlibabaInteractLotteryactivityRegisterAPIResponse 回传抽奖相关参数 API返回值 alibaba.interact.lotteryactivity.register

提供接口供三方应用将数据回传到平台

type AlibabaInteractLotteryactivityRegisterAPIResponseModel added in v1.2.0

type AlibabaInteractLotteryactivityRegisterAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_lotteryactivity_register_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaInteractLotteryactivityRegisterResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaInteractLotteryactivityRegisterAPIResponseModel is 回传抽奖相关参数 成功返回结果

type AlibabaInteractLotteryactivityRegisterResult

type AlibabaInteractLotteryactivityRegisterResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 方便追踪请求的唯一标识
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 返回的数据
	Data *ActivityLotteryWriteResult `json:"data,omitempty" xml:"data,omitempty"`
	// xxx
	ModuleMap *Modulemap `json:"module_map,omitempty" xml:"module_map,omitempty"`
	// 注册抽奖活动失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaInteractLotteryactivityRegisterResult 结构体

type AlibabaInteractMediaArtworkAPIRequest added in v1.2.0

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

AlibabaInteractMediaArtworkAPIRequest 原图相关鉴权接口 API请求 alibaba.interact.media.artwork

拍摄并上传原图相关鉴权接口

func NewAlibabaInteractMediaArtworkRequest

func NewAlibabaInteractMediaArtworkRequest() *AlibabaInteractMediaArtworkAPIRequest

NewAlibabaInteractMediaArtworkRequest 初始化AlibabaInteractMediaArtworkAPIRequest对象

func (AlibabaInteractMediaArtworkAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractMediaArtworkAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractMediaArtworkAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractMediaArtworkAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (*AlibabaInteractMediaArtworkAPIRequest) SetId added in v1.2.0

SetId is Id Setter 系统自动生成

type AlibabaInteractMediaArtworkAPIResponse

type AlibabaInteractMediaArtworkAPIResponse struct {
	model.CommonResponse
	AlibabaInteractMediaArtworkAPIResponseModel
}

AlibabaInteractMediaArtworkAPIResponse 原图相关鉴权接口 API返回值 alibaba.interact.media.artwork

拍摄并上传原图相关鉴权接口

type AlibabaInteractMediaArtworkAPIResponseModel added in v1.2.0

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

AlibabaInteractMediaArtworkAPIResponseModel is 原图相关鉴权接口 成功返回结果

type AlibabaInteractMediaAudioAPIRequest added in v1.2.0

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

AlibabaInteractMediaAudioAPIRequest 音频相关鉴权接口 API请求 alibaba.interact.media.audio

新音频包的鉴权接口

func NewAlibabaInteractMediaAudioRequest

func NewAlibabaInteractMediaAudioRequest() *AlibabaInteractMediaAudioAPIRequest

NewAlibabaInteractMediaAudioRequest 初始化AlibabaInteractMediaAudioAPIRequest对象

func (AlibabaInteractMediaAudioAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractMediaAudioAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractMediaAudioAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractMediaAudioAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (*AlibabaInteractMediaAudioAPIRequest) SetId added in v1.2.0

SetId is Id Setter 系统自动生成

type AlibabaInteractMediaAudioAPIResponse

type AlibabaInteractMediaAudioAPIResponse struct {
	model.CommonResponse
	AlibabaInteractMediaAudioAPIResponseModel
}

AlibabaInteractMediaAudioAPIResponse 音频相关鉴权接口 API返回值 alibaba.interact.media.audio

新音频包的鉴权接口

type AlibabaInteractMediaAudioAPIResponseModel added in v1.2.0

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

AlibabaInteractMediaAudioAPIResponseModel is 音频相关鉴权接口 成功返回结果

type AlibabaInteractSensorSocialAPIRequest added in v1.2.0

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

AlibabaInteractSensorSocialAPIRequest 社交组件 API请求 alibaba.interact.sensor.social

赞,评论 ,关注 新增接口

func NewAlibabaInteractSensorSocialRequest

func NewAlibabaInteractSensorSocialRequest() *AlibabaInteractSensorSocialAPIRequest

NewAlibabaInteractSensorSocialRequest 初始化AlibabaInteractSensorSocialAPIRequest对象

func (AlibabaInteractSensorSocialAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractSensorSocialAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorSocialAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorSocialAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (*AlibabaInteractSensorSocialAPIRequest) SetId added in v1.2.0

SetId is Id Setter 系统自动生成

type AlibabaInteractSensorSocialAPIResponse

type AlibabaInteractSensorSocialAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorSocialAPIResponseModel
}

AlibabaInteractSensorSocialAPIResponse 社交组件 API返回值 alibaba.interact.sensor.social

赞,评论 ,关注 新增接口

type AlibabaInteractSensorSocialAPIResponseModel added in v1.2.0

type AlibabaInteractSensorSocialAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_sensor_social_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result=1
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaInteractSensorSocialAPIResponseModel is 社交组件 成功返回结果

type AlibabaInteractSensorTradeAPIRequest added in v1.2.0

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

AlibabaInteractSensorTradeAPIRequest 交易组件 API请求 alibaba.interact.sensor.trade

交易流程

func NewAlibabaInteractSensorTradeRequest

func NewAlibabaInteractSensorTradeRequest() *AlibabaInteractSensorTradeAPIRequest

NewAlibabaInteractSensorTradeRequest 初始化AlibabaInteractSensorTradeAPIRequest对象

func (AlibabaInteractSensorTradeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractSensorTradeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorTradeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorTradeAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (*AlibabaInteractSensorTradeAPIRequest) SetId added in v1.2.0

SetId is Id Setter 系统自动生成

type AlibabaInteractSensorTradeAPIResponse

type AlibabaInteractSensorTradeAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorTradeAPIResponseModel
}

AlibabaInteractSensorTradeAPIResponse 交易组件 API返回值 alibaba.interact.sensor.trade

交易流程

type AlibabaInteractSensorTradeAPIResponseModel added in v1.2.0

type AlibabaInteractSensorTradeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_sensor_trade_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result=1
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaInteractSensorTradeAPIResponseModel is 交易组件 成功返回结果

type AlibabaInteractSensorTradeBuyAPIRequest added in v1.2.0

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

AlibabaInteractSensorTradeBuyAPIRequest 手淘下单能力开放 API请求 alibaba.interact.sensor.trade.buy

交易流程鉴权

func NewAlibabaInteractSensorTradeBuyRequest

func NewAlibabaInteractSensorTradeBuyRequest() *AlibabaInteractSensorTradeBuyAPIRequest

NewAlibabaInteractSensorTradeBuyRequest 初始化AlibabaInteractSensorTradeBuyAPIRequest对象

func (AlibabaInteractSensorTradeBuyAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractSensorTradeBuyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorTradeBuyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorTradeBuyAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (*AlibabaInteractSensorTradeBuyAPIRequest) SetId added in v1.2.0

SetId is Id Setter 系统自动生成

type AlibabaInteractSensorTradeBuyAPIResponse

type AlibabaInteractSensorTradeBuyAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorTradeBuyAPIResponseModel
}

AlibabaInteractSensorTradeBuyAPIResponse 手淘下单能力开放 API返回值 alibaba.interact.sensor.trade.buy

交易流程鉴权

type AlibabaInteractSensorTradeBuyAPIResponseModel added in v1.2.0

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

AlibabaInteractSensorTradeBuyAPIResponseModel is 手淘下单能力开放 成功返回结果

type Modulemap

type Modulemap struct {
	// false
	Empty bool `json:"empty,omitempty" xml:"empty,omitempty"`
}

Modulemap 结构体

type TaobaoOauthCodeCreateAPIRequest added in v1.2.0

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

TaobaoOauthCodeCreateAPIRequest 淘宝OauthCode颁发 API请求 taobao.oauth.code.create

手淘无线开放的oauthCode颁发接口

func NewTaobaoOauthCodeCreateRequest

func NewTaobaoOauthCodeCreateRequest() *TaobaoOauthCodeCreateAPIRequest

NewTaobaoOauthCodeCreateRequest 初始化TaobaoOauthCodeCreateAPIRequest对象

func (TaobaoOauthCodeCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOauthCodeCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOauthCodeCreateAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoOauthCodeCreateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOauthCodeCreateAPIRequest) GetTest added in v1.2.0

GetTest Test Getter

func (*TaobaoOauthCodeCreateAPIRequest) SetTest added in v1.2.0

func (r *TaobaoOauthCodeCreateAPIRequest) SetTest(_test int64) error

SetTest is Test Setter mock param

type TaobaoOauthCodeCreateAPIResponse

type TaobaoOauthCodeCreateAPIResponse struct {
	model.CommonResponse
	TaobaoOauthCodeCreateAPIResponseModel
}

TaobaoOauthCodeCreateAPIResponse 淘宝OauthCode颁发 API返回值 taobao.oauth.code.create

手淘无线开放的oauthCode颁发接口

type TaobaoOauthCodeCreateAPIResponseModel added in v1.2.0

type TaobaoOauthCodeCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"oauth_code_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// mock out params
	Test int64 `json:"test,omitempty" xml:"test,omitempty"`
}

TaobaoOauthCodeCreateAPIResponseModel is 淘宝OauthCode颁发 成功返回结果

type TaobaoWeitaoFeedIsrelationAPIRequest added in v1.2.0

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

TaobaoWeitaoFeedIsrelationAPIRequest 是否关注 API请求 taobao.weitao.feed.isrelation

判断用户是否关注对应的公共账号

func NewTaobaoWeitaoFeedIsrelationRequest

func NewTaobaoWeitaoFeedIsrelationRequest() *TaobaoWeitaoFeedIsrelationAPIRequest

NewTaobaoWeitaoFeedIsrelationRequest 初始化TaobaoWeitaoFeedIsrelationAPIRequest对象

func (TaobaoWeitaoFeedIsrelationAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoWeitaoFeedIsrelationAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWeitaoFeedIsrelationAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeitaoFeedIsrelationAPIRequest) GetFansNick added in v1.2.0

GetFansNick FansNick Getter

func (TaobaoWeitaoFeedIsrelationAPIRequest) GetSellerNick added in v1.2.0

func (r TaobaoWeitaoFeedIsrelationAPIRequest) GetSellerNick() string

GetSellerNick SellerNick Getter

func (*TaobaoWeitaoFeedIsrelationAPIRequest) SetFansNick added in v1.2.0

func (r *TaobaoWeitaoFeedIsrelationAPIRequest) SetFansNick(_fansNick string) error

SetFansNick is FansNick Setter 要查询的粉丝的淘宝昵称

func (*TaobaoWeitaoFeedIsrelationAPIRequest) SetSellerNick added in v1.2.0

func (r *TaobaoWeitaoFeedIsrelationAPIRequest) SetSellerNick(_sellerNick string) error

SetSellerNick is SellerNick Setter 要查询的公共账号的淘宝昵称

type TaobaoWeitaoFeedIsrelationAPIResponse

type TaobaoWeitaoFeedIsrelationAPIResponse struct {
	model.CommonResponse
	TaobaoWeitaoFeedIsrelationAPIResponseModel
}

TaobaoWeitaoFeedIsrelationAPIResponse 是否关注 API返回值 taobao.weitao.feed.isrelation

判断用户是否关注对应的公共账号

type TaobaoWeitaoFeedIsrelationAPIResponseModel added in v1.2.0

type TaobaoWeitaoFeedIsrelationAPIResponseModel struct {
	XMLName xml.Name `xml:"weitao_feed_isrelation_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否关注
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoWeitaoFeedIsrelationAPIResponseModel is 是否关注 成功返回结果

type TaobaoWirelessBuntingShopShorturlCreateAPIRequest added in v1.2.0

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

TaobaoWirelessBuntingShopShorturlCreateAPIRequest 通过店铺id取得短链 API请求 taobao.wireless.bunting.shop.shorturl.create

通过店铺id取得短链

func NewTaobaoWirelessBuntingShopShorturlCreateRequest

func NewTaobaoWirelessBuntingShopShorturlCreateRequest() *TaobaoWirelessBuntingShopShorturlCreateAPIRequest

NewTaobaoWirelessBuntingShopShorturlCreateRequest 初始化TaobaoWirelessBuntingShopShorturlCreateAPIRequest对象

func (TaobaoWirelessBuntingShopShorturlCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWirelessBuntingShopShorturlCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWirelessBuntingShopShorturlCreateAPIRequest) GetShopId added in v1.2.0

GetShopId ShopId Getter

func (*TaobaoWirelessBuntingShopShorturlCreateAPIRequest) SetShopId added in v1.2.0

SetShopId is ShopId Setter 商店id

type TaobaoWirelessBuntingShopShorturlCreateAPIResponse

type TaobaoWirelessBuntingShopShorturlCreateAPIResponse struct {
	model.CommonResponse
	TaobaoWirelessBuntingShopShorturlCreateAPIResponseModel
}

TaobaoWirelessBuntingShopShorturlCreateAPIResponse 通过店铺id取得短链 API返回值 taobao.wireless.bunting.shop.shorturl.create

通过店铺id取得短链

type TaobaoWirelessBuntingShopShorturlCreateAPIResponseModel added in v1.2.0

type TaobaoWirelessBuntingShopShorturlCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"wireless_bunting_shop_shorturl_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 短链
	Shorturl string `json:"shorturl,omitempty" xml:"shorturl,omitempty"`
}

TaobaoWirelessBuntingShopShorturlCreateAPIResponseModel is 通过店铺id取得短链 成功返回结果

type TopIsvDecorateParam

type TopIsvDecorateParam struct {
	// 活动id,调用alibaba.interact.activity.register传入的bizid
	BizId string `json:"biz_id,omitempty" xml:"biz_id,omitempty"`
	// 目前必须填0,代表店铺
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// {"action":"update","image_url":"http://xx.cdn","click_url":"http://xxx.play.m.jaeapp.com"},action为update,代表新增(image_url以及click_url必传)。action=get,代表获得商家设置的活动,image_url以及click_url不用填写。action=del,代表将活动从资源位撤下
	BusinessParams string `json:"business_params,omitempty" xml:"business_params,omitempty"`
	// 不用传
	Position string `json:"position,omitempty" xml:"position,omitempty"`
	// 目前必须填0,代表店铺中宝箱资源位
	SubBizType string `json:"sub_biz_type,omitempty" xml:"sub_biz_type,omitempty"`
}

TopIsvDecorateParam 结构体

type TopUpdateActivityLotteryInfoParam

type TopUpdateActivityLotteryInfoParam struct {
	// 商家通过isv创建的活动id
	ActivityBizId string `json:"activity_biz_id,omitempty" xml:"activity_biz_id,omitempty"`
	// isv的appkey
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// 可随意传,目前没有用到,扩展字段
	BannerUrl string `json:"banner_url,omitempty" xml:"banner_url,omitempty"`
	// 商家创建的红包总额
	BenefitAmount string `json:"benefit_amount,omitempty" xml:"benefit_amount,omitempty"`
	// 可随意传,目前没有用到,扩展字段
	BenefitAttribute string `json:"benefit_attribute,omitempty" xml:"benefit_attribute,omitempty"`
	// 目前填1,代表支付宝红包
	BenefitType string `json:"benefit_type,omitempty" xml:"benefit_type,omitempty"`
	// 目前必须填4,代表互动城
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 商家创建的isv活动的结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 抽奖活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 奖品扩展字段
	PrizeExtAttribute string `json:"prize_ext_attribute,omitempty" xml:"prize_ext_attribute,omitempty"`
	// 1元红包
	PrizeName string `json:"prize_name,omitempty" xml:"prize_name,omitempty"`
	// 奖品扩展字段
	PrizeParamAttribute string `json:"prize_param_attribute,omitempty" xml:"prize_param_attribute,omitempty"`
	// 奖品总数
	PrizeQuantity string `json:"prize_quantity,omitempty" xml:"prize_quantity,omitempty"`
	// 奖品总数
	PrizeRemainQuantity string `json:"prize_remain_quantity,omitempty" xml:"prize_remain_quantity,omitempty"`
	// 必须填1,代表红包
	PrizeType string `json:"prize_type,omitempty" xml:"prize_type,omitempty"`
	// 0~1之间,代表奖池的概率
	Probability string `json:"probability,omitempty" xml:"probability,omitempty"`
	// 商家创建的isv活动的开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 商家创建的红包面额
	BenefitDenomination int64 `json:"benefit_denomination,omitempty" xml:"benefit_denomination,omitempty"`
	// 商家选择使用的红包权益id
	BenefitId int64 `json:"benefit_id,omitempty" xml:"benefit_id,omitempty"`
	// 抽奖活动开始时间,long型
	LotteryActivityEndDate int64 `json:"lottery_activity_end_date,omitempty" xml:"lottery_activity_end_date,omitempty"`
	// 抽奖活动结束时间
	LotteryActivityStartDate int64 `json:"lottery_activity_start_date,omitempty" xml:"lottery_activity_start_date,omitempty"`
	// 用户活动期间总共中奖次数限制
	WinPermissionActivityCount int64 `json:"win_permission_activity_count,omitempty" xml:"win_permission_activity_count,omitempty"`
	// 用户每天总共中奖次数限制
	WinPermissionDayCount int64 `json:"win_permission_day_count,omitempty" xml:"win_permission_day_count,omitempty"`
}

TopUpdateActivityLotteryInfoParam 结构体

Jump to

Keyboard shortcuts

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