choujiang

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package choujiang 包含淘宝抽奖平台API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaobaoDeActivitySecuritytokenApplyAPIRequest added in v1.2.0

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

TaobaoDeActivitySecuritytokenApplyAPIRequest 安全token获取 API请求 taobao.de.activity.securitytoken.apply

新增接口,这个接口是用于在手机端进行抽奖时候的验证使用

func NewTaobaoDeActivitySecuritytokenApplyRequest

func NewTaobaoDeActivitySecuritytokenApplyRequest() *TaobaoDeActivitySecuritytokenApplyAPIRequest

NewTaobaoDeActivitySecuritytokenApplyRequest 初始化TaobaoDeActivitySecuritytokenApplyAPIRequest对象

func (TaobaoDeActivitySecuritytokenApplyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoDeActivitySecuritytokenApplyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoDeActivitySecuritytokenApplyAPIRequest) GetEventKey added in v1.2.0

GetEventKey EventKey Getter

func (TaobaoDeActivitySecuritytokenApplyAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoDeActivitySecuritytokenApplyAPIRequest) SetEventKey added in v1.2.0

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

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

type TaobaoDeActivitySecuritytokenApplyAPIResponse

type TaobaoDeActivitySecuritytokenApplyAPIResponse struct {
	model.CommonResponse
	TaobaoDeActivitySecuritytokenApplyAPIResponseModel
}

TaobaoDeActivitySecuritytokenApplyAPIResponse 安全token获取 API返回值 taobao.de.activity.securitytoken.apply

新增接口,这个接口是用于在手机端进行抽奖时候的验证使用

type TaobaoDeActivitySecuritytokenApplyAPIResponseModel added in v1.2.0

type TaobaoDeActivitySecuritytokenApplyAPIResponseModel struct {
	XMLName xml.Name `xml:"de_activity_securitytoken_apply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功标志位
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoDeActivitySecuritytokenApplyAPIResponseModel is 安全token获取 成功返回结果

Jump to

Keyboard shortcuts

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