mtopopen

package
v1.1.5 Latest Latest
Warning

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

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

Documentation

Overview

手淘开放API model

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活动的id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// isv活动url
	H5Url string `json:"h5_url,omitempty" xml:"h5_url,omitempty"`
}

ActivityLotteryWriteResult

type AlibabaInteractAllsparkisvDrawAPIResponse

type AlibabaInteractAllsparkisvDrawAPIResponse struct {
	model.CommonResponse
	AlibabaInteractAllsparkisvDrawResponse
}

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

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

type AlibabaInteractAllsparkisvDrawRequest

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

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

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

func NewAlibabaInteractAllsparkisvDrawRequest

func NewAlibabaInteractAllsparkisvDrawRequest() *AlibabaInteractAllsparkisvDrawRequest

初始化AlibabaInteractAllsparkisvDrawRequest对象

func (AlibabaInteractAllsparkisvDrawRequest) GetApiMethodName

func (r AlibabaInteractAllsparkisvDrawRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaInteractAllsparkisvDrawRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaInteractAllsparkisvDrawRequest) GetDdd

Ddd Getter

func (AlibabaInteractAllsparkisvDrawRequest) GetTest

Test Getter

func (*AlibabaInteractAllsparkisvDrawRequest) SetDdd

Ddd Setter dd

func (*AlibabaInteractAllsparkisvDrawRequest) SetTest

Test Setter ddd

type AlibabaInteractAllsparkisvDrawResponse

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

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

type AlibabaInteractAopdataRegisterAPIResponse

type AlibabaInteractAopdataRegisterAPIResponse struct {
	model.CommonResponse
	AlibabaInteractAopdataRegisterResponse
}

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

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

type AlibabaInteractAopdataRegisterRequest

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

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

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

func NewAlibabaInteractAopdataRegisterRequest

func NewAlibabaInteractAopdataRegisterRequest() *AlibabaInteractAopdataRegisterRequest

初始化AlibabaInteractAopdataRegisterRequest对象

func (AlibabaInteractAopdataRegisterRequest) GetApiMethodName

func (r AlibabaInteractAopdataRegisterRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaInteractAopdataRegisterRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaInteractAopdataRegisterRequest) GetParamTopIsvDecorateParam

func (r AlibabaInteractAopdataRegisterRequest) GetParamTopIsvDecorateParam() *TopIsvDecorateParam

ParamTopIsvDecorateParam Getter

func (*AlibabaInteractAopdataRegisterRequest) SetParamTopIsvDecorateParam

func (r *AlibabaInteractAopdataRegisterRequest) SetParamTopIsvDecorateParam(paramTopIsvDecorateParam *TopIsvDecorateParam) error

ParamTopIsvDecorateParam Setter 入参

type AlibabaInteractAopdataRegisterResponse

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

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

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"`
	// 接口调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 跟踪请求使用
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
}

AlibabaInteractAopdataRegisterResult

type AlibabaInteractLotteryactivityRegisterAPIResponse

type AlibabaInteractLotteryactivityRegisterAPIResponse struct {
	model.CommonResponse
	AlibabaInteractLotteryactivityRegisterResponse
}

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

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

type AlibabaInteractLotteryactivityRegisterRequest

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

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

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

func NewAlibabaInteractLotteryactivityRegisterRequest

func NewAlibabaInteractLotteryactivityRegisterRequest() *AlibabaInteractLotteryactivityRegisterRequest

初始化AlibabaInteractLotteryactivityRegisterRequest对象

func (AlibabaInteractLotteryactivityRegisterRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaInteractLotteryactivityRegisterRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaInteractLotteryactivityRegisterRequest) GetParamTopUpdateActivityLotteryInfoParam

func (r AlibabaInteractLotteryactivityRegisterRequest) GetParamTopUpdateActivityLotteryInfoParam() *TopUpdateActivityLotteryInfoParam

ParamTopUpdateActivityLotteryInfoParam Getter

func (*AlibabaInteractLotteryactivityRegisterRequest) SetParamTopUpdateActivityLotteryInfoParam

func (r *AlibabaInteractLotteryactivityRegisterRequest) SetParamTopUpdateActivityLotteryInfoParam(paramTopUpdateActivityLotteryInfoParam *TopUpdateActivityLotteryInfoParam) error

ParamTopUpdateActivityLotteryInfoParam Setter 入参

type AlibabaInteractLotteryactivityRegisterResponse

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

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

type AlibabaInteractLotteryactivityRegisterResult

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

