tuike

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Overview

1688推客API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaTuikeOfferGetAPIRequest added in v1.2.0

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

推广商品查询接口 API请求 alibaba.tuike.offer.get

查询1688推客平台卖家推广中的商品信息

func NewAlibabaTuikeOfferGetRequest

func NewAlibabaTuikeOfferGetRequest() *AlibabaTuikeOfferGetAPIRequest

NewAlibabaTuikeOfferGetRequest 初始化AlibabaTuikeOfferGetAPIRequest对象

func (AlibabaTuikeOfferGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaTuikeOfferGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaTuikeOfferGetAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaTuikeOfferGetAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaTuikeOfferGetAPIRequest) GetIsvCode added in v1.2.0

func (r AlibabaTuikeOfferGetAPIRequest) GetIsvCode() string

Get IsvCode Getter

func (AlibabaTuikeOfferGetAPIRequest) GetQueryString added in v1.2.0

func (r AlibabaTuikeOfferGetAPIRequest) GetQueryString() string

Get QueryString Getter

func (*AlibabaTuikeOfferGetAPIRequest) SetIsvCode added in v1.2.0

func (r *AlibabaTuikeOfferGetAPIRequest) SetIsvCode(_isvCode string) error

Set is IsvCode Setter 标识调用方

func (*AlibabaTuikeOfferGetAPIRequest) SetQueryString added in v1.2.0

func (r *AlibabaTuikeOfferGetAPIRequest) SetQueryString(_queryString string) error

Set is QueryString Setter 搜索查询参数(json)

type AlibabaTuikeOfferGetAPIResponse

type AlibabaTuikeOfferGetAPIResponse struct {
	model.CommonResponse
	AlibabaTuikeOfferGetAPIResponseModel
}
AlibabaTuikeOfferGetAPIResponse

推广商品查询接口 API返回值 alibaba.tuike.offer.get

查询1688推客平台卖家推广中的商品信息

type AlibabaTuikeOfferGetAPIResponseModel added in v1.2.0

type AlibabaTuikeOfferGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_tuike_offer_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询结果模型
	Result *TaOfferSearchResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaTuikeOfferGetAPIResponseModel is 推广商品查询接口 成功返回结果

type AlibabaTuikeOfferGetProAPIRequest added in v1.2.0

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

推广商品查询接口2.0 API请求 alibaba.tuike.offer.get.pro

查询1688推客平台卖家推广中的商品信息

func NewAlibabaTuikeOfferGetProRequest

func NewAlibabaTuikeOfferGetProRequest() *AlibabaTuikeOfferGetProAPIRequest

NewAlibabaTuikeOfferGetProRequest 初始化AlibabaTuikeOfferGetProAPIRequest对象

func (AlibabaTuikeOfferGetProAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaTuikeOfferGetProAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaTuikeOfferGetProAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaTuikeOfferGetProAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaTuikeOfferGetProAPIRequest) GetIsvCode added in v1.2.0

Get IsvCode Getter

func (AlibabaTuikeOfferGetProAPIRequest) GetLoginId added in v1.2.0

Get LoginId Getter

func (AlibabaTuikeOfferGetProAPIRequest) GetQueryString added in v1.2.0

func (r AlibabaTuikeOfferGetProAPIRequest) GetQueryString() string

Get QueryString Getter

func (*AlibabaTuikeOfferGetProAPIRequest) SetIsvCode added in v1.2.0

func (r *AlibabaTuikeOfferGetProAPIRequest) SetIsvCode(_isvCode string) error

Set is IsvCode Setter 标识调用方

func (*AlibabaTuikeOfferGetProAPIRequest) SetLoginId added in v1.2.0

func (r *AlibabaTuikeOfferGetProAPIRequest) SetLoginId(_loginId string) error

Set is LoginId Setter 用户ID

func (*AlibabaTuikeOfferGetProAPIRequest) SetQueryString added in v1.2.0

func (r *AlibabaTuikeOfferGetProAPIRequest) SetQueryString(_queryString string) error

Set is QueryString Setter 搜索查询参数(json)

type AlibabaTuikeOfferGetProAPIResponse

type AlibabaTuikeOfferGetProAPIResponse struct {
	model.CommonResponse
	AlibabaTuikeOfferGetProAPIResponseModel
}
AlibabaTuikeOfferGetProAPIResponse

推广商品查询接口2.0 API返回值 alibaba.tuike.offer.get.pro

