tmallcms

package
v1.2.8 Latest Latest
Warning

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

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

Documentation

Overview

Package tmallcms 包含天猫会员积分相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LLBApiResult

type LLBApiResult struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 结果对象
	Model *SpreadLinkDo `json:"model,omitempty" xml:"model,omitempty"`
	// 错误码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 成功结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

LLBApiResult 结构体

type SpreadLinkDo

type SpreadLinkDo struct {
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 推广文案
	Adword string `json:"adword,omitempty" xml:"adword,omitempty"`
	// 推广信息
	Adinfo string `json:"adinfo,omitempty" xml:"adinfo,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 微信推广链接
	Adwxurl string `json:"adwxurl,omitempty" xml:"adwxurl,omitempty"`
	// 二维码地址
	Qrcode string `json:"qrcode,omitempty" xml:"qrcode,omitempty"`
	// 推广链接
	Adurl string `json:"adurl,omitempty" xml:"adurl,omitempty"`
	// 源链接
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 商家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

SpreadLinkDo 结构体

type TmallMarketingLiuliangbaoSpreadlinkCreateAPIRequest added in v1.2.0

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

TmallMarketingLiuliangbaoSpreadlinkCreateAPIRequest 创建流量宝活动链接 API请求 tmall.marketing.liuliangbao.spreadlink.create

通过源活动链接和商家ID,创建流量宝活动链接

func NewTmallMarketingLiuliangbaoSpreadlinkCreateRequest

func NewTmallMarketingLiuliangbaoSpreadlinkCreateRequest() *TmallMarketingLiuliangbaoSpreadlinkCreateAPIRequest

NewTmallMarketingLiuliangbaoSpreadlinkCreateRequest 初始化TmallMarketingLiuliangbaoSpreadlinkCreateAPIRequest对象

func (TmallMarketingLiuliangbaoSpreadlinkCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallMarketingLiuliangbaoSpreadlinkCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallMarketingLiuliangbaoSpreadlinkCreateAPIRequest) GetRawParams added in v1.2.8

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

func (TmallMarketingLiuliangbaoSpreadlinkCreateAPIRequest) GetUrl added in v1.2.0

GetUrl Url Getter

func (*TmallMarketingLiuliangbaoSpreadlinkCreateAPIRequest) SetUrl added in v1.2.0

SetUrl is Url Setter 活动链接,必须为淘系链接

type TmallMarketingLiuliangbaoSpreadlinkCreateAPIResponse

type TmallMarketingLiuliangbaoSpreadlinkCreateAPIResponse struct {
	model.CommonResponse
	TmallMarketingLiuliangbaoSpreadlinkCreateAPIResponseModel
}

TmallMarketingLiuliangbaoSpreadlinkCreateAPIResponse 创建流量宝活动链接 API返回值 tmall.marketing.liuliangbao.spreadlink.create

通过源活动链接和商家ID,创建流量宝活动链接

type TmallMarketingLiuliangbaoSpreadlinkCreateAPIResponseModel added in v1.2.0

type TmallMarketingLiuliangbaoSpreadlinkCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_marketing_liuliangbao_spreadlink_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 流量宝系统执行结果
	Llbresult *LLBApiResult `json:"llbresult,omitempty" xml:"llbresult,omitempty"`
}

TmallMarketingLiuliangbaoSpreadlinkCreateAPIResponseModel is 创建流量宝活动链接 成功返回结果

Jump to

Keyboard shortcuts

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