AlibabaInteractLotteryactivityRegisterResult

type AlibabaInteractMediaArtworkAPIResponse

type AlibabaInteractMediaArtworkAPIResponse struct {
	model.CommonResponse
	AlibabaInteractMediaArtworkResponse
}

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

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

type AlibabaInteractMediaArtworkRequest

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

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

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

func NewAlibabaInteractMediaArtworkRequest

func NewAlibabaInteractMediaArtworkRequest() *AlibabaInteractMediaArtworkRequest

初始化AlibabaInteractMediaArtworkRequest对象

func (AlibabaInteractMediaArtworkRequest) GetApiMethodName

func (r AlibabaInteractMediaArtworkRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaInteractMediaArtworkRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaInteractMediaArtworkRequest) GetId

Id Getter

func (*AlibabaInteractMediaArtworkRequest) SetId

Id Setter 系统自动生成

type AlibabaInteractMediaArtworkResponse

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

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

type AlibabaInteractMediaAudioAPIResponse

type AlibabaInteractMediaAudioAPIResponse struct {
	model.CommonResponse
	AlibabaInteractMediaAudioResponse
}

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

新音频包的鉴权接口

type AlibabaInteractMediaAudioRequest

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

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

新音频包的鉴权接口

func NewAlibabaInteractMediaAudioRequest

func NewAlibabaInteractMediaAudioRequest() *AlibabaInteractMediaAudioRequest

初始化AlibabaInteractMediaAudioRequest对象

func (AlibabaInteractMediaAudioRequest) GetApiMethodName

func (r AlibabaInteractMediaAudioRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaInteractMediaAudioRequest) GetApiParams

func (r AlibabaInteractMediaAudioRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaInteractMediaAudioRequest) GetId

Id Getter

func (*AlibabaInteractMediaAudioRequest) SetId

Id Setter 系统自动生成

type AlibabaInteractMediaAudioResponse

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

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

type AlibabaInteractSensorSocialAPIResponse

type AlibabaInteractSensorSocialAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorSocialResponse
}

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

赞,评论 ,关注 新增接口

type AlibabaInteractSensorSocialRequest

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

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

赞,评论 ,关注 新增接口

func NewAlibabaInteractSensorSocialRequest

func NewAlibabaInteractSensorSocialRequest() *AlibabaInteractSensorSocialRequest

初始化AlibabaInteractSensorSocialRequest对象

func (AlibabaInteractSensorSocialRequest) GetApiMethodName

func (r AlibabaInteractSensorSocialRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorSocialRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorSocialRequest) GetId

Id Getter

func (*AlibabaInteractSensorSocialRequest) SetId

Id Setter 系统自动生成

type AlibabaInteractSensorSocialResponse

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

社交组件 成功返回结果

type AlibabaInteractSensorTradeAPIResponse

type AlibabaInteractSensorTradeAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorTradeResponse
}

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

交易流程

type AlibabaInteractSensorTradeBuyAPIResponse

type AlibabaInteractSensorTradeBuyAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorTradeBuyResponse
}

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

交易流程鉴权

type AlibabaInteractSensorTradeBuyRequest

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

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

交易流程鉴权

func NewAlibabaInteractSensorTradeBuyRequest

func NewAlibabaInteractSensorTradeBuyRequest() *AlibabaInteractSensorTradeBuyRequest

初始化AlibabaInteractSensorTradeBuyRequest对象

func (AlibabaInteractSensorTradeBuyRequest) GetApiMethodName

func (r AlibabaInteractSensorTradeBuyRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorTradeBuyRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorTradeBuyRequest) GetId

Id Getter

func (*AlibabaInteractSensorTradeBuyRequest) SetId

Id Setter 系统自动生成

type AlibabaInteractSensorTradeBuyResponse

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

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

type AlibabaInteractSensorTradeRequest

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

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

交易流程

func NewAlibabaInteractSensorTradeRequest

func NewAlibabaInteractSensorTradeRequest() *AlibabaInteractSensorTradeRequest

初始化AlibabaInteractSensorTradeRequest对象

func (AlibabaInteractSensorTradeRequest) GetApiMethodName

func (r AlibabaInteractSensorTradeRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorTradeRequest) GetApiParams

func (r AlibabaInteractSensorTradeRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorTradeRequest) GetId

Id Getter

func (*AlibabaInteractSensorTradeRequest) SetId

Id Setter 系统自动生成

type AlibabaInteractSensorTradeResponse

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

交易组件 成功返回结果