查询1688推客平台卖家推广中的商品信息

type AlibabaTuikeOfferGetProAPIResponseModel added in v1.2.0

type AlibabaTuikeOfferGetProAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_tuike_offer_get_pro_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询结果模型
	Result *TaOfferSearchResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaTuikeOfferGetProAPIResponseModel is 推广商品查询接口2.0 成功返回结果

type AlibabaTuikeOfferZhitokenAPIRequest added in v1.2.0

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

生成阿里口令 API请求 alibaba.tuike.offer.zhitoken

推荐链接生产吱口令

func NewAlibabaTuikeOfferZhitokenRequest

func NewAlibabaTuikeOfferZhitokenRequest() *AlibabaTuikeOfferZhitokenAPIRequest

NewAlibabaTuikeOfferZhitokenRequest 初始化AlibabaTuikeOfferZhitokenAPIRequest对象

func (AlibabaTuikeOfferZhitokenAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaTuikeOfferZhitokenAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaTuikeOfferZhitokenAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaTuikeOfferZhitokenAPIRequest) GetBizType added in v1.2.0

Get BizType Getter

func (AlibabaTuikeOfferZhitokenAPIRequest) GetDesc added in v1.2.0

Get Desc Getter

Get IconLink Getter

func (r AlibabaTuikeOfferZhitokenAPIRequest) GetLeftBtnLink() string

Get LeftBtnLink Getter

func (AlibabaTuikeOfferZhitokenAPIRequest) GetLeftBtnText added in v1.2.0

func (r AlibabaTuikeOfferZhitokenAPIRequest) GetLeftBtnText() string

Get LeftBtnText Getter

func (r AlibabaTuikeOfferZhitokenAPIRequest) GetRightBtnLink() string

Get RightBtnLink Getter

func (AlibabaTuikeOfferZhitokenAPIRequest) GetRightBtnText added in v1.2.0

func (r AlibabaTuikeOfferZhitokenAPIRequest) GetRightBtnText() string

Get RightBtnText Getter

func (AlibabaTuikeOfferZhitokenAPIRequest) GetSource added in v1.2.0

Get Source Getter

func (AlibabaTuikeOfferZhitokenAPIRequest) GetStartTime added in v1.2.0

func (r AlibabaTuikeOfferZhitokenAPIRequest) GetStartTime() int64

Get StartTime Getter

func (AlibabaTuikeOfferZhitokenAPIRequest) GetTitle added in v1.2.0

Get Title Getter

func (*AlibabaTuikeOfferZhitokenAPIRequest) SetBizType added in v1.2.0

func (r *AlibabaTuikeOfferZhitokenAPIRequest) SetBizType(_bizType string) error

Set is BizType Setter SHORT/MEDIUM/LONG

func (*AlibabaTuikeOfferZhitokenAPIRequest) SetDesc added in v1.2.0

Set is Desc Setter 主要内容

func (r *AlibabaTuikeOfferZhitokenAPIRequest) SetIconLink(_iconLink string) error

Set is IconLink Setter 图标链接,可以为空

func (r *AlibabaTuikeOfferZhitokenAPIRequest) SetLeftBtnLink(_leftBtnLink string) error

Set is LeftBtnLink Setter 左按钮链接,可以为空

func (*AlibabaTuikeOfferZhitokenAPIRequest) SetLeftBtnText added in v1.2.0

func (r *AlibabaTuikeOfferZhitokenAPIRequest) SetLeftBtnText(_leftBtnText string) error

Set is LeftBtnText Setter 左按钮文案,可以为空,默认为"取消"

func (r *AlibabaTuikeOfferZhitokenAPIRequest) SetRightBtnLink(_rightBtnLink string) error

Set is RightBtnLink Setter 右按钮链接

func (*AlibabaTuikeOfferZhitokenAPIRequest) SetRightBtnText added in v1.2.0

func (r *AlibabaTuikeOfferZhitokenAPIRequest) SetRightBtnText(_rightBtnText string) error

Set is RightBtnText Setter 右按钮文案,可以为空,默认为"确定"

func (*AlibabaTuikeOfferZhitokenAPIRequest) SetSource added in v1.2.0

func (r *AlibabaTuikeOfferZhitokenAPIRequest) SetSource(_source string) error

Set is Source Setter 业务类型

func (*AlibabaTuikeOfferZhitokenAPIRequest) SetStartTime added in v1.2.0

