wirelessshare

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 wirelessshare 包含手淘分享相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaobaoWirelessShareTpwdQueryAPIRequest added in v1.2.0

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

TaobaoWirelessShareTpwdQueryAPIRequest 查询解析淘口令 API请求 taobao.wireless.share.tpwd.query

查询解析淘口令

func NewTaobaoWirelessShareTpwdQueryRequest

func NewTaobaoWirelessShareTpwdQueryRequest() *TaobaoWirelessShareTpwdQueryAPIRequest

NewTaobaoWirelessShareTpwdQueryRequest 初始化TaobaoWirelessShareTpwdQueryAPIRequest对象

func (TaobaoWirelessShareTpwdQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoWirelessShareTpwdQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWirelessShareTpwdQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWirelessShareTpwdQueryAPIRequest) GetPasswordContent added in v1.2.0

func (r TaobaoWirelessShareTpwdQueryAPIRequest) GetPasswordContent() string

GetPasswordContent PasswordContent Getter

func (TaobaoWirelessShareTpwdQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoWirelessShareTpwdQueryAPIRequest) SetPasswordContent added in v1.2.0

func (r *TaobaoWirelessShareTpwdQueryAPIRequest) SetPasswordContent(_passwordContent string) error

SetPasswordContent is PasswordContent Setter 淘口令

type TaobaoWirelessShareTpwdQueryAPIResponse

type TaobaoWirelessShareTpwdQueryAPIResponse struct {
	model.CommonResponse
	TaobaoWirelessShareTpwdQueryAPIResponseModel
}

TaobaoWirelessShareTpwdQueryAPIResponse 查询解析淘口令 API返回值 taobao.wireless.share.tpwd.query

查询解析淘口令

type TaobaoWirelessShareTpwdQueryAPIResponseModel added in v1.2.0

type TaobaoWirelessShareTpwdQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"wireless_share_tpwd_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 淘口令-文案
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 淘口令-宝贝
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 如果是宝贝,则为宝贝价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 图片url
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 跳转url(长链)
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// nativeUrl
	NativeUrl string `json:"native_url,omitempty" xml:"native_url,omitempty"`
	// thumbPicUrl
	ThumbPicUrl string `json:"thumb_pic_url,omitempty" xml:"thumb_pic_url,omitempty"`
	// 是否成功
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
}

TaobaoWirelessShareTpwdQueryAPIResponseModel is 查询解析淘口令 成功返回结果

Jump to

Keyboard shortcuts

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