type Modulemap

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

Modulemap

type TaobaoOauthCodeCreateAPIResponse

type TaobaoOauthCodeCreateAPIResponse struct {
	model.CommonResponse
	TaobaoOauthCodeCreateResponse
}

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

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

type TaobaoOauthCodeCreateRequest

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

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

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

func NewTaobaoOauthCodeCreateRequest

func NewTaobaoOauthCodeCreateRequest() *TaobaoOauthCodeCreateRequest

初始化TaobaoOauthCodeCreateRequest对象

func (TaobaoOauthCodeCreateRequest) GetApiMethodName

func (r TaobaoOauthCodeCreateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoOauthCodeCreateRequest) GetApiParams

func (r TaobaoOauthCodeCreateRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoOauthCodeCreateRequest) GetTest

func (r TaobaoOauthCodeCreateRequest) GetTest() int64

Test Getter

func (*TaobaoOauthCodeCreateRequest) SetTest

func (r *TaobaoOauthCodeCreateRequest) SetTest(test int64) error

Test Setter mock param

type TaobaoOauthCodeCreateResponse

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

淘宝OauthCode颁发 成功返回结果

type TaobaoWeitaoFeedIsrelationAPIResponse

type TaobaoWeitaoFeedIsrelationAPIResponse struct {
	model.CommonResponse
	TaobaoWeitaoFeedIsrelationResponse
}

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

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

type TaobaoWeitaoFeedIsrelationRequest

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

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

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

func NewTaobaoWeitaoFeedIsrelationRequest

func NewTaobaoWeitaoFeedIsrelationRequest() *TaobaoWeitaoFeedIsrelationRequest

初始化TaobaoWeitaoFeedIsrelationRequest对象

func (TaobaoWeitaoFeedIsrelationRequest) GetApiMethodName

func (r TaobaoWeitaoFeedIsrelationRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWeitaoFeedIsrelationRequest) GetApiParams

func (r TaobaoWeitaoFeedIsrelationRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoWeitaoFeedIsrelationRequest) GetFansNick

func (r TaobaoWeitaoFeedIsrelationRequest) GetFansNick() string

FansNick Getter

func (TaobaoWeitaoFeedIsrelationRequest) GetSellerNick

func (r TaobaoWeitaoFeedIsrelationRequest) GetSellerNick() string

SellerNick Getter

func (*TaobaoWeitaoFeedIsrelationRequest) SetFansNick

func (r *TaobaoWeitaoFeedIsrelationRequest) SetFansNick(fansNick string) error

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

func (*TaobaoWeitaoFeedIsrelationRequest) SetSellerNick

func (r *TaobaoWeitaoFeedIsrelationRequest) SetSellerNick(sellerNick string) error

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

type TaobaoWeitaoFeedIsrelationResponse

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

是否关注 成功返回结果

type TaobaoWirelessBuntingShopShorturlCreateAPIResponse

type TaobaoWirelessBuntingShopShorturlCreateAPIResponse struct {
	model.CommonResponse
	TaobaoWirelessBuntingShopShorturlCreateResponse
}

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

通过店铺id取得短链

type TaobaoWirelessBuntingShopShorturlCreateRequest

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

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

通过店铺id取得短链

func NewTaobaoWirelessBuntingShopShorturlCreateRequest

func NewTaobaoWirelessBuntingShopShorturlCreateRequest() *TaobaoWirelessBuntingShopShorturlCreateRequest

初始化TaobaoWirelessBuntingShopShorturlCreateRequest对象

func (TaobaoWirelessBuntingShopShorturlCreateRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoWirelessBuntingShopShorturlCreateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWirelessBuntingShopShorturlCreateRequest) GetShopId

ShopId Getter

func (*TaobaoWirelessBuntingShopShorturlCreateRequest) SetShopId

ShopId Setter 商店id

type TaobaoWirelessBuntingShopShorturlCreateResponse

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

通过店铺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"`
	// 商家创建的红包面额
	BenefitDenomination int64 `json:"benefit_denomination,omitempty" xml:"benefit_denomination,omitempty"`
	// 商家选择使用的红包权益id
	BenefitId int64 `json:"benefit_id,omitempty" xml:"benefit_id,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"`
	// 抽奖活动开始时间,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"`
	// 抽奖活动名称
	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"`
	// 用户活动期间总共中奖次数限制
	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"`
	// 商家创建的isv活动的开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
}

TopUpdateActivityLotteryInfoParam

Jump to

Keyboard shortcuts

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