func (r *AlibabaTuikeOfferZhitokenAPIRequest) SetStartTime(_startTime int64) error

Set is StartTime Setter 生效时间,可以为空

func (*AlibabaTuikeOfferZhitokenAPIRequest) SetTitle added in v1.2.0

func (r *AlibabaTuikeOfferZhitokenAPIRequest) SetTitle(_title string) error

Set is Title Setter 主标题

type AlibabaTuikeOfferZhitokenAPIResponse

type AlibabaTuikeOfferZhitokenAPIResponse struct {
	model.CommonResponse
	AlibabaTuikeOfferZhitokenAPIResponseModel
}
AlibabaTuikeOfferZhitokenAPIResponse

生成阿里口令 API返回值 alibaba.tuike.offer.zhitoken

推荐链接生产吱口令

type AlibabaTuikeOfferZhitokenAPIResponseModel added in v1.2.0

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

AlibabaTuikeOfferZhitokenAPIResponseModel is 生成阿里口令 成功返回结果

type AlibabaTuikeOfferZhitokenResult

type AlibabaTuikeOfferZhitokenResult struct {
	// headers
	Headers string `json:"headers,omitempty" xml:"headers,omitempty"`
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// httpStatusCode
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// bizExtMap
	BizExtMap string `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaTuikeOfferZhitokenResult 结构体

type AlibabaTuikeSingleOfferGetAPIRequest added in v1.2.0

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

查询1688推客平台卖家推广中的商品信息 API请求 alibaba.tuike.single.offer.get

查询单个推客商品信息的接口

func NewAlibabaTuikeSingleOfferGetRequest

func NewAlibabaTuikeSingleOfferGetRequest() *AlibabaTuikeSingleOfferGetAPIRequest

NewAlibabaTuikeSingleOfferGetRequest 初始化AlibabaTuikeSingleOfferGetAPIRequest对象

func (AlibabaTuikeSingleOfferGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaTuikeSingleOfferGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaTuikeSingleOfferGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaTuikeSingleOfferGetAPIRequest) GetLoginId added in v1.2.0

Get LoginId Getter

func (AlibabaTuikeSingleOfferGetAPIRequest) GetOfferId added in v1.2.0

Get OfferId Getter

func (*AlibabaTuikeSingleOfferGetAPIRequest) SetLoginId added in v1.2.0

func (r *AlibabaTuikeSingleOfferGetAPIRequest) SetLoginId(_loginId string) error

Set is LoginId Setter 推客id

func (*AlibabaTuikeSingleOfferGetAPIRequest) SetOfferId added in v1.2.0

func (r *AlibabaTuikeSingleOfferGetAPIRequest) SetOfferId(_offerId int64) error

Set is OfferId Setter 商品id

type AlibabaTuikeSingleOfferGetAPIResponse

type AlibabaTuikeSingleOfferGetAPIResponse struct {
	model.CommonResponse
	AlibabaTuikeSingleOfferGetAPIResponseModel
}
AlibabaTuikeSingleOfferGetAPIResponse

查询1688推客平台卖家推广中的商品信息 API返回值 alibaba.tuike.single.offer.get

查询单个推客商品信息的接口

type AlibabaTuikeSingleOfferGetAPIResponseModel added in v1.2.0

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

AlibabaTuikeSingleOfferGetAPIResponseModel is 查询1688推客平台卖家推广中的商品信息 成功返回结果

type AlibabaTuikeWebUnionOrderQueryAPIRequest added in v1.2.0

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

推客网盟合作抽佣订单查询接口 API请求 alibaba.tuike.web.union.order.query

推客网盟合作抽佣订单查询接口

func NewAlibabaTuikeWebUnionOrderQueryRequest

func NewAlibabaTuikeWebUnionOrderQueryRequest() *AlibabaTuikeWebUnionOrderQueryAPIRequest

NewAlibabaTuikeWebUnionOrderQueryRequest 初始化AlibabaTuikeWebUnionOrderQueryAPIRequest对象

func (AlibabaTuikeWebUnionOrderQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaTuikeWebUnionOrderQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaTuikeWebUnionOrderQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaTuikeWebUnionOrderQueryAPIRequest) GetEndTime added in v1.2.0

Get EndTime Getter

func (AlibabaTuikeWebUnionOrderQueryAPIRequest) GetPageOffset added in v1.2.0

Get PageOffset Getter

func (AlibabaTuikeWebUnionOrderQueryAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (AlibabaTuikeWebUnionOrderQueryAPIRequest) GetStartTime added in v1.2.0

Get StartTime Getter

func (AlibabaTuikeWebUnionOrderQueryAPIRequest) GetTimeType added in v1.2.0

Get TimeType Getter

func (*AlibabaTuikeWebUnionOrderQueryAPIRequest) SetEndTime added in v1.2.0

func (r *AlibabaTuikeWebUnionOrderQueryAPIRequest) SetEndTime(_endTime int64) error

Set is EndTime Setter 13位时间戳

func (*AlibabaTuikeWebUnionOrderQueryAPIRequest) SetPageOffset added in v1.2.0

func (r *AlibabaTuikeWebUnionOrderQueryAPIRequest) SetPageOffset(_pageOffset int64) error

Set is PageOffset Setter 页码偏移

func (*AlibabaTuikeWebUnionOrderQueryAPIRequest) SetPageSize added in v1.2.0

func (r *AlibabaTuikeWebUnionOrderQueryAPIRequest) SetPageSize(_pageSize int64) error

Set is PageSize Setter 返回条数

func (*AlibabaTuikeWebUnionOrderQueryAPIRequest) SetStartTime added in v1.2.0

func (r *AlibabaTuikeWebUnionOrderQueryAPIRequest) SetStartTime(_startTime int64) error

Set is StartTime Setter 13位时间戳

func (*AlibabaTuikeWebUnionOrderQueryAPIRequest) SetTimeType added in v1.2.0

func (r *AlibabaTuikeWebUnionOrderQueryAPIRequest) SetTimeType(_timeType int64) error

Set is TimeType Setter 0 表示time为下单时间;1表示time为更新时间

type AlibabaTuikeWebUnionOrderQueryAPIResponse

type AlibabaTuikeWebUnionOrderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaTuikeWebUnionOrderQueryAPIResponseModel
}
AlibabaTuikeWebUnionOrderQueryAPIResponse

推客网盟合作抽佣订单查询接口 API返回值 alibaba.tuike.web.union.order.query

推客网盟合作抽佣订单查询接口

type AlibabaTuikeWebUnionOrderQueryAPIResponseModel added in v1.2.0

type AlibabaTuikeWebUnionOrderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_tuike_web_union_order_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	List []AlibabaTuikeWebUnionOrderQueryResult `json:"list,omitempty" xml:"list>alibaba_tuike_web_union_order_query_result,omitempty"`
}

AlibabaTuikeWebUnionOrderQueryAPIResponseModel is 推客网盟合作抽佣订单查询接口 成功返回结果

type AlibabaTuikeWebUnionOrderQueryResult

type AlibabaTuikeWebUnionOrderQueryResult struct {
	// 佣金
	Commission string `json:"commission,omitempty" xml:"commission,omitempty"`
	// 价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 抽佣状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 数量
	OfferCount string `json:"offer_count,omitempty" xml:"offer_count,omitempty"`
	// offer名称
	OfferName string `json:"offer_name,omitempty" xml:"offer_name,omitempty"`
	// offerId
	OfferId string `json:"offer_id,omitempty" xml:"offer_id,omitempty"`
	// 订单编号
	OrderNum string `json:"order_num,omitempty" xml:"order_num,omitempty"`
	// 通道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 入参p3
	P3 string `json:"p3,omitempty" xml:"p3,omitempty"`
	// 入参p2
	P2 string `json:"p2,omitempty" xml:"p2,omitempty"`
	// 入参p1
	P1 string `json:"p1,omitempty" xml:"p1,omitempty"`
	// 更新时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 折后总价
	DiscountAmount string `json:"discount_amount,omitempty" xml:"discount_amount,omitempty"`
	// 佣金比例
	Ratio string `json:"ratio,omitempty" xml:"ratio,omitempty"`
}

AlibabaTuikeWebUnionOrderQueryResult 结构体

type TaOfferSearchResult

type TaOfferSearchResult struct {
	// 查询总记录数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 当前条数
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
	// 错误信息
	Errors string `json:"errors,omitempty" xml:"errors,omitempty"`
	// 请求状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 数据
	DataList []string `json:"data_list,omitempty" xml:"data_list>string,omitempty"`
	// 当前页
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
}

TaOfferSearchResult 结构体

Jump to

Keyboard shortcuts

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