util

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 util 包含工具API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AiotOpenDeviceBaseDto added in v1.2.5

type AiotOpenDeviceBaseDto struct {
	// 设备业务标识
	Utdid string `json:"utdid,omitempty" xml:"utdid,omitempty"`
	// 设备名
	DeviceName string `json:"device_name,omitempty" xml:"device_name,omitempty"`
	// 厂商
	Manufacturer string `json:"manufacturer,omitempty" xml:"manufacturer,omitempty"`
	// 品牌
	BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"`
	// 硬件型号
	HardCode string `json:"hard_code,omitempty" xml:"hard_code,omitempty"`
	// 设备类型
	DeviceType string `json:"device_type,omitempty" xml:"device_type,omitempty"`
	// 设备SN
	DeviceSn string `json:"device_sn,omitempty" xml:"device_sn,omitempty"`
	// 平台类型
	Platform int64 `json:"platform,omitempty" xml:"platform,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

AiotOpenDeviceBaseDto 结构体

type AiotOpenDeviceOrganizationDto added in v1.2.5

type AiotOpenDeviceOrganizationDto struct {
	// 1级组织架构code
	L1Code string `json:"l1_code,omitempty" xml:"l1_code,omitempty"`
	// 1级组织架构名
	L1Name string `json:"l1_name,omitempty" xml:"l1_name,omitempty"`
	// 2级组织架构code
	L2Code string `json:"l2_code,omitempty" xml:"l2_code,omitempty"`
	// 2级组织架构名
	L2Name string `json:"l2_name,omitempty" xml:"l2_name,omitempty"`
	// 3级组织架构code
	L3Code string `json:"l3_code,omitempty" xml:"l3_code,omitempty"`
	// 3级组织架构名
	L3Name string `json:"l3_name,omitempty" xml:"l3_name,omitempty"`
	// 4级组织架构code
	L4Code string `json:"l4_code,omitempty" xml:"l4_code,omitempty"`
	// 4级组织架构名
	L4Name string `json:"l4_name,omitempty" xml:"l4_name,omitempty"`
	// 5级组织架构code
	L5Code string `json:"l5_code,omitempty" xml:"l5_code,omitempty"`
	// 5级组织架构名
	L5Name string `json:"l5_name,omitempty" xml:"l5_name,omitempty"`
}

AiotOpenDeviceOrganizationDto 结构体

type AiotTopOpenDeviceDto added in v1.2.5

type AiotTopOpenDeviceDto struct {
	// 设备唯一标识
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 业务自定义参数
	ExtendStr string `json:"extend_str,omitempty" xml:"extend_str,omitempty"`
	// 组织架构
	Organization *AiotOpenDeviceOrganizationDto `json:"organization,omitempty" xml:"organization,omitempty"`
	// 基础信息
	Base *AiotOpenDeviceBaseDto `json:"base,omitempty" xml:"base,omitempty"`
	// 租户号
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
}

AiotTopOpenDeviceDto 结构体

type AlibabaAisAssetsTagAbortAPIRequest

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

AlibabaAisAssetsTagAbortAPIRequest 基础设施资产标签废弃 API请求 alibaba.ais.assets.tag.abort

提供浪潮,英业达等厂商供应阿里巴巴基础设施资产的标签QR code未使用的废弃

func NewAlibabaAisAssetsTagAbortRequest

func NewAlibabaAisAssetsTagAbortRequest() *AlibabaAisAssetsTagAbortAPIRequest

NewAlibabaAisAssetsTagAbortRequest 初始化AlibabaAisAssetsTagAbortAPIRequest对象

func (AlibabaAisAssetsTagAbortAPIRequest) GetApiMethodName

func (r AlibabaAisAssetsTagAbortAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAisAssetsTagAbortAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAisAssetsTagAbortAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAisAssetsTagAbortAPIRequest) GetRequestParam

func (r AlibabaAisAssetsTagAbortAPIRequest) GetRequestParam() string

GetRequestParam RequestParam Getter

func (*AlibabaAisAssetsTagAbortAPIRequest) SetRequestParam

func (r *AlibabaAisAssetsTagAbortAPIRequest) SetRequestParam(_requestParam string) error

SetRequestParam is RequestParam Setter 请求资产信息

type AlibabaAisAssetsTagAbortAPIResponse

type AlibabaAisAssetsTagAbortAPIResponse struct {
	model.CommonResponse
	AlibabaAisAssetsTagAbortAPIResponseModel
}

AlibabaAisAssetsTagAbortAPIResponse 基础设施资产标签废弃 API返回值 alibaba.ais.assets.tag.abort

提供浪潮,英业达等厂商供应阿里巴巴基础设施资产的标签QR code未使用的废弃

type AlibabaAisAssetsTagAbortAPIResponseModel

type AlibabaAisAssetsTagAbortAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ais_assets_tag_abort_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 最外层结果
	Result *BaseRep `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAisAssetsTagAbortAPIResponseModel is 基础设施资产标签废弃 成功返回结果

type AlibabaAisAssetsTagGenerateAPIRequest

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

AlibabaAisAssetsTagGenerateAPIRequest 基础设施资产标签生成 API请求 alibaba.ais.assets.tag.generate

提供浪潮,英业达等厂商供应阿里巴巴基础设施资产的标签QR code生成

func NewAlibabaAisAssetsTagGenerateRequest

func NewAlibabaAisAssetsTagGenerateRequest() *AlibabaAisAssetsTagGenerateAPIRequest

NewAlibabaAisAssetsTagGenerateRequest 初始化AlibabaAisAssetsTagGenerateAPIRequest对象

func (AlibabaAisAssetsTagGenerateAPIRequest) GetApiMethodName

func (r AlibabaAisAssetsTagGenerateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAisAssetsTagGenerateAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAisAssetsTagGenerateAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAisAssetsTagGenerateAPIRequest) GetRequestParam

func (r AlibabaAisAssetsTagGenerateAPIRequest) GetRequestParam() string

GetRequestParam RequestParam Getter

func (*AlibabaAisAssetsTagGenerateAPIRequest) SetRequestParam

func (r *AlibabaAisAssetsTagGenerateAPIRequest) SetRequestParam(_requestParam string) error

SetRequestParam is RequestParam Setter 请求资产信息

type AlibabaAisAssetsTagGenerateAPIResponse

type AlibabaAisAssetsTagGenerateAPIResponse struct {
	model.CommonResponse
	AlibabaAisAssetsTagGenerateAPIResponseModel
}

AlibabaAisAssetsTagGenerateAPIResponse 基础设施资产标签生成 API返回值 alibaba.ais.assets.tag.generate

提供浪潮,英业达等厂商供应阿里巴巴基础设施资产的标签QR code生成

type AlibabaAisAssetsTagGenerateAPIResponseModel

type AlibabaAisAssetsTagGenerateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ais_assets_tag_generate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 最外层结果
	Result *BaseRep `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAisAssetsTagGenerateAPIResponseModel is 基础设施资产标签生成 成功返回结果

type AlibabaAisAssetsTagGetAPIRequest

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

AlibabaAisAssetsTagGetAPIRequest 基础设施资产标签获取 API请求 alibaba.ais.assets.tag.get

提供浪潮,英业达等厂商供应阿里巴巴基础设施资产的标签QR code获取

func NewAlibabaAisAssetsTagGetRequest

func NewAlibabaAisAssetsTagGetRequest() *AlibabaAisAssetsTagGetAPIRequest

NewAlibabaAisAssetsTagGetRequest 初始化AlibabaAisAssetsTagGetAPIRequest对象

func (AlibabaAisAssetsTagGetAPIRequest) GetApiMethodName

func (r AlibabaAisAssetsTagGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAisAssetsTagGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAisAssetsTagGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAisAssetsTagGetAPIRequest) GetUNonce

GetUNonce UNonce Getter

func (*AlibabaAisAssetsTagGetAPIRequest) SetUNonce

func (r *AlibabaAisAssetsTagGetAPIRequest) SetUNonce(_uNonce string) error

SetUNonce is UNonce Setter 二维码生成唯一标识

type AlibabaAisAssetsTagGetAPIResponse

type AlibabaAisAssetsTagGetAPIResponse struct {
	model.CommonResponse
	AlibabaAisAssetsTagGetAPIResponseModel
}

AlibabaAisAssetsTagGetAPIResponse 基础设施资产标签获取 API返回值 alibaba.ais.assets.tag.get

提供浪潮,英业达等厂商供应阿里巴巴基础设施资产的标签QR code获取

type AlibabaAisAssetsTagGetAPIResponseModel

type AlibabaAisAssetsTagGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ais_assets_tag_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 最外层结果
	Result *BaseRep `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAisAssetsTagGetAPIResponseModel is 基础设施资产标签获取 成功返回结果

type AlibabaInteractSensorUiAPIRequest

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

AlibabaInteractSensorUiAPIRequest 基本ui操作 API请求 alibaba.interact.sensor.ui

Weex 基本UI操作

func NewAlibabaInteractSensorUiRequest

func NewAlibabaInteractSensorUiRequest() *AlibabaInteractSensorUiAPIRequest

NewAlibabaInteractSensorUiRequest 初始化AlibabaInteractSensorUiAPIRequest对象

func (AlibabaInteractSensorUiAPIRequest) GetApiMethodName

func (r AlibabaInteractSensorUiAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorUiAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorUiAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaInteractSensorUiAPIRequest) GetUnNamed

GetUnNamed UnNamed Getter

func (*AlibabaInteractSensorUiAPIRequest) SetUnNamed

func (r *AlibabaInteractSensorUiAPIRequest) SetUnNamed(_unNamed string) error

SetUnNamed is UnNamed Setter 仅作客户端鉴权使用,不会发送接收请求

type AlibabaInteractSensorUiAPIResponse

type AlibabaInteractSensorUiAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorUiAPIResponseModel
}

AlibabaInteractSensorUiAPIResponse 基本ui操作 API返回值 alibaba.interact.sensor.ui

Weex 基本UI操作

type AlibabaInteractSensorUiAPIResponseModel

type AlibabaInteractSensorUiAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_sensor_ui_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 仅作客户端鉴权使用,不会发送接收请求
	Unnamed string `json:"unnamed,omitempty" xml:"unnamed,omitempty"`
}

AlibabaInteractSensorUiAPIResponseModel is 基本ui操作 成功返回结果

type AlibabaMosFalconPosCounterQueryAPIRequest

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

AlibabaMosFalconPosCounterQueryAPIRequest 云POS查看专柜属性 API请求 alibaba.mos.falcon.pos.counter.query

银泰商业获取专柜是否支持小数等属性查看

func NewAlibabaMosFalconPosCounterQueryRequest

func NewAlibabaMosFalconPosCounterQueryRequest() *AlibabaMosFalconPosCounterQueryAPIRequest

NewAlibabaMosFalconPosCounterQueryRequest 初始化AlibabaMosFalconPosCounterQueryAPIRequest对象

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetCounterNo

GetCounterNo CounterNo Getter

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetSn

GetSn Sn Getter

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetStoreNo

GetStoreNo StoreNo Getter

func (*AlibabaMosFalconPosCounterQueryAPIRequest) SetCounterNo

func (r *AlibabaMosFalconPosCounterQueryAPIRequest) SetCounterNo(_counterNo string) error

SetCounterNo is CounterNo Setter 专柜号

func (*AlibabaMosFalconPosCounterQueryAPIRequest) SetSn

SetSn is Sn Setter 设备序列号

func (*AlibabaMosFalconPosCounterQueryAPIRequest) SetStoreNo

func (r *AlibabaMosFalconPosCounterQueryAPIRequest) SetStoreNo(_storeNo string) error

SetStoreNo is StoreNo Setter 门店号

type AlibabaMosFalconPosCounterQueryAPIResponse

type AlibabaMosFalconPosCounterQueryAPIResponse struct {
	model.CommonResponse
	AlibabaMosFalconPosCounterQueryAPIResponseModel
}

AlibabaMosFalconPosCounterQueryAPIResponse 云POS查看专柜属性 API返回值 alibaba.mos.falcon.pos.counter.query

银泰商业获取专柜是否支持小数等属性查看

type AlibabaMosFalconPosCounterQueryAPIResponseModel

type AlibabaMosFalconPosCounterQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_mos_falcon_pos_counter_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaMosFalconPosCounterQueryResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaMosFalconPosCounterQueryAPIResponseModel is 云POS查看专柜属性 成功返回结果

type AlibabaMosFalconPosCounterQueryResultDo

type AlibabaMosFalconPosCounterQueryResultDo struct {
	// 标题
	Titles []string `json:"titles,omitempty" xml:"titles>string,omitempty"`
	// traceId
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 额外
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// total
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 是否成功
	Data *PosInfoDto `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	ErrCode int64 `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaMosFalconPosCounterQueryResultDo 结构体

type AlibabaRetailDeviceTradeShipAPIRequest

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

AlibabaRetailDeviceTradeShipAPIRequest 贩卖机掉货成功通知 API请求 alibaba.retail.device.trade.ship

贩卖机发货

func NewAlibabaRetailDeviceTradeShipRequest

func NewAlibabaRetailDeviceTradeShipRequest() *AlibabaRetailDeviceTradeShipAPIRequest

NewAlibabaRetailDeviceTradeShipRequest 初始化AlibabaRetailDeviceTradeShipAPIRequest对象

func (AlibabaRetailDeviceTradeShipAPIRequest) GetApiMethodName

func (r AlibabaRetailDeviceTradeShipAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaRetailDeviceTradeShipAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailDeviceTradeShipAPIRequest) GetDeviceId

GetDeviceId DeviceId Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetDeviceType

GetDeviceType DeviceType Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetOrderUpdateOption

GetOrderUpdateOption OrderUpdateOption Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaRetailDeviceTradeShipAPIRequest) GetShipDetailList

func (r AlibabaRetailDeviceTradeShipAPIRequest) GetShipDetailList() []ShipDetailDto

GetShipDetailList ShipDetailList Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetTradeNo

GetTradeNo TradeNo Getter

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetDeviceId

func (r *AlibabaRetailDeviceTradeShipAPIRequest) SetDeviceId(_deviceId string) error

SetDeviceId is DeviceId Setter 设备ID

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetDeviceType

func (r *AlibabaRetailDeviceTradeShipAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 设备类型

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetOrderUpdateOption

func (r *AlibabaRetailDeviceTradeShipAPIRequest) SetOrderUpdateOption(_orderUpdateOption *OrderUpdateOption) error

SetOrderUpdateOption is OrderUpdateOption Setter 选项

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetShipDetailList

func (r *AlibabaRetailDeviceTradeShipAPIRequest) SetShipDetailList(_shipDetailList []ShipDetailDto) error

SetShipDetailList is ShipDetailList Setter 详情

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetTradeNo

func (r *AlibabaRetailDeviceTradeShipAPIRequest) SetTradeNo(_tradeNo string) error

SetTradeNo is TradeNo Setter 内部订单编号

type AlibabaRetailDeviceTradeShipAPIResponse

type AlibabaRetailDeviceTradeShipAPIResponse struct {
	model.CommonResponse
	AlibabaRetailDeviceTradeShipAPIResponseModel
}

AlibabaRetailDeviceTradeShipAPIResponse 贩卖机掉货成功通知 API返回值 alibaba.retail.device.trade.ship

贩卖机发货

type AlibabaRetailDeviceTradeShipAPIResponseModel

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

AlibabaRetailDeviceTradeShipAPIResponseModel is 贩卖机掉货成功通知 成功返回结果

type AlibabaRetailDeviceTradeShipResult

type AlibabaRetailDeviceTradeShipResult struct {
	// errorInfos
	ErrorInfos []ErrorInfo `json:"error_infos,omitempty" xml:"error_infos>error_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaRetailDeviceTradeShipResult 结构体

type AlibabaRetailShorturlGetAPIRequest

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

AlibabaRetailShorturlGetAPIRequest 短链接获取 API请求 alibaba.retail.shorturl.get

短链接获取

func NewAlibabaRetailShorturlGetRequest

func NewAlibabaRetailShorturlGetRequest() *AlibabaRetailShorturlGetAPIRequest

NewAlibabaRetailShorturlGetRequest 初始化AlibabaRetailShorturlGetAPIRequest对象

func (AlibabaRetailShorturlGetAPIRequest) GetApiMethodName

func (r AlibabaRetailShorturlGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaRetailShorturlGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailShorturlGetAPIRequest) GetOptions

GetOptions Options Getter

func (AlibabaRetailShorturlGetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaRetailShorturlGetAPIRequest) GetSourceUrl

func (r AlibabaRetailShorturlGetAPIRequest) GetSourceUrl() string

GetSourceUrl SourceUrl Getter

func (*AlibabaRetailShorturlGetAPIRequest) SetOptions

func (r *AlibabaRetailShorturlGetAPIRequest) SetOptions(_options *ShortUrlOption) error

SetOptions is Options Setter 系统自动生成

func (*AlibabaRetailShorturlGetAPIRequest) SetSourceUrl

func (r *AlibabaRetailShorturlGetAPIRequest) SetSourceUrl(_sourceUrl string) error

SetSourceUrl is SourceUrl Setter 源url

type AlibabaRetailShorturlGetAPIResponse

type AlibabaRetailShorturlGetAPIResponse struct {
	model.CommonResponse
	AlibabaRetailShorturlGetAPIResponseModel
}

AlibabaRetailShorturlGetAPIResponse 短链接获取 API返回值 alibaba.retail.shorturl.get

短链接获取

type AlibabaRetailShorturlGetAPIResponseModel

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

AlibabaRetailShorturlGetAPIResponseModel is 短链接获取 成功返回结果

type AlibabaRetailShorturlGetResult

type AlibabaRetailShorturlGetResult struct {
	// errorInfos
	ErrorInfos []ErrorInfo `json:"error_infos,omitempty" xml:"error_infos>error_info,omitempty"`
	// module
	Module *ShortUrlDto `json:"module,omitempty" xml:"module,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaRetailShorturlGetResult 结构体

type AliexpressSocialCountryGetAPIRequest

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

AliexpressSocialCountryGetAPIRequest 获取国家列表 API请求 aliexpress.social.country.get

获取目前AE支持的国家列表

func NewAliexpressSocialCountryGetRequest

func NewAliexpressSocialCountryGetRequest() *AliexpressSocialCountryGetAPIRequest

NewAliexpressSocialCountryGetRequest 初始化AliexpressSocialCountryGetAPIRequest对象

func (AliexpressSocialCountryGetAPIRequest) GetApiMethodName

func (r AliexpressSocialCountryGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSocialCountryGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSocialCountryGetAPIRequest) GetLanguage

GetLanguage Language Getter

func (AliexpressSocialCountryGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressSocialCountryGetAPIRequest) SetLanguage

func (r *AliexpressSocialCountryGetAPIRequest) SetLanguage(_language string) error

SetLanguage is Language Setter 语言

type AliexpressSocialCountryGetAPIResponse

type AliexpressSocialCountryGetAPIResponse struct {
	model.CommonResponse
	AliexpressSocialCountryGetAPIResponseModel
}

AliexpressSocialCountryGetAPIResponse 获取国家列表 API返回值 aliexpress.social.country.get

获取目前AE支持的国家列表

type AliexpressSocialCountryGetAPIResponseModel

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

AliexpressSocialCountryGetAPIResponseModel is 获取国家列表 成功返回结果

type AliexpressSocialCurrencyGetAPIRequest

type AliexpressSocialCurrencyGetAPIRequest struct {
	model.Params
}

AliexpressSocialCurrencyGetAPIRequest 币种获取接口 API请求 aliexpress.social.currency.get

获取目前AE社交支持的币种

func NewAliexpressSocialCurrencyGetRequest

func NewAliexpressSocialCurrencyGetRequest() *AliexpressSocialCurrencyGetAPIRequest

NewAliexpressSocialCurrencyGetRequest 初始化AliexpressSocialCurrencyGetAPIRequest对象

func (AliexpressSocialCurrencyGetAPIRequest) GetApiMethodName

func (r AliexpressSocialCurrencyGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSocialCurrencyGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSocialCurrencyGetAPIRequest) GetRawParams added in v1.2.8

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

type AliexpressSocialCurrencyGetAPIResponse

type AliexpressSocialCurrencyGetAPIResponse struct {
	model.CommonResponse
	AliexpressSocialCurrencyGetAPIResponseModel
}

AliexpressSocialCurrencyGetAPIResponse 币种获取接口 API返回值 aliexpress.social.currency.get

获取目前AE社交支持的币种

type AliexpressSocialCurrencyGetAPIResponseModel

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

AliexpressSocialCurrencyGetAPIResponseModel is 币种获取接口 成功返回结果

type AliexpressSocialLocaleGetAPIRequest

type AliexpressSocialLocaleGetAPIRequest struct {
	model.Params
}

AliexpressSocialLocaleGetAPIRequest Locale获取接口 API请求 aliexpress.social.locale.get

新增Locale获取接口

func NewAliexpressSocialLocaleGetRequest

func NewAliexpressSocialLocaleGetRequest() *AliexpressSocialLocaleGetAPIRequest

NewAliexpressSocialLocaleGetRequest 初始化AliexpressSocialLocaleGetAPIRequest对象

func (AliexpressSocialLocaleGetAPIRequest) GetApiMethodName

func (r AliexpressSocialLocaleGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSocialLocaleGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSocialLocaleGetAPIRequest) GetRawParams added in v1.2.8

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

type AliexpressSocialLocaleGetAPIResponse

type AliexpressSocialLocaleGetAPIResponse struct {
	model.CommonResponse
	AliexpressSocialLocaleGetAPIResponseModel
}

AliexpressSocialLocaleGetAPIResponse Locale获取接口 API返回值 aliexpress.social.locale.get

新增Locale获取接口

type AliexpressSocialLocaleGetAPIResponseModel

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

AliexpressSocialLocaleGetAPIResponseModel is Locale获取接口 成功返回结果

type AssetQrCodeDto

type AssetQrCodeDto struct {
	// 生产二维码信息字符串
	QrCodeStringList []string `json:"qr_code_string_list,omitempty" xml:"qr_code_string_list>string,omitempty"`
	// 资产类型
	AssetType string `json:"asset_type,omitempty" xml:"asset_type,omitempty"`
	// 实物来源
	EntitySource string `json:"entity_source,omitempty" xml:"entity_source,omitempty"`
	// 请求生产条码数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 配件厂商code(请求参数)
	SpareBrandCode string `json:"spare_brand_code,omitempty" xml:"spare_brand_code,omitempty"`
	// 整机厂商code(请求参数)
	DeviceBrandCode string `json:"device_brand_code,omitempty" xml:"device_brand_code,omitempty"`
	// 实物SN(请求参数)
	Sn string `json:"sn,omitempty" xml:"sn,omitempty"`
	// 阿里侧部件型号(请求参数)
	Mpn string `json:"mpn,omitempty" xml:"mpn,omitempty"`
	// 配件类型code(请求参数)
	SpareCategoryCode string `json:"spare_category_code,omitempty" xml:"spare_category_code,omitempty"`
	// 厂商代码(请求参数)
	Manufacture string `json:"manufacture,omitempty" xml:"manufacture,omitempty"`
	// 单批次请求唯一标识
	Nonce string `json:"nonce,omitempty" xml:"nonce,omitempty"`
}

AssetQrCodeDto 结构体

type BaseRep

type BaseRep struct {
	// 内层大对象
	Datas []AssetQrCodeDto `json:"datas,omitempty" xml:"datas>asset_qr_code_dto,omitempty"`
	// 返回错误消息
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 返回错误code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 返回结果
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

BaseRep 结构体

type Checkpoints

type Checkpoints struct {
	// 检查的场景。antispam为黄暴政
	Scene string `json:"scene,omitempty" xml:"scene,omitempty"`
	// 检查的场景标签。normal:正常文本 spam:含垃圾信息;ad:广告;politics:涉政;terrorism:暴恐;abuse:辱骂;porn:色情;flood:灌水;contraband:违禁;meaningless:无意义
	Label string `json:"label,omitempty" xml:"label,omitempty"`
	// 结果建议
	Suggestion string `json:"suggestion,omitempty" xml:"suggestion,omitempty"`
	// 结果准确度
	Rate string `json:"rate,omitempty" xml:"rate,omitempty"`
}

Checkpoints 结构体

type CountryDto

type CountryDto struct {
	// 国家ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 国家名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 国家CODE
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

CountryDto 结构体

type CrowdBindTopResultDto added in v1.2.5

type CrowdBindTopResultDto struct {
	// 新增成功的单元
	AdgroupId int64 `json:"adgroup_id,omitempty" xml:"adgroup_id,omitempty"`
}

CrowdBindTopResultDto 结构体

type CrowdRefTopDto added in v1.2.5

type CrowdRefTopDto struct {
	// 人群信息
	Crowd *CrowdTopDto `json:"crowd,omitempty" xml:"crowd,omitempty"`
	// 溢价相关信息
	PriceTopDTO *PriceTopDto `json:"price_top_d_t_o,omitempty" xml:"price_top_d_t_o,omitempty"`
	// 需要添加到的计划id
	CampaignId int64 `json:"campaign_id,omitempty" xml:"campaign_id,omitempty"`
	// 推广传1,暂停传0
	OnlineStatus int64 `json:"online_status,omitempty" xml:"online_status,omitempty"`
	// 需要添加到的单元id
	AdgroupId int64 `json:"adgroup_id,omitempty" xml:"adgroup_id,omitempty"`
}

CrowdRefTopDto 结构体

type CrowdTopDto added in v1.2.5

type CrowdTopDto struct {
	// 达摩盘生成的人群id
	CrowdValue string `json:"crowd_value,omitempty" xml:"crowd_value,omitempty"`
	// 传对应的人群名称
	CrowdName string `json:"crowd_name,omitempty" xml:"crowd_name,omitempty"`
	// 达摩盘人群传128,平台精选人群传4194304
	TargetType int64 `json:"target_type,omitempty" xml:"target_type,omitempty"`
}

CrowdTopDto 结构体

type CurrencyDto

type CurrencyDto struct {
	// 货币编码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 货币显示标示
	Symbol string `json:"symbol,omitempty" xml:"symbol,omitempty"`
	// 货币名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

CurrencyDto 结构体

type Dto added in v1.2.5

type Dto struct {
	// 自定义配置信息
	ConfigJson string `json:"config_json,omitempty" xml:"config_json,omitempty"`
	// 资源文件下载地址
	DownloadUrl string `json:"download_url,omitempty" xml:"download_url,omitempty"`
	// 二维码地址
	Qrcode string `json:"qrcode,omitempty" xml:"qrcode,omitempty"`
	// 资源描述
	UpdateDesc string `json:"update_desc,omitempty" xml:"update_desc,omitempty"`
	// 资源版本名
	VersionName string `json:"version_name,omitempty" xml:"version_name,omitempty"`
	// 图标地址
	IconUrl string `json:"icon_url,omitempty" xml:"icon_url,omitempty"`
	// 资源MD5
	Md5 string `json:"md5,omitempty" xml:"md5,omitempty"`
	// 应用名
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// 主包名
	PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"`
	// 兼容主包名
	OldPackageName string `json:"old_package_name,omitempty" xml:"old_package_name,omitempty"`
	// 自定义标识符
	Identifier string `json:"identifier,omitempty" xml:"identifier,omitempty"`
	// 资源状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 资源大小
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 资源描述
	VersionCode int64 `json:"version_code,omitempty" xml:"version_code,omitempty"`
	// 是否自动安装
	AutoInstall bool `json:"auto_install,omitempty" xml:"auto_install,omitempty"`
}

Dto 结构体

type ErrorInfo

type ErrorInfo struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// subErrorCode
	SubErrorCode string `json:"sub_error_code,omitempty" xml:"sub_error_code,omitempty"`
	// errorMessage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
}

ErrorInfo 结构体

type Event

type Event struct {
	// 淘宝订单号
	Tid string `json:"tid,omitempty" xml:"tid,omitempty"`
	// 扩展属性
	Ext string `json:"ext,omitempty" xml:"ext,omitempty"`
	// 事件状态,如QIMEN_ERP_TRANSFER,QIMEN_ERP_CHECK
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 商家平台编码.MAIN:官方渠道,JD:京东,DD:当当,PP:拍拍,YX:易讯,EBAY:ebay,AMAZON:亚马逊,SN:苏宁,GM:国美,WPH:唯品会,JM:聚美,MGJ:蘑菇街,YT:银泰,YHD:1号店,1688:1688,POS:POS门店,OTHER:其他
	Platform string `json:"platform,omitempty" xml:"platform,omitempty"`
	// 外部商家名称。必须同时填写platform
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 主单号对应的erp单号,转单、审单、通知配货、出库 需要填。拆单、合单场景下不用填
	ErpOrderId string `json:"erp_order_id,omitempty" xml:"erp_order_id,omitempty"`
	// 淘宝子订单id(拆单、合单场景下不用填,其他场景需要回传,用英文逗号隔开)
	TaobaoSubOrderIds string `json:"taobao_sub_order_ids,omitempty" xml:"taobao_sub_order_ids,omitempty"`
	// 触发事件的时间
	EventTime string `json:"event_time,omitempty" xml:"event_time,omitempty"`
	// 订单创建时间,数字
	Create int64 `json:"create,omitempty" xml:"create,omitempty"`
}

Event 结构体

type EventPublishResponse added in v1.2.9

type EventPublishResponse struct {
	// 流程返回值列表
	ResponseList []ProcessResponse `json:"response_list,omitempty" xml:"response_list>process_response,omitempty"`
	// traceId
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 是否触发工作流
	ExecuteProcess bool `json:"execute_process,omitempty" xml:"execute_process,omitempty"`
}

EventPublishResponse 结构体

type EventPublishThirdPartyEntry added in v1.2.8

type EventPublishThirdPartyEntry struct {
	// 事件编码
	TriggerCode string `json:"trigger_code,omitempty" xml:"trigger_code,omitempty"`
	// 事件内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
}

EventPublishThirdPartyEntry 结构体

type EventPublishThirdPartyResponse added in v1.2.8

type EventPublishThirdPartyResponse struct {
	// 发布事件结果列表
	EntryList []EventPublishThirdPartyResultEntry `json:"entry_list,omitempty" xml:"entry_list>event_publish_third_party_result_entry,omitempty"`
}

EventPublishThirdPartyResponse 结构体

type EventPublishThirdPartyResultEntry added in v1.2.8

type EventPublishThirdPartyResultEntry struct {
	// 事件编码
	TriggerCode string `json:"trigger_code,omitempty" xml:"trigger_code,omitempty"`
	// 事件唯一ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 错误码
	SubErrCode string `json:"sub_err_code,omitempty" xml:"sub_err_code,omitempty"`
	// 错误内容
	SubErrMsg string `json:"sub_err_msg,omitempty" xml:"sub_err_msg,omitempty"`
	// 发布是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

EventPublishThirdPartyResultEntry 结构体

type FileDo added in v1.2.9

type FileDo struct {
	// 图片url
	FullUrl string `json:"full_url,omitempty" xml:"full_url,omitempty"`
	// 0
	ObjectKey string `json:"object_key,omitempty" xml:"object_key,omitempty"`
	// 上传文件夹id
	DirId int64 `json:"dir_id,omitempty" xml:"dir_id,omitempty"`
	// 图片大小
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
}

FileDo 结构体

type IotRegisterResult added in v1.2.5

type IotRegisterResult struct {
	// 产品Key
	ProductKey string `json:"product_key,omitempty" xml:"product_key,omitempty"`
	// 设备名称
	DeviceName string `json:"device_name,omitempty" xml:"device_name,omitempty"`
	// 设备Secret
	DeviceSecret string `json:"device_secret,omitempty" xml:"device_secret,omitempty"`
}

IotRegisterResult 结构体

type ItemPickPagingResult

type ItemPickPagingResult struct {
	// 返回数据集合
	Results []CountryDto `json:"results,omitempty" xml:"results>country_dto,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 页码
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 每页数据条数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总记录条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ItemPickPagingResult 结构体

type KfcSearchResult

type KfcSearchResult struct {
	// 匹配到的关键词的等级,值为null,或为A、B、C、D。<br/>当匹配不到关键词时,值为null,否则值为A、B、C、D中的一个。<br/>A、B、C、D等级按严重程度从高至低排列。
	Level string `json:"level,omitempty" xml:"level,omitempty"`
	// 过滤后的文本:<br/>当匹配到B等级的词时,文本中的关键词被替换为*号,content即为关键词替换后的文本;<br/>其他情况,content始终为null
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 是否匹配到关键词,匹配到则为true.
	Matched bool `json:"matched,omitempty" xml:"matched,omitempty"`
}

KfcSearchResult 结构体

type LocaleDto

type LocaleDto struct {
	// Locale编码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// Locale名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

LocaleDto 结构体

type OrderUpdateOption

type OrderUpdateOption struct {
	// 业务识别
	BizName string `json:"biz_name,omitempty" xml:"biz_name,omitempty"`
}

OrderUpdateOption 结构体

type PosInfoDto

type PosInfoDto struct {
	// 是否支持小数
	Support4Decimal string `json:"support4_decimal,omitempty" xml:"support4_decimal,omitempty"`
	// 专柜号
	CounterNo string `json:"counter_no,omitempty" xml:"counter_no,omitempty"`
	// 门店号
	StoreNo string `json:"store_no,omitempty" xml:"store_no,omitempty"`
}

PosInfoDto 结构体

type PriceTopDto added in v1.2.5

type PriceTopDto struct {
	// 溢价信息,范围5-300,不在范围内会默认设置为5
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
}

PriceTopDto 结构体

type ProcessResponse added in v1.2.9

type ProcessResponse struct {
	// 流程实例ID
	ProcessInstanceId string `json:"process_instance_id,omitempty" xml:"process_instance_id,omitempty"`
	// 流程错误码
	ProcessErrorCode string `json:"process_error_code,omitempty" xml:"process_error_code,omitempty"`
	// 流程错误信息
	ProcessErrorMsg string `json:"process_error_msg,omitempty" xml:"process_error_msg,omitempty"`
	// 流程备注
	ProcessRemark string `json:"process_remark,omitempty" xml:"process_remark,omitempty"`
	// 流程返回值
	ProcessData string `json:"process_data,omitempty" xml:"process_data,omitempty"`
	// 流程执行是否成功
	ProcessSuccess bool `json:"process_success,omitempty" xml:"process_success,omitempty"`
	// 业务是否成功
	BizSuccess bool `json:"biz_success,omitempty" xml:"biz_success,omitempty"`
}

ProcessResponse 结构体

type QimenEvent

type QimenEvent struct {
	// 奇门事件对象
	Event *Event `json:"event,omitempty" xml:"event,omitempty"`
}

QimenEvent 结构体

type QimenResult

type QimenResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

QimenResult 结构体

type QimenUser

type QimenUser struct {
	// memo
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// gmtCreate
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// sellerNick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
}

QimenUser 结构体

type RefundCheckDto

type RefundCheckDto struct {
	// 审核状态 恒为 SUCCESS
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 审核描述
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 审核操作时间
	OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"`
	// 退款单ID
	RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"`
	// 主订单ID
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 子订单ID
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
}

RefundCheckDto 结构体

type ResultCode added in v1.2.5

type ResultCode struct {
	// 错误码描述
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误妈code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

ResultCode 结构体

type SessionInfo

type SessionInfo struct {
	// skey
	Skey string `json:"skey,omitempty" xml:"skey,omitempty"`
	// openId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// accessToken
	AccessToken string `json:"access_token,omitempty" xml:"access_token,omitempty"`
	// unionId
	UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"`
}

SessionInfo 结构体

type ShipDetailDto

type ShipDetailDto struct {
	// 外部订单ID
	OuterTradeNo string `json:"outer_trade_no,omitempty" xml:"outer_trade_no,omitempty"`
	// 商品
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 0发货成功 1发货失败 10 核销成功 20 核销失败
	ShipStatus int64 `json:"ship_status,omitempty" xml:"ship_status,omitempty"`
}

ShipDetailDto 结构体

type ShortUrlDto

type ShortUrlDto struct {
	// shortUrl
	ShortUrl string `json:"short_url,omitempty" xml:"short_url,omitempty"`
}

ShortUrlDto 结构体

type ShortUrlOption

type ShortUrlOption struct {
	// bizName
	BizName string `json:"biz_name,omitempty" xml:"biz_name,omitempty"`
}

ShortUrlOption 结构体

type TaobaoAppipGetAPIRequest

type TaobaoAppipGetAPIRequest struct {
	model.Params
}

TaobaoAppipGetAPIRequest 获取ISV发起请求服务器IP API请求 taobao.appip.get

获取ISV发起请求服务器IP

func NewTaobaoAppipGetRequest

func NewTaobaoAppipGetRequest() *TaobaoAppipGetAPIRequest

NewTaobaoAppipGetRequest 初始化TaobaoAppipGetAPIRequest对象

func (TaobaoAppipGetAPIRequest) GetApiMethodName

func (r TaobaoAppipGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAppipGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAppipGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoAppipGetAPIRequest) GetRawParams() model.Params

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

type TaobaoAppipGetAPIResponse

type TaobaoAppipGetAPIResponse struct {
	model.CommonResponse
	TaobaoAppipGetAPIResponseModel
}

TaobaoAppipGetAPIResponse 获取ISV发起请求服务器IP API返回值 taobao.appip.get

获取ISV发起请求服务器IP

type TaobaoAppipGetAPIResponseModel

type TaobaoAppipGetAPIResponseModel struct {
	XMLName xml.Name `xml:"appip_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// ISV发起请求服务器IP
	Ip string `json:"ip,omitempty" xml:"ip,omitempty"`
}

TaobaoAppipGetAPIResponseModel is 获取ISV发起请求服务器IP 成功返回结果

type TaobaoFilesGetAPIRequest

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

TaobaoFilesGetAPIRequest 业务文件获取 API请求 taobao.files.get

获取业务方暂存给ISV的文件列表

func NewTaobaoFilesGetRequest

func NewTaobaoFilesGetRequest() *TaobaoFilesGetAPIRequest

NewTaobaoFilesGetRequest 初始化TaobaoFilesGetAPIRequest对象

func (TaobaoFilesGetAPIRequest) GetApiMethodName

func (r TaobaoFilesGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFilesGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFilesGetAPIRequest) GetEndDate

func (r TaobaoFilesGetAPIRequest) GetEndDate() string

GetEndDate EndDate Getter

func (TaobaoFilesGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoFilesGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoFilesGetAPIRequest) GetStartDate

func (r TaobaoFilesGetAPIRequest) GetStartDate() string

GetStartDate StartDate Getter

func (TaobaoFilesGetAPIRequest) GetStatus

func (r TaobaoFilesGetAPIRequest) GetStatus() int64

GetStatus Status Getter

func (*TaobaoFilesGetAPIRequest) SetEndDate

func (r *TaobaoFilesGetAPIRequest) SetEndDate(_endDate string) error

SetEndDate is EndDate Setter 搜索结束时间

func (*TaobaoFilesGetAPIRequest) SetStartDate

func (r *TaobaoFilesGetAPIRequest) SetStartDate(_startDate string) error

SetStartDate is StartDate Setter 搜索开始时间

func (*TaobaoFilesGetAPIRequest) SetStatus

func (r *TaobaoFilesGetAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 下载链接状态。1:未下载。2:已下载

type TaobaoFilesGetAPIResponse

type TaobaoFilesGetAPIResponse struct {
	model.CommonResponse
	TaobaoFilesGetAPIResponseModel
}

TaobaoFilesGetAPIResponse 业务文件获取 API返回值 taobao.files.get

获取业务方暂存给ISV的文件列表

type TaobaoFilesGetAPIResponseModel

type TaobaoFilesGetAPIResponseModel struct {
	XMLName xml.Name `xml:"files_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// results
	Results []TopDownloadRecordDo `json:"results,omitempty" xml:"results>top_download_record_do,omitempty"`
}

TaobaoFilesGetAPIResponseModel is 业务文件获取 成功返回结果

type TaobaoHttpdnsGetAPIRequest

type TaobaoHttpdnsGetAPIRequest struct {
	model.Params
}

TaobaoHttpdnsGetAPIRequest TOPDNS配置 API请求 taobao.httpdns.get

获取TOP DNS配置

func NewTaobaoHttpdnsGetRequest

func NewTaobaoHttpdnsGetRequest() *TaobaoHttpdnsGetAPIRequest

NewTaobaoHttpdnsGetRequest 初始化TaobaoHttpdnsGetAPIRequest对象

func (TaobaoHttpdnsGetAPIRequest) GetApiMethodName

func (r TaobaoHttpdnsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoHttpdnsGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoHttpdnsGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoHttpdnsGetAPIRequest) GetRawParams() model.Params

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

type TaobaoHttpdnsGetAPIResponse

type TaobaoHttpdnsGetAPIResponse struct {
	model.CommonResponse
	TaobaoHttpdnsGetAPIResponseModel
}

TaobaoHttpdnsGetAPIResponse TOPDNS配置 API返回值 taobao.httpdns.get

获取TOP DNS配置

type TaobaoHttpdnsGetAPIResponseModel

type TaobaoHttpdnsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"httpdns_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// HTTP DNS配置信息
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoHttpdnsGetAPIResponseModel is TOPDNS配置 成功返回结果

type TaobaoKfcKeywordSearchAPIRequest

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

TaobaoKfcKeywordSearchAPIRequest 关键词过滤匹配 API请求 taobao.kfc.keyword.search

对输入的文本信息进行禁忌关键词匹配,返回匹配的结果

func NewTaobaoKfcKeywordSearchRequest

func NewTaobaoKfcKeywordSearchRequest() *TaobaoKfcKeywordSearchAPIRequest

NewTaobaoKfcKeywordSearchRequest 初始化TaobaoKfcKeywordSearchAPIRequest对象

func (TaobaoKfcKeywordSearchAPIRequest) GetApiMethodName

func (r TaobaoKfcKeywordSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKfcKeywordSearchAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKfcKeywordSearchAPIRequest) GetApply

GetApply Apply Getter

func (TaobaoKfcKeywordSearchAPIRequest) GetContent

GetContent Content Getter

func (TaobaoKfcKeywordSearchAPIRequest) GetNick

GetNick Nick Getter

func (TaobaoKfcKeywordSearchAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoKfcKeywordSearchAPIRequest) SetApply

func (r *TaobaoKfcKeywordSearchAPIRequest) SetApply(_apply string) error

SetApply is Apply Setter 应用点,分为一级应用点、二级应用点。其中一级应用点通常是指某一个系统或产品,比如淘宝的商品应用(taobao_auction);二级应用点,是指一级应用点下的具体的分类,比如商品标题(title)、商品描述(content)。不同的二级应用可以设置不同关键词。<br/><br/>这里的apply参数是由一级应用点与二级应用点合起来的字符(一级应用点+"."+二级应用点),如taobao_auction.title。<br/><br/><br/>通常apply参数是不需要传递的。如有特殊需求(比如特殊的过滤需求,需要自己维护一套自己词库),需传递此参数。

func (*TaobaoKfcKeywordSearchAPIRequest) SetContent

func (r *TaobaoKfcKeywordSearchAPIRequest) SetContent(_content string) error

SetContent is Content Setter 需要过滤的文本信息

func (*TaobaoKfcKeywordSearchAPIRequest) SetNick

func (r *TaobaoKfcKeywordSearchAPIRequest) SetNick(_nick string) error

SetNick is Nick Setter 发布信息的淘宝会员名,可以不传

type TaobaoKfcKeywordSearchAPIResponse

type TaobaoKfcKeywordSearchAPIResponse struct {
	model.CommonResponse
	TaobaoKfcKeywordSearchAPIResponseModel
}

TaobaoKfcKeywordSearchAPIResponse 关键词过滤匹配 API返回值 taobao.kfc.keyword.search

对输入的文本信息进行禁忌关键词匹配,返回匹配的结果

type TaobaoKfcKeywordSearchAPIResponseModel

type TaobaoKfcKeywordSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"kfc_keyword_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// KFC 关键词过滤匹配结果
	KfcSearchResult *KfcSearchResult `json:"kfc_search_result,omitempty" xml:"kfc_search_result,omitempty"`
}

TaobaoKfcKeywordSearchAPIResponseModel is 关键词过滤匹配 成功返回结果

type TaobaoOpenlinkSessionGetAPIRequest

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

TaobaoOpenlinkSessionGetAPIRequest 获取授权session信息 API请求 taobao.openlink.session.get

帮助第三方isv生成三方session

func NewTaobaoOpenlinkSessionGetRequest

func NewTaobaoOpenlinkSessionGetRequest() *TaobaoOpenlinkSessionGetAPIRequest

NewTaobaoOpenlinkSessionGetRequest 初始化TaobaoOpenlinkSessionGetAPIRequest对象

func (TaobaoOpenlinkSessionGetAPIRequest) GetApiMethodName

func (r TaobaoOpenlinkSessionGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenlinkSessionGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenlinkSessionGetAPIRequest) GetCode

GetCode Code Getter

func (TaobaoOpenlinkSessionGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoOpenlinkSessionGetAPIRequest) SetCode

SetCode is Code Setter 授权码

type TaobaoOpenlinkSessionGetAPIResponse

type TaobaoOpenlinkSessionGetAPIResponse struct {
	model.CommonResponse
	TaobaoOpenlinkSessionGetAPIResponseModel
}

TaobaoOpenlinkSessionGetAPIResponse 获取授权session信息 API返回值 taobao.openlink.session.get

帮助第三方isv生成三方session

type TaobaoOpenlinkSessionGetAPIResponseModel

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

TaobaoOpenlinkSessionGetAPIResponseModel is 获取授权session信息 成功返回结果

type TaobaoOpenlinkSessionGetResult

type TaobaoOpenlinkSessionGetResult struct {
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// model
	Model *SessionInfo `json:"model,omitempty" xml:"model,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoOpenlinkSessionGetResult 结构体

type TaobaoOpenuidGetAPIRequest

type TaobaoOpenuidGetAPIRequest struct {
	model.Params
}

TaobaoOpenuidGetAPIRequest 获取授权账号对应的OpenUid API请求 taobao.openuid.get

获取授权账号对应的OpenUid

func NewTaobaoOpenuidGetRequest

func NewTaobaoOpenuidGetRequest() *TaobaoOpenuidGetAPIRequest

NewTaobaoOpenuidGetRequest 初始化TaobaoOpenuidGetAPIRequest对象

func (TaobaoOpenuidGetAPIRequest) GetApiMethodName

func (r TaobaoOpenuidGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenuidGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenuidGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoOpenuidGetAPIRequest) GetRawParams() model.Params

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

type TaobaoOpenuidGetAPIResponse

type TaobaoOpenuidGetAPIResponse struct {
	model.CommonResponse
	TaobaoOpenuidGetAPIResponseModel
}

TaobaoOpenuidGetAPIResponse 获取授权账号对应的OpenUid API返回值 taobao.openuid.get

获取授权账号对应的OpenUid

type TaobaoOpenuidGetAPIResponseModel

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

TaobaoOpenuidGetAPIResponseModel is 获取授权账号对应的OpenUid 成功返回结果

type TaobaoOpenuidGetBymixnickAPIRequest

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

TaobaoOpenuidGetBymixnickAPIRequest 通过mixnick转换openuid API请求 taobao.openuid.get.bymixnick

通过mixnick转换openuid

func NewTaobaoOpenuidGetBymixnickRequest

func NewTaobaoOpenuidGetBymixnickRequest() *TaobaoOpenuidGetBymixnickAPIRequest

NewTaobaoOpenuidGetBymixnickRequest 初始化TaobaoOpenuidGetBymixnickAPIRequest对象

func (TaobaoOpenuidGetBymixnickAPIRequest) GetApiMethodName

func (r TaobaoOpenuidGetBymixnickAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenuidGetBymixnickAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenuidGetBymixnickAPIRequest) GetMixNick

GetMixNick MixNick Getter

func (TaobaoOpenuidGetBymixnickAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoOpenuidGetBymixnickAPIRequest) SetMixNick

func (r *TaobaoOpenuidGetBymixnickAPIRequest) SetMixNick(_mixNick string) error

SetMixNick is MixNick Setter 无线类应用获取到的混淆的nick

type TaobaoOpenuidGetBymixnickAPIResponse

type TaobaoOpenuidGetBymixnickAPIResponse struct {
	model.CommonResponse
	TaobaoOpenuidGetBymixnickAPIResponseModel
}

TaobaoOpenuidGetBymixnickAPIResponse 通过mixnick转换openuid API返回值 taobao.openuid.get.bymixnick

通过mixnick转换openuid

type TaobaoOpenuidGetBymixnickAPIResponseModel

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

TaobaoOpenuidGetBymixnickAPIResponseModel is 通过mixnick转换openuid 成功返回结果

type TaobaoOpenuidGetBytradeAPIRequest

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

TaobaoOpenuidGetBytradeAPIRequest 通过订单获取对应买家的openUID API请求 taobao.openuid.get.bytrade

通过订单获取对应买家的openUID,需要卖家授权

func NewTaobaoOpenuidGetBytradeRequest

func NewTaobaoOpenuidGetBytradeRequest() *TaobaoOpenuidGetBytradeAPIRequest

NewTaobaoOpenuidGetBytradeRequest 初始化TaobaoOpenuidGetBytradeAPIRequest对象

func (TaobaoOpenuidGetBytradeAPIRequest) GetApiMethodName

func (r TaobaoOpenuidGetBytradeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenuidGetBytradeAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenuidGetBytradeAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoOpenuidGetBytradeAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoOpenuidGetBytradeAPIRequest) SetTid

SetTid is Tid Setter 订单ID

type TaobaoOpenuidGetBytradeAPIResponse

type TaobaoOpenuidGetBytradeAPIResponse struct {
	model.CommonResponse
	TaobaoOpenuidGetBytradeAPIResponseModel
}

TaobaoOpenuidGetBytradeAPIResponse 通过订单获取对应买家的openUID API返回值 taobao.openuid.get.bytrade

通过订单获取对应买家的openUID,需要卖家授权

type TaobaoOpenuidGetBytradeAPIResponseModel

type TaobaoOpenuidGetBytradeAPIResponseModel struct {
	XMLName xml.Name `xml:"openuid_get_bytrade_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 当前交易tid对应买家的openuid
	OpenUid string `json:"open_uid,omitempty" xml:"open_uid,omitempty"`
}

TaobaoOpenuidGetBytradeAPIResponseModel is 通过订单获取对应买家的openUID 成功返回结果

type TaobaoPictureQnaigcUploadAPIRequest added in v1.2.9

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

TaobaoPictureQnaigcUploadAPIRequest qnaigc业务线图片上传 API请求 taobao.picture.qnaigc.upload

qnaigc业务线图片上传

func NewTaobaoPictureQnaigcUploadRequest added in v1.2.9

func NewTaobaoPictureQnaigcUploadRequest() *TaobaoPictureQnaigcUploadAPIRequest

NewTaobaoPictureQnaigcUploadRequest 初始化TaobaoPictureQnaigcUploadAPIRequest对象

func (TaobaoPictureQnaigcUploadAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoPictureQnaigcUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPictureQnaigcUploadAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPictureQnaigcUploadAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoPictureQnaigcUploadAPIRequest) GetUploadRequest added in v1.2.9

func (r TaobaoPictureQnaigcUploadAPIRequest) GetUploadRequest() *UploadRequest

GetUploadRequest UploadRequest Getter

func (*TaobaoPictureQnaigcUploadAPIRequest) SetUploadRequest added in v1.2.9

func (r *TaobaoPictureQnaigcUploadAPIRequest) SetUploadRequest(_uploadRequest *UploadRequest) error

SetUploadRequest is UploadRequest Setter qnaigc业务线图片上传请求

type TaobaoPictureQnaigcUploadAPIResponse added in v1.2.9

type TaobaoPictureQnaigcUploadAPIResponse struct {
	model.CommonResponse
	TaobaoPictureQnaigcUploadAPIResponseModel
}

TaobaoPictureQnaigcUploadAPIResponse qnaigc业务线图片上传 API返回值 taobao.picture.qnaigc.upload

qnaigc业务线图片上传

type TaobaoPictureQnaigcUploadAPIResponseModel added in v1.2.9

type TaobaoPictureQnaigcUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"picture_qnaigc_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 上传结果
	Result *TaobaoPictureQnaigcUploadResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoPictureQnaigcUploadAPIResponseModel is qnaigc业务线图片上传 成功返回结果

type TaobaoPictureQnaigcUploadResult added in v1.2.9

type TaobaoPictureQnaigcUploadResult struct {
	// 上传额外信息
	BizExtMap string `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// 上传结果状态信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 上传结果状态码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// http状态码
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// 图片结果
	Model *FileDo `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoPictureQnaigcUploadResult 结构体

type TaobaoQimenEventProduceAPIRequest

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

TaobaoQimenEventProduceAPIRequest 发出奇门事件 API请求 taobao.qimen.event.produce

当订单被处理时,用于通知奇门系统。

func NewTaobaoQimenEventProduceRequest

func NewTaobaoQimenEventProduceRequest() *TaobaoQimenEventProduceAPIRequest

NewTaobaoQimenEventProduceRequest 初始化TaobaoQimenEventProduceAPIRequest对象

func (TaobaoQimenEventProduceAPIRequest) GetApiMethodName

func (r TaobaoQimenEventProduceAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQimenEventProduceAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQimenEventProduceAPIRequest) GetCreate

GetCreate Create Getter

func (TaobaoQimenEventProduceAPIRequest) GetErpOrderId added in v1.2.9

func (r TaobaoQimenEventProduceAPIRequest) GetErpOrderId() string

GetErpOrderId ErpOrderId Getter

func (TaobaoQimenEventProduceAPIRequest) GetEventTime added in v1.2.9

func (r TaobaoQimenEventProduceAPIRequest) GetEventTime() string

GetEventTime EventTime Getter

func (TaobaoQimenEventProduceAPIRequest) GetExt

GetExt Ext Getter

func (TaobaoQimenEventProduceAPIRequest) GetNick

GetNick Nick Getter

func (TaobaoQimenEventProduceAPIRequest) GetPlatform

func (r TaobaoQimenEventProduceAPIRequest) GetPlatform() string

GetPlatform Platform Getter

func (TaobaoQimenEventProduceAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoQimenEventProduceAPIRequest) GetStatus

GetStatus Status Getter

func (TaobaoQimenEventProduceAPIRequest) GetTaobaoSubOrderIds added in v1.2.9

func (r TaobaoQimenEventProduceAPIRequest) GetTaobaoSubOrderIds() string

GetTaobaoSubOrderIds TaobaoSubOrderIds Getter

func (TaobaoQimenEventProduceAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoQimenEventProduceAPIRequest) SetCreate

func (r *TaobaoQimenEventProduceAPIRequest) SetCreate(_create int64) error

SetCreate is Create Setter 订单创建时间,数字

func (*TaobaoQimenEventProduceAPIRequest) SetErpOrderId added in v1.2.9

func (r *TaobaoQimenEventProduceAPIRequest) SetErpOrderId(_erpOrderId string) error

SetErpOrderId is ErpOrderId Setter 主单号对应的erp单号,转单、审单、通知配货、出库 需要填。拆单、合单场景下不用填

func (*TaobaoQimenEventProduceAPIRequest) SetEventTime added in v1.2.9

func (r *TaobaoQimenEventProduceAPIRequest) SetEventTime(_eventTime string) error

SetEventTime is EventTime Setter 触发事件的时间

func (*TaobaoQimenEventProduceAPIRequest) SetExt

SetExt is Ext Setter JSON格式扩展字段

func (*TaobaoQimenEventProduceAPIRequest) SetNick

SetNick is Nick Setter 外部商家名称。必须同时填写platform

func (*TaobaoQimenEventProduceAPIRequest) SetPlatform

func (r *TaobaoQimenEventProduceAPIRequest) SetPlatform(_platform string) error

SetPlatform is Platform Setter 商家平台编码.MAIN:官方渠道,JD:京东,DD:当当,PP:拍拍,YX:易讯,EBAY:ebay,AMAZON:亚马逊,SN:苏宁,GM:国美,WPH:唯品会,JM:聚美,MGJ:蘑菇街,YT:银泰,YHD:1号店,1688:1688,POS:POS门店,OTHER:其他

func (*TaobaoQimenEventProduceAPIRequest) SetStatus

func (r *TaobaoQimenEventProduceAPIRequest) SetStatus(_status string) error

SetStatus is Status Setter 事件状态,如QIMEN_ERP_TRANSFER,QIMEN_ERP_CHECK

func (*TaobaoQimenEventProduceAPIRequest) SetTaobaoSubOrderIds added in v1.2.9

func (r *TaobaoQimenEventProduceAPIRequest) SetTaobaoSubOrderIds(_taobaoSubOrderIds string) error

SetTaobaoSubOrderIds is TaobaoSubOrderIds Setter 淘宝子订单id(拆单、合单场景下不用填,其他场景需要回传,用英文逗号隔开)

func (*TaobaoQimenEventProduceAPIRequest) SetTid

SetTid is Tid Setter 淘宝订单号

type TaobaoQimenEventProduceAPIResponse

type TaobaoQimenEventProduceAPIResponse struct {
	model.CommonResponse
	TaobaoQimenEventProduceAPIResponseModel
}

TaobaoQimenEventProduceAPIResponse 发出奇门事件 API返回值 taobao.qimen.event.produce

当订单被处理时,用于通知奇门系统。

type TaobaoQimenEventProduceAPIResponseModel

type TaobaoQimenEventProduceAPIResponseModel struct {
	XMLName xml.Name `xml:"qimen_event_produce_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoQimenEventProduceAPIResponseModel is 发出奇门事件 成功返回结果

type TaobaoQimenEventsProduceAPIRequest

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

TaobaoQimenEventsProduceAPIRequest 批量发送奇门事件 API请求 taobao.qimen.events.produce

批量发送消息

func NewTaobaoQimenEventsProduceRequest

func NewTaobaoQimenEventsProduceRequest() *TaobaoQimenEventsProduceAPIRequest

NewTaobaoQimenEventsProduceRequest 初始化TaobaoQimenEventsProduceAPIRequest对象

func (TaobaoQimenEventsProduceAPIRequest) GetApiMethodName

func (r TaobaoQimenEventsProduceAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQimenEventsProduceAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQimenEventsProduceAPIRequest) GetMessages

GetMessages Messages Getter

func (TaobaoQimenEventsProduceAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoQimenEventsProduceAPIRequest) SetMessages

func (r *TaobaoQimenEventsProduceAPIRequest) SetMessages(_messages []QimenEvent) error

SetMessages is Messages Setter 奇门事件列表, 最多50条

type TaobaoQimenEventsProduceAPIResponse

type TaobaoQimenEventsProduceAPIResponse struct {
	model.CommonResponse
	TaobaoQimenEventsProduceAPIResponseModel
}

TaobaoQimenEventsProduceAPIResponse 批量发送奇门事件 API返回值 taobao.qimen.events.produce

批量发送消息

type TaobaoQimenEventsProduceAPIResponseModel

type TaobaoQimenEventsProduceAPIResponseModel struct {
	XMLName xml.Name `xml:"qimen_events_produce_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 发送结果,与发送时的参数顺序一致。如果is_all_success为true时,不用校验result是否成功
	Results []QimenResult `json:"results,omitempty" xml:"results>qimen_result,omitempty"`
	// 是否全部成功
	IsAllSuccess bool `json:"is_all_success,omitempty" xml:"is_all_success,omitempty"`
}

TaobaoQimenEventsProduceAPIResponseModel is 批量发送奇门事件 成功返回结果

type TaobaoQimenTradeUserAddAPIRequest

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

TaobaoQimenTradeUserAddAPIRequest 添加奇门订单链路用户 API请求 taobao.qimen.trade.user.add

添加奇门订单链路用户

func NewTaobaoQimenTradeUserAddRequest

func NewTaobaoQimenTradeUserAddRequest() *TaobaoQimenTradeUserAddAPIRequest

NewTaobaoQimenTradeUserAddRequest 初始化TaobaoQimenTradeUserAddAPIRequest对象

func (TaobaoQimenTradeUserAddAPIRequest) GetApiMethodName

func (r TaobaoQimenTradeUserAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQimenTradeUserAddAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQimenTradeUserAddAPIRequest) GetMemo

GetMemo Memo Getter

func (TaobaoQimenTradeUserAddAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoQimenTradeUserAddAPIRequest) SetMemo

SetMemo is Memo Setter 商家备注

type TaobaoQimenTradeUserAddAPIResponse

type TaobaoQimenTradeUserAddAPIResponse struct {
	model.CommonResponse
	TaobaoQimenTradeUserAddAPIResponseModel
}

TaobaoQimenTradeUserAddAPIResponse 添加奇门订单链路用户 API返回值 taobao.qimen.trade.user.add

添加奇门订单链路用户

type TaobaoQimenTradeUserAddAPIResponseModel

type TaobaoQimenTradeUserAddAPIResponseModel struct {
	XMLName xml.Name `xml:"qimen_trade_user_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// appkey
	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`
	// 卖家备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
}

TaobaoQimenTradeUserAddAPIResponseModel is 添加奇门订单链路用户 成功返回结果

type TaobaoQimenTradeUserDeleteAPIRequest

type TaobaoQimenTradeUserDeleteAPIRequest struct {
	model.Params
}

TaobaoQimenTradeUserDeleteAPIRequest 删除奇门订单链路用户 API请求 taobao.qimen.trade.user.delete

删除奇门订单链路用户

func NewTaobaoQimenTradeUserDeleteRequest

func NewTaobaoQimenTradeUserDeleteRequest() *TaobaoQimenTradeUserDeleteAPIRequest

NewTaobaoQimenTradeUserDeleteRequest 初始化TaobaoQimenTradeUserDeleteAPIRequest对象

func (TaobaoQimenTradeUserDeleteAPIRequest) GetApiMethodName

func (r TaobaoQimenTradeUserDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQimenTradeUserDeleteAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQimenTradeUserDeleteAPIRequest) GetRawParams added in v1.2.8

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

type TaobaoQimenTradeUserDeleteAPIResponse

type TaobaoQimenTradeUserDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoQimenTradeUserDeleteAPIResponseModel
}

TaobaoQimenTradeUserDeleteAPIResponse 删除奇门订单链路用户 API返回值 taobao.qimen.trade.user.delete

删除奇门订单链路用户

type TaobaoQimenTradeUserDeleteAPIResponseModel

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

TaobaoQimenTradeUserDeleteAPIResponseModel is 删除奇门订单链路用户 成功返回结果

type TaobaoQimenTradeUsersGetAPIRequest

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

TaobaoQimenTradeUsersGetAPIRequest 获取奇门用户列表 API请求 taobao.qimen.trade.users.get

获取已开通奇门订单服务的用户列表

func NewTaobaoQimenTradeUsersGetRequest

func NewTaobaoQimenTradeUsersGetRequest() *TaobaoQimenTradeUsersGetAPIRequest

NewTaobaoQimenTradeUsersGetRequest 初始化TaobaoQimenTradeUsersGetAPIRequest对象

func (TaobaoQimenTradeUsersGetAPIRequest) GetApiMethodName

func (r TaobaoQimenTradeUsersGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQimenTradeUsersGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQimenTradeUsersGetAPIRequest) GetPageIndex

func (r TaobaoQimenTradeUsersGetAPIRequest) GetPageIndex() int64

GetPageIndex PageIndex Getter

func (TaobaoQimenTradeUsersGetAPIRequest) GetPageSize

func (r TaobaoQimenTradeUsersGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoQimenTradeUsersGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoQimenTradeUsersGetAPIRequest) SetPageIndex

func (r *TaobaoQimenTradeUsersGetAPIRequest) SetPageIndex(_pageIndex int64) error

SetPageIndex is PageIndex Setter 每页的数量

func (*TaobaoQimenTradeUsersGetAPIRequest) SetPageSize

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

SetPageSize is PageSize Setter 页数

type TaobaoQimenTradeUsersGetAPIResponse

type TaobaoQimenTradeUsersGetAPIResponse struct {
	model.CommonResponse
	TaobaoQimenTradeUsersGetAPIResponseModel
}

TaobaoQimenTradeUsersGetAPIResponse 获取奇门用户列表 API返回值 taobao.qimen.trade.users.get

获取已开通奇门订单服务的用户列表

type TaobaoQimenTradeUsersGetAPIResponseModel

type TaobaoQimenTradeUsersGetAPIResponseModel struct {
	XMLName xml.Name `xml:"qimen_trade_users_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// modal
	Users []QimenUser `json:"users,omitempty" xml:"users>qimen_user,omitempty"`
	// totalCount
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

TaobaoQimenTradeUsersGetAPIResponseModel is 获取奇门用户列表 成功返回结果

type TaobaoRdcAligeniusRefundsCheckAPIRequest

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

TaobaoRdcAligeniusRefundsCheckAPIRequest 退款信息审核 API请求 taobao.rdc.aligenius.refunds.check

根据退款信息,对退款单进行审核

func NewTaobaoRdcAligeniusRefundsCheckRequest

func NewTaobaoRdcAligeniusRefundsCheckRequest() *TaobaoRdcAligeniusRefundsCheckAPIRequest

NewTaobaoRdcAligeniusRefundsCheckRequest 初始化TaobaoRdcAligeniusRefundsCheckAPIRequest对象

func (TaobaoRdcAligeniusRefundsCheckAPIRequest) GetApiMethodName

func (r TaobaoRdcAligeniusRefundsCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusRefundsCheckAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusRefundsCheckAPIRequest) GetParam

GetParam Param Getter

func (TaobaoRdcAligeniusRefundsCheckAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRdcAligeniusRefundsCheckAPIRequest) SetParam

SetParam is Param Setter 入参

type TaobaoRdcAligeniusRefundsCheckAPIResponse

type TaobaoRdcAligeniusRefundsCheckAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusRefundsCheckAPIResponseModel
}

TaobaoRdcAligeniusRefundsCheckAPIResponse 退款信息审核 API返回值 taobao.rdc.aligenius.refunds.check

根据退款信息,对退款单进行审核

type TaobaoRdcAligeniusRefundsCheckAPIResponseModel

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

TaobaoRdcAligeniusRefundsCheckAPIResponseModel is 退款信息审核 成功返回结果

type TaobaoRdcAligeniusRefundsCheckResult

type TaobaoRdcAligeniusRefundsCheckResult struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorInfo
	ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoRdcAligeniusRefundsCheckResult 结构体

type TaobaoStreetestSessionGetAPIRequest

type TaobaoStreetestSessionGetAPIRequest struct {
	model.Params
}

TaobaoStreetestSessionGetAPIRequest 根据获取压测用户的sessionKey API请求 taobao.streetest.session.get

根据正常用户sessionKey获取对应压测用户的sessionKey,该sessionKey只能用户服务商全链路压测

func NewTaobaoStreetestSessionGetRequest

func NewTaobaoStreetestSessionGetRequest() *TaobaoStreetestSessionGetAPIRequest

NewTaobaoStreetestSessionGetRequest 初始化TaobaoStreetestSessionGetAPIRequest对象

func (TaobaoStreetestSessionGetAPIRequest) GetApiMethodName

func (r TaobaoStreetestSessionGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoStreetestSessionGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoStreetestSessionGetAPIRequest) GetRawParams added in v1.2.8

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

type TaobaoStreetestSessionGetAPIResponse

type TaobaoStreetestSessionGetAPIResponse struct {
	model.CommonResponse
	TaobaoStreetestSessionGetAPIResponseModel
}

TaobaoStreetestSessionGetAPIResponse 根据获取压测用户的sessionKey API返回值 taobao.streetest.session.get

根据正常用户sessionKey获取对应压测用户的sessionKey,该sessionKey只能用户服务商全链路压测

type TaobaoStreetestSessionGetAPIResponseModel

type TaobaoStreetestSessionGetAPIResponseModel struct {
	XMLName xml.Name `xml:"streetest_session_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 压测账号对应的sessionKey
	StreeTestSessionKey string `json:"stree_test_session_key,omitempty" xml:"stree_test_session_key,omitempty"`
}

TaobaoStreetestSessionGetAPIResponseModel is 根据获取压测用户的sessionKey 成功返回结果

type TaobaoSubwayCrowdDmpCrowdBindAPIRequest added in v1.2.5

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

TaobaoSubwayCrowdDmpCrowdBindAPIRequest 直通车绑定达摩盘人群 API请求 taobao.subway.crowd.dmp.crowd.bind

直通车绑定达摩盘人群

func NewTaobaoSubwayCrowdDmpCrowdBindRequest added in v1.2.5

func NewTaobaoSubwayCrowdDmpCrowdBindRequest() *TaobaoSubwayCrowdDmpCrowdBindAPIRequest

NewTaobaoSubwayCrowdDmpCrowdBindRequest 初始化TaobaoSubwayCrowdDmpCrowdBindAPIRequest对象

func (TaobaoSubwayCrowdDmpCrowdBindAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoSubwayCrowdDmpCrowdBindAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSubwayCrowdDmpCrowdBindAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSubwayCrowdDmpCrowdBindAPIRequest) GetCrowdRefDTOs added in v1.2.5

GetCrowdRefDTOs CrowdRefDTOs Getter

func (TaobaoSubwayCrowdDmpCrowdBindAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSubwayCrowdDmpCrowdBindAPIRequest) SetCrowdRefDTOs added in v1.2.5

func (r *TaobaoSubwayCrowdDmpCrowdBindAPIRequest) SetCrowdRefDTOs(_crowdRefDTOs *CrowdRefTopDto) error

SetCrowdRefDTOs is CrowdRefDTOs Setter 需要绑定的人群列表, 达摩盘人群一次最多绑定8个,平台精选人群一次最多绑定10个

type TaobaoSubwayCrowdDmpCrowdBindAPIResponse added in v1.2.5

type TaobaoSubwayCrowdDmpCrowdBindAPIResponse struct {
	model.CommonResponse
	TaobaoSubwayCrowdDmpCrowdBindAPIResponseModel
}

TaobaoSubwayCrowdDmpCrowdBindAPIResponse 直通车绑定达摩盘人群 API返回值 taobao.subway.crowd.dmp.crowd.bind

直通车绑定达摩盘人群

type TaobaoSubwayCrowdDmpCrowdBindAPIResponseModel added in v1.2.5

type TaobaoSubwayCrowdDmpCrowdBindAPIResponseModel struct {
	XMLName xml.Name `xml:"subway_crowd_dmp_crowd_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 绑定结果数据
	Result []CrowdBindTopResultDto `json:"result,omitempty" xml:"result>crowd_bind_top_result_dto,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	ResultCode *ResultCode `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

TaobaoSubwayCrowdDmpCrowdBindAPIResponseModel is 直通车绑定达摩盘人群 成功返回结果

type TaobaoTimeGetAPIRequest

type TaobaoTimeGetAPIRequest struct {
	model.Params
}

TaobaoTimeGetAPIRequest 获取淘宝系统当前时间 API请求 taobao.time.get

获取淘宝系统当前时间

func NewTaobaoTimeGetRequest

func NewTaobaoTimeGetRequest() *TaobaoTimeGetAPIRequest

NewTaobaoTimeGetRequest 初始化TaobaoTimeGetAPIRequest对象

func (TaobaoTimeGetAPIRequest) GetApiMethodName

func (r TaobaoTimeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTimeGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTimeGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTimeGetAPIRequest) GetRawParams() model.Params

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

type TaobaoTimeGetAPIResponse

type TaobaoTimeGetAPIResponse struct {
	model.CommonResponse
	TaobaoTimeGetAPIResponseModel
}

TaobaoTimeGetAPIResponse 获取淘宝系统当前时间 API返回值 taobao.time.get

获取淘宝系统当前时间

type TaobaoTimeGetAPIResponseModel

type TaobaoTimeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"time_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 淘宝系统当前时间。格式:yyyy-MM-dd HH:mm:ss
	Time string `json:"time,omitempty" xml:"time,omitempty"`
}

TaobaoTimeGetAPIResponseModel is 获取淘宝系统当前时间 成功返回结果

type TaobaoTmcAuthGetAPIRequest

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

TaobaoTmcAuthGetAPIRequest TMC授权token API请求 taobao.tmc.auth.get

TMC连接授权Token

func NewTaobaoTmcAuthGetRequest

func NewTaobaoTmcAuthGetRequest() *TaobaoTmcAuthGetAPIRequest

NewTaobaoTmcAuthGetRequest 初始化TaobaoTmcAuthGetAPIRequest对象

func (TaobaoTmcAuthGetAPIRequest) GetApiMethodName

func (r TaobaoTmcAuthGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTmcAuthGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTmcAuthGetAPIRequest) GetGroup

func (r TaobaoTmcAuthGetAPIRequest) GetGroup() string

GetGroup Group Getter

func (TaobaoTmcAuthGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTmcAuthGetAPIRequest) GetRawParams() model.Params

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

func (*TaobaoTmcAuthGetAPIRequest) SetGroup

func (r *TaobaoTmcAuthGetAPIRequest) SetGroup(_group string) error

SetGroup is Group Setter tmc组名

type TaobaoTmcAuthGetAPIResponse

type TaobaoTmcAuthGetAPIResponse struct {
	model.CommonResponse
	TaobaoTmcAuthGetAPIResponseModel
}

TaobaoTmcAuthGetAPIResponse TMC授权token API返回值 taobao.tmc.auth.get

TMC连接授权Token

type TaobaoTmcAuthGetAPIResponseModel

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

TaobaoTmcAuthGetAPIResponseModel is TMC授权token 成功返回结果

type TaobaoTopAuthTokenCreateAPIRequest

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

TaobaoTopAuthTokenCreateAPIRequest 获取Access Token API请求 taobao.top.auth.token.create

用户通过code换获取access_token,https only

func NewTaobaoTopAuthTokenCreateRequest

func NewTaobaoTopAuthTokenCreateRequest() *TaobaoTopAuthTokenCreateAPIRequest

NewTaobaoTopAuthTokenCreateRequest 初始化TaobaoTopAuthTokenCreateAPIRequest对象

func (TaobaoTopAuthTokenCreateAPIRequest) GetApiMethodName

func (r TaobaoTopAuthTokenCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopAuthTokenCreateAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopAuthTokenCreateAPIRequest) GetCode

GetCode Code Getter

func (TaobaoTopAuthTokenCreateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTopAuthTokenCreateAPIRequest) GetUuid

GetUuid Uuid Getter

func (*TaobaoTopAuthTokenCreateAPIRequest) SetCode

SetCode is Code Setter 授权code,grantType==authorization_code 时需要

func (*TaobaoTopAuthTokenCreateAPIRequest) SetUuid

SetUuid is Uuid Setter 与生成code的uuid配对

type TaobaoTopAuthTokenCreateAPIResponse

type TaobaoTopAuthTokenCreateAPIResponse struct {
	model.CommonResponse
	TaobaoTopAuthTokenCreateAPIResponseModel
}

TaobaoTopAuthTokenCreateAPIResponse 获取Access Token API返回值 taobao.top.auth.token.create

用户通过code换获取access_token,https only

type TaobaoTopAuthTokenCreateAPIResponseModel

type TaobaoTopAuthTokenCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"top_auth_token_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的是json信息,和之前调用https://oauth.taobao.com/tac/token https://oauth.alibaba.com/token 换token返回的字段信息一致
	TokenResult string `json:"token_result,omitempty" xml:"token_result,omitempty"`
}

TaobaoTopAuthTokenCreateAPIResponseModel is 获取Access Token 成功返回结果

type TaobaoTopAuthTokenRefreshAPIRequest

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

TaobaoTopAuthTokenRefreshAPIRequest 刷新Access Token API请求 taobao.top.auth.token.refresh

根据refresh_token重新生成token,目前只有服务市场订购类应用可以刷新token,其他类型应用(如商家后台)使用固定时长token,不提供刷新功能。

func NewTaobaoTopAuthTokenRefreshRequest

func NewTaobaoTopAuthTokenRefreshRequest() *TaobaoTopAuthTokenRefreshAPIRequest

NewTaobaoTopAuthTokenRefreshRequest 初始化TaobaoTopAuthTokenRefreshAPIRequest对象

func (TaobaoTopAuthTokenRefreshAPIRequest) GetApiMethodName

func (r TaobaoTopAuthTokenRefreshAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopAuthTokenRefreshAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopAuthTokenRefreshAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTopAuthTokenRefreshAPIRequest) GetRefreshToken

func (r TaobaoTopAuthTokenRefreshAPIRequest) GetRefreshToken() string

GetRefreshToken RefreshToken Getter

func (*TaobaoTopAuthTokenRefreshAPIRequest) SetRefreshToken

func (r *TaobaoTopAuthTokenRefreshAPIRequest) SetRefreshToken(_refreshToken string) error

SetRefreshToken is RefreshToken Setter grantType==refresh_token 时需要

type TaobaoTopAuthTokenRefreshAPIResponse

type TaobaoTopAuthTokenRefreshAPIResponse struct {
	model.CommonResponse
	TaobaoTopAuthTokenRefreshAPIResponseModel
}

TaobaoTopAuthTokenRefreshAPIResponse 刷新Access Token API返回值 taobao.top.auth.token.refresh

根据refresh_token重新生成token,目前只有服务市场订购类应用可以刷新token,其他类型应用(如商家后台)使用固定时长token,不提供刷新功能。

type TaobaoTopAuthTokenRefreshAPIResponseModel

type TaobaoTopAuthTokenRefreshAPIResponseModel struct {
	XMLName xml.Name `xml:"top_auth_token_refresh_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的是json信息
	TokenResult string `json:"token_result,omitempty" xml:"token_result,omitempty"`
}

TaobaoTopAuthTokenRefreshAPIResponseModel is 刷新Access Token 成功返回结果

type TaobaoTopConnectorEventPublishAPIRequest added in v1.2.8

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

TaobaoTopConnectorEventPublishAPIRequest 连接器事件发布 API请求 taobao.top.connector.event.publish

连接器事件发布

func NewTaobaoTopConnectorEventPublishRequest added in v1.2.8

func NewTaobaoTopConnectorEventPublishRequest() *TaobaoTopConnectorEventPublishAPIRequest

NewTaobaoTopConnectorEventPublishRequest 初始化TaobaoTopConnectorEventPublishAPIRequest对象

func (TaobaoTopConnectorEventPublishAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoTopConnectorEventPublishAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopConnectorEventPublishAPIRequest) GetApiParams added in v1.2.8

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopConnectorEventPublishAPIRequest) GetEntryList added in v1.2.8

GetEntryList EntryList Getter

func (TaobaoTopConnectorEventPublishAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoTopConnectorEventPublishAPIRequest) SetEntryList added in v1.2.8

SetEntryList is EntryList Setter 发布事件列表

type TaobaoTopConnectorEventPublishAPIResponse added in v1.2.8

type TaobaoTopConnectorEventPublishAPIResponse struct {
	model.CommonResponse
	TaobaoTopConnectorEventPublishAPIResponseModel
}

TaobaoTopConnectorEventPublishAPIResponse 连接器事件发布 API返回值 taobao.top.connector.event.publish

连接器事件发布

type TaobaoTopConnectorEventPublishAPIResponseModel added in v1.2.8

type TaobaoTopConnectorEventPublishAPIResponseModel struct {
	XMLName xml.Name `xml:"top_connector_event_publish_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 发布事件响应
	Result *EventPublishThirdPartyResponse `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTopConnectorEventPublishAPIResponseModel is 连接器事件发布 成功返回结果

type TaobaoTopEventPublishAPIRequest added in v1.2.9

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

TaobaoTopEventPublishAPIRequest 同步事件发布 API请求 taobao.top.event.publish

同步事件发布

func NewTaobaoTopEventPublishRequest added in v1.2.9

func NewTaobaoTopEventPublishRequest() *TaobaoTopEventPublishAPIRequest

NewTaobaoTopEventPublishRequest 初始化TaobaoTopEventPublishAPIRequest对象

func (TaobaoTopEventPublishAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoTopEventPublishAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopEventPublishAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopEventPublishAPIRequest) GetContent added in v1.2.9

func (r TaobaoTopEventPublishAPIRequest) GetContent() string

GetContent Content Getter

func (TaobaoTopEventPublishAPIRequest) GetRawParams added in v1.2.9

func (r TaobaoTopEventPublishAPIRequest) GetRawParams() model.Params

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

func (TaobaoTopEventPublishAPIRequest) GetTriggerCode added in v1.2.9

func (r TaobaoTopEventPublishAPIRequest) GetTriggerCode() string

GetTriggerCode TriggerCode Getter

func (*TaobaoTopEventPublishAPIRequest) SetContent added in v1.2.9

func (r *TaobaoTopEventPublishAPIRequest) SetContent(_content string) error

SetContent is Content Setter 事件内容

func (*TaobaoTopEventPublishAPIRequest) SetTriggerCode added in v1.2.9

func (r *TaobaoTopEventPublishAPIRequest) SetTriggerCode(_triggerCode string) error

SetTriggerCode is TriggerCode Setter 事件编码

type TaobaoTopEventPublishAPIResponse added in v1.2.9

type TaobaoTopEventPublishAPIResponse struct {
	model.CommonResponse
	TaobaoTopEventPublishAPIResponseModel
}

TaobaoTopEventPublishAPIResponse 同步事件发布 API返回值 taobao.top.event.publish

同步事件发布

type TaobaoTopEventPublishAPIResponseModel added in v1.2.9

type TaobaoTopEventPublishAPIResponseModel struct {
	XMLName xml.Name `xml:"top_event_publish_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 事件返回值
	Data *EventPublishResponse `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTopEventPublishAPIResponseModel is 同步事件发布 成功返回结果

type TaobaoTopEventSubscriptionQueryAPIRequest added in v1.2.9

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

TaobaoTopEventSubscriptionQueryAPIRequest 三方事件订阅查询 API请求 taobao.top.event.subscription.query

三方事件订阅查询

func NewTaobaoTopEventSubscriptionQueryRequest added in v1.2.9

func NewTaobaoTopEventSubscriptionQueryRequest() *TaobaoTopEventSubscriptionQueryAPIRequest

NewTaobaoTopEventSubscriptionQueryRequest 初始化TaobaoTopEventSubscriptionQueryAPIRequest对象

func (TaobaoTopEventSubscriptionQueryAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopEventSubscriptionQueryAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopEventSubscriptionQueryAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoTopEventSubscriptionQueryAPIRequest) GetTriggerCode added in v1.2.9

GetTriggerCode TriggerCode Getter

func (*TaobaoTopEventSubscriptionQueryAPIRequest) SetTriggerCode added in v1.2.9

func (r *TaobaoTopEventSubscriptionQueryAPIRequest) SetTriggerCode(_triggerCode string) error

SetTriggerCode is TriggerCode Setter 连接平台触发事件TriggerCode

type TaobaoTopEventSubscriptionQueryAPIResponse added in v1.2.9

type TaobaoTopEventSubscriptionQueryAPIResponse struct {
	model.CommonResponse
	TaobaoTopEventSubscriptionQueryAPIResponseModel
}

TaobaoTopEventSubscriptionQueryAPIResponse 三方事件订阅查询 API返回值 taobao.top.event.subscription.query

三方事件订阅查询

type TaobaoTopEventSubscriptionQueryAPIResponseModel added in v1.2.9

type TaobaoTopEventSubscriptionQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"top_event_subscription_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否订阅服务
	StartService bool `json:"start_service,omitempty" xml:"start_service,omitempty"`
}

TaobaoTopEventSubscriptionQueryAPIResponseModel is 三方事件订阅查询 成功返回结果

type TaobaoTopIpoutGetAPIRequest

type TaobaoTopIpoutGetAPIRequest struct {
	model.Params
}

TaobaoTopIpoutGetAPIRequest 获取开放平台出口IP段 API请求 taobao.top.ipout.get

获取开放平台出口IP段

func NewTaobaoTopIpoutGetRequest

func NewTaobaoTopIpoutGetRequest() *TaobaoTopIpoutGetAPIRequest

NewTaobaoTopIpoutGetRequest 初始化TaobaoTopIpoutGetAPIRequest对象

func (TaobaoTopIpoutGetAPIRequest) GetApiMethodName

func (r TaobaoTopIpoutGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopIpoutGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopIpoutGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTopIpoutGetAPIRequest) GetRawParams() model.Params

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

type TaobaoTopIpoutGetAPIResponse

type TaobaoTopIpoutGetAPIResponse struct {
	model.CommonResponse
	TaobaoTopIpoutGetAPIResponseModel
}

TaobaoTopIpoutGetAPIResponse 获取开放平台出口IP段 API返回值 taobao.top.ipout.get

获取开放平台出口IP段

type TaobaoTopIpoutGetAPIResponseModel

type TaobaoTopIpoutGetAPIResponseModel struct {
	XMLName xml.Name `xml:"top_ipout_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// TOP网关出口IP列表
	IpList string `json:"ip_list,omitempty" xml:"ip_list,omitempty"`
}

TaobaoTopIpoutGetAPIResponseModel is 获取开放平台出口IP段 成功返回结果

type TaobaoTopOpenidConvertAPIRequest

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

TaobaoTopOpenidConvertAPIRequest 混淆nick转openid API请求 taobao.top.openid.convert

混淆nick转openid,生成混淆nick必须与当前请求的isv匹配

func NewTaobaoTopOpenidConvertRequest

func NewTaobaoTopOpenidConvertRequest() *TaobaoTopOpenidConvertAPIRequest

NewTaobaoTopOpenidConvertRequest 初始化TaobaoTopOpenidConvertAPIRequest对象

func (TaobaoTopOpenidConvertAPIRequest) GetApiMethodName

func (r TaobaoTopOpenidConvertAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopOpenidConvertAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopOpenidConvertAPIRequest) GetMixNick

GetMixNick MixNick Getter

func (TaobaoTopOpenidConvertAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoTopOpenidConvertAPIRequest) SetMixNick

func (r *TaobaoTopOpenidConvertAPIRequest) SetMixNick(_mixNick string) error

SetMixNick is MixNick Setter 混淆nick转open_id

type TaobaoTopOpenidConvertAPIResponse

type TaobaoTopOpenidConvertAPIResponse struct {
	model.CommonResponse
	TaobaoTopOpenidConvertAPIResponseModel
}

TaobaoTopOpenidConvertAPIResponse 混淆nick转openid API返回值 taobao.top.openid.convert

混淆nick转openid,生成混淆nick必须与当前请求的isv匹配

type TaobaoTopOpenidConvertAPIResponseModel

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

TaobaoTopOpenidConvertAPIResponseModel is 混淆nick转openid 成功返回结果

type TaobaoTopSdkFeedbackUploadAPIRequest

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

TaobaoTopSdkFeedbackUploadAPIRequest sdk信息回调 API请求 taobao.top.sdk.feedback.upload

sdk回调客户端基本信息到开放平台,用于做监控之类,有助于帮助isv监控系统稳定性

func NewTaobaoTopSdkFeedbackUploadRequest

func NewTaobaoTopSdkFeedbackUploadRequest() *TaobaoTopSdkFeedbackUploadAPIRequest

NewTaobaoTopSdkFeedbackUploadRequest 初始化TaobaoTopSdkFeedbackUploadAPIRequest对象

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetApiMethodName

func (r TaobaoTopSdkFeedbackUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetContent

GetContent Content Getter

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetType

GetType Type Getter

func (*TaobaoTopSdkFeedbackUploadAPIRequest) SetContent

func (r *TaobaoTopSdkFeedbackUploadAPIRequest) SetContent(_content string) error

SetContent is Content Setter 具体内容,json形式

func (*TaobaoTopSdkFeedbackUploadAPIRequest) SetType

SetType is Type Setter 1、回传加密信息

type TaobaoTopSdkFeedbackUploadAPIResponse

type TaobaoTopSdkFeedbackUploadAPIResponse struct {
	model.CommonResponse
	TaobaoTopSdkFeedbackUploadAPIResponseModel
}

TaobaoTopSdkFeedbackUploadAPIResponse sdk信息回调 API返回值 taobao.top.sdk.feedback.upload

sdk回调客户端基本信息到开放平台,用于做监控之类,有助于帮助isv监控系统稳定性

type TaobaoTopSdkFeedbackUploadAPIResponseModel

type TaobaoTopSdkFeedbackUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"top_sdk_feedback_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 控制回传间隔(单位:秒)
	UploadInterval int64 `json:"upload_interval,omitempty" xml:"upload_interval,omitempty"`
}

TaobaoTopSdkFeedbackUploadAPIResponseModel is sdk信息回调 成功返回结果

type TaobaoTopSecretGetAPIRequest

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

TaobaoTopSecretGetAPIRequest 获取TOP通道解密秘钥 API请求 taobao.top.secret.get

top sdk通过api获取对应解密秘钥

func NewTaobaoTopSecretGetRequest

func NewTaobaoTopSecretGetRequest() *TaobaoTopSecretGetAPIRequest

NewTaobaoTopSecretGetRequest 初始化TaobaoTopSecretGetAPIRequest对象

func (TaobaoTopSecretGetAPIRequest) GetApiMethodName

func (r TaobaoTopSecretGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopSecretGetAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopSecretGetAPIRequest) GetCustomerUserId

func (r TaobaoTopSecretGetAPIRequest) GetCustomerUserId() int64

GetCustomerUserId CustomerUserId Getter

func (TaobaoTopSecretGetAPIRequest) GetRandomNum

func (r TaobaoTopSecretGetAPIRequest) GetRandomNum() string

GetRandomNum RandomNum Getter

func (TaobaoTopSecretGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTopSecretGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoTopSecretGetAPIRequest) GetSecretVersion

func (r TaobaoTopSecretGetAPIRequest) GetSecretVersion() int64

GetSecretVersion SecretVersion Getter

func (*TaobaoTopSecretGetAPIRequest) SetCustomerUserId

func (r *TaobaoTopSecretGetAPIRequest) SetCustomerUserId(_customerUserId int64) error

SetCustomerUserId is CustomerUserId Setter 自定义用户id

func (*TaobaoTopSecretGetAPIRequest) SetRandomNum

func (r *TaobaoTopSecretGetAPIRequest) SetRandomNum(_randomNum string) error

SetRandomNum is RandomNum Setter 伪随机数

func (*TaobaoTopSecretGetAPIRequest) SetSecretVersion

func (r *TaobaoTopSecretGetAPIRequest) SetSecretVersion(_secretVersion int64) error

SetSecretVersion is SecretVersion Setter 秘钥版本号

type TaobaoTopSecretGetAPIResponse

type TaobaoTopSecretGetAPIResponse struct {
	model.CommonResponse
	TaobaoTopSecretGetAPIResponseModel
}

TaobaoTopSecretGetAPIResponse 获取TOP通道解密秘钥 API返回值 taobao.top.secret.get

top sdk通过api获取对应解密秘钥

type TaobaoTopSecretGetAPIResponseModel

type TaobaoTopSecretGetAPIResponseModel struct {
	XMLName xml.Name `xml:"top_secret_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 秘钥值
	Secret string `json:"secret,omitempty" xml:"secret,omitempty"`
	// app配置信息
	AppConfig string `json:"app_config,omitempty" xml:"app_config,omitempty"`
	// 下次更新秘钥间隔,单位(秒)
	Interval int64 `json:"interval,omitempty" xml:"interval,omitempty"`
	// 最长有效期,容灾使用,单位(秒)
	MaxInterval int64 `json:"max_interval,omitempty" xml:"max_interval,omitempty"`
	// 秘钥版本号
	SecretVersion int64 `json:"secret_version,omitempty" xml:"secret_version,omitempty"`
}

TaobaoTopSecretGetAPIResponseModel is 获取TOP通道解密秘钥 成功返回结果

type TaobaoTopSecretRegisterAPIRequest

type TaobaoTopSecretRegisterAPIRequest struct {
	model.Params
}

TaobaoTopSecretRegisterAPIRequest 注册加密账号 API请求 taobao.top.secret.register

提供给isv注册非淘系账号秘钥,isv依赖sdk自主加、解密

func NewTaobaoTopSecretRegisterRequest

func NewTaobaoTopSecretRegisterRequest() *TaobaoTopSecretRegisterAPIRequest

NewTaobaoTopSecretRegisterRequest 初始化TaobaoTopSecretRegisterAPIRequest对象

func (TaobaoTopSecretRegisterAPIRequest) GetApiMethodName

func (r TaobaoTopSecretRegisterAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopSecretRegisterAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopSecretRegisterAPIRequest) GetRawParams added in v1.2.8

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

type TaobaoTopSecretRegisterAPIResponse

type TaobaoTopSecretRegisterAPIResponse struct {
	model.CommonResponse
	TaobaoTopSecretRegisterAPIResponseModel
}

TaobaoTopSecretRegisterAPIResponse 注册加密账号 API返回值 taobao.top.secret.register

提供给isv注册非淘系账号秘钥,isv依赖sdk自主加、解密

type TaobaoTopSecretRegisterAPIResponseModel

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

TaobaoTopSecretRegisterAPIResponseModel is 注册加密账号 成功返回结果

type TaobaoWirelessContentCheckAPIRequest

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

TaobaoWirelessContentCheckAPIRequest 无线开放内容检查 API请求 taobao.wireless.content.check

无线开放内容检查,提供涉黄暴力政治文本检查。更详情介绍见 <a href="https://help.aliyun.com/document_detail/70439.html" target="blank">阿里云内容安全</a>

func NewTaobaoWirelessContentCheckRequest

func NewTaobaoWirelessContentCheckRequest() *TaobaoWirelessContentCheckAPIRequest

NewTaobaoWirelessContentCheckRequest 初始化TaobaoWirelessContentCheckAPIRequest对象

func (TaobaoWirelessContentCheckAPIRequest) GetApiMethodName

func (r TaobaoWirelessContentCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWirelessContentCheckAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWirelessContentCheckAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoWirelessContentCheckAPIRequest) GetText

GetText Text Getter

func (*TaobaoWirelessContentCheckAPIRequest) SetText

SetText is Text Setter 待检查的文本

type TaobaoWirelessContentCheckAPIResponse

type TaobaoWirelessContentCheckAPIResponse struct {
	model.CommonResponse
	TaobaoWirelessContentCheckAPIResponseModel
}

TaobaoWirelessContentCheckAPIResponse 无线开放内容检查 API返回值 taobao.wireless.content.check

无线开放内容检查,提供涉黄暴力政治文本检查。更详情介绍见 <a href="https://help.aliyun.com/document_detail/70439.html" target="blank">阿里云内容安全</a>

type TaobaoWirelessContentCheckAPIResponseModel

type TaobaoWirelessContentCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"wireless_content_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 检查结果
	CheckResults []Checkpoints `json:"check_results,omitempty" xml:"check_results>checkpoints,omitempty"`
	// 综合结果建议。建议用户执行的操作,取值范围: pass:文本正常; review:需要人工审核; block:文本违规,可以直接删除或者做限制处理
	Suggestion string `json:"suggestion,omitempty" xml:"suggestion,omitempty"`
}

TaobaoWirelessContentCheckAPIResponseModel is 无线开放内容检查 成功返回结果

type TaobaoWirelessPictureCheckAPIRequest

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

TaobaoWirelessPictureCheckAPIRequest 无线开放图片内容安全检查 API请求 taobao.wireless.picture.check

无线开放内容检查,提供涉黄暴力政治图片检查。更详情介绍见 <a href="https://help.aliyun.com/document_detail/70292.html" target="blank">阿里云内容安全</a> 此API会进行两个场景审核,平均RT为1s。

func NewTaobaoWirelessPictureCheckRequest

func NewTaobaoWirelessPictureCheckRequest() *TaobaoWirelessPictureCheckAPIRequest

NewTaobaoWirelessPictureCheckRequest 初始化TaobaoWirelessPictureCheckAPIRequest对象

func (TaobaoWirelessPictureCheckAPIRequest) GetApiMethodName

func (r TaobaoWirelessPictureCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWirelessPictureCheckAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWirelessPictureCheckAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoWirelessPictureCheckAPIRequest) GetUrl

GetUrl Url Getter

func (*TaobaoWirelessPictureCheckAPIRequest) SetUrl

SetUrl is Url Setter 图片的URL,URL必须为淘系安全域名地址。图片格式支持png,jpg,webp

type TaobaoWirelessPictureCheckAPIResponse

type TaobaoWirelessPictureCheckAPIResponse struct {
	model.CommonResponse
	TaobaoWirelessPictureCheckAPIResponseModel
}

TaobaoWirelessPictureCheckAPIResponse 无线开放图片内容安全检查 API返回值 taobao.wireless.picture.check

无线开放内容检查,提供涉黄暴力政治图片检查。更详情介绍见 <a href="https://help.aliyun.com/document_detail/70292.html" target="blank">阿里云内容安全</a> 此API会进行两个场景审核,平均RT为1s。

type TaobaoWirelessPictureCheckAPIResponseModel

type TaobaoWirelessPictureCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"wireless_picture_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 检查结果
	CheckResults []Checkpoints `json:"check_results,omitempty" xml:"check_results>checkpoints,omitempty"`
	// 综合结果建议。建议用户执行的操作,取值范围: pass:文本正常; review:需要人工审核; block:文本违规,可以直接删除或者做限制处理
	Suggestion string `json:"suggestion,omitempty" xml:"suggestion,omitempty"`
}

TaobaoWirelessPictureCheckAPIResponseModel is 无线开放图片内容安全检查 成功返回结果

type TopDownloadRecordDo

type TopDownloadRecordDo struct {
	// 下载链接
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 文件创建时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 下载链接状态。1:未下载。2:已下载
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

TopDownloadRecordDo 结构体

type UploadRequest added in v1.2.9

type UploadRequest struct {
	// 图片url,image_data和image_url二选一
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 123.jpg
	ImageTitle string `json:"image_title,omitempty" xml:"image_title,omitempty"`
	// 用户id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// tu业务线图片上传文件夹id,填0上传到根目录
	DirIdForTu int64 `json:"dir_id_for_tu,omitempty" xml:"dir_id_for_tu,omitempty"`
	// qnaigc业务线图片上传文件夹id,填0上传到根目录
	DirIdForQnaigc int64 `json:"dir_id_for_qnaigc,omitempty" xml:"dir_id_for_qnaigc,omitempty"`
	// 图片字节列表,image_data和image_url二选一
	ImageData *model.File `json:"image_data,omitempty" xml:"image_data,omitempty"`
}

UploadRequest 结构体

type WdkRexoutDeviceInfoGetAPIRequest added in v1.2.5

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

WdkRexoutDeviceInfoGetAPIRequest 获取设备详情-外部对接 API请求 wdk.rexout.device.info.get

获取设备详情-外部对接

func NewWdkRexoutDeviceInfoGetRequest added in v1.2.5

func NewWdkRexoutDeviceInfoGetRequest() *WdkRexoutDeviceInfoGetAPIRequest

NewWdkRexoutDeviceInfoGetRequest 初始化WdkRexoutDeviceInfoGetAPIRequest对象

func (WdkRexoutDeviceInfoGetAPIRequest) GetAccessKey added in v1.2.5

func (r WdkRexoutDeviceInfoGetAPIRequest) GetAccessKey() string

GetAccessKey AccessKey Getter

func (WdkRexoutDeviceInfoGetAPIRequest) GetAccessSign added in v1.2.5

func (r WdkRexoutDeviceInfoGetAPIRequest) GetAccessSign() string

GetAccessSign AccessSign Getter

func (WdkRexoutDeviceInfoGetAPIRequest) GetApiMethodName added in v1.2.5

func (r WdkRexoutDeviceInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (WdkRexoutDeviceInfoGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (WdkRexoutDeviceInfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (WdkRexoutDeviceInfoGetAPIRequest) GetUuid added in v1.2.5

GetUuid Uuid Getter

func (*WdkRexoutDeviceInfoGetAPIRequest) SetAccessKey added in v1.2.5

func (r *WdkRexoutDeviceInfoGetAPIRequest) SetAccessKey(_accessKey string) error

SetAccessKey is AccessKey Setter ak

func (*WdkRexoutDeviceInfoGetAPIRequest) SetAccessSign added in v1.2.5

func (r *WdkRexoutDeviceInfoGetAPIRequest) SetAccessSign(_accessSign string) error

SetAccessSign is AccessSign Setter 签名

func (*WdkRexoutDeviceInfoGetAPIRequest) SetUuid added in v1.2.5

func (r *WdkRexoutDeviceInfoGetAPIRequest) SetUuid(_uuid string) error

SetUuid is Uuid Setter 设备ID

type WdkRexoutDeviceInfoGetAPIResponse added in v1.2.5

type WdkRexoutDeviceInfoGetAPIResponse struct {
	model.CommonResponse
	WdkRexoutDeviceInfoGetAPIResponseModel
}

WdkRexoutDeviceInfoGetAPIResponse 获取设备详情-外部对接 API返回值 wdk.rexout.device.info.get

获取设备详情-外部对接

type WdkRexoutDeviceInfoGetAPIResponseModel added in v1.2.5

type WdkRexoutDeviceInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"wdk_rexout_device_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 设备详情
	Data *AiotTopOpenDeviceDto `json:"data,omitempty" xml:"data,omitempty"`
	// 结果是否成功
	Succeed bool `json:"succeed,omitempty" xml:"succeed,omitempty"`
}

WdkRexoutDeviceInfoGetAPIResponseModel is 获取设备详情-外部对接 成功返回结果

type WdkRexoutDeviceIotRegisteridAPIRequest added in v1.2.5

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

WdkRexoutDeviceIotRegisteridAPIRequest 通过设备ID获取三元组-外部 API请求 wdk.rexout.device.iot.registerid

通过设备ID获取三元组-外部

func NewWdkRexoutDeviceIotRegisteridRequest added in v1.2.5

func NewWdkRexoutDeviceIotRegisteridRequest() *WdkRexoutDeviceIotRegisteridAPIRequest

NewWdkRexoutDeviceIotRegisteridRequest 初始化WdkRexoutDeviceIotRegisteridAPIRequest对象

func (WdkRexoutDeviceIotRegisteridAPIRequest) GetAccessKey added in v1.2.5

GetAccessKey AccessKey Getter

func (WdkRexoutDeviceIotRegisteridAPIRequest) GetAccessSign added in v1.2.5

GetAccessSign AccessSign Getter

func (WdkRexoutDeviceIotRegisteridAPIRequest) GetAccessTime added in v1.2.5

GetAccessTime AccessTime Getter

func (WdkRexoutDeviceIotRegisteridAPIRequest) GetApiMethodName added in v1.2.5

func (r WdkRexoutDeviceIotRegisteridAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (WdkRexoutDeviceIotRegisteridAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (WdkRexoutDeviceIotRegisteridAPIRequest) GetRawParams added in v1.2.8

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

func (WdkRexoutDeviceIotRegisteridAPIRequest) GetUuid added in v1.2.5

GetUuid Uuid Getter

func (*WdkRexoutDeviceIotRegisteridAPIRequest) SetAccessKey added in v1.2.5

func (r *WdkRexoutDeviceIotRegisteridAPIRequest) SetAccessKey(_accessKey string) error

SetAccessKey is AccessKey Setter 平台key

func (*WdkRexoutDeviceIotRegisteridAPIRequest) SetAccessSign added in v1.2.5

func (r *WdkRexoutDeviceIotRegisteridAPIRequest) SetAccessSign(_accessSign string) error

SetAccessSign is AccessSign Setter 平台签名

func (*WdkRexoutDeviceIotRegisteridAPIRequest) SetAccessTime added in v1.2.5

func (r *WdkRexoutDeviceIotRegisteridAPIRequest) SetAccessTime(_accessTime string) error

SetAccessTime is AccessTime Setter 签名时间戳,毫秒,加密时使用时间加密则必传

func (*WdkRexoutDeviceIotRegisteridAPIRequest) SetUuid added in v1.2.5

SetUuid is Uuid Setter 设备ID

type WdkRexoutDeviceIotRegisteridAPIResponse added in v1.2.5

type WdkRexoutDeviceIotRegisteridAPIResponse struct {
	model.CommonResponse
	WdkRexoutDeviceIotRegisteridAPIResponseModel
}

WdkRexoutDeviceIotRegisteridAPIResponse 通过设备ID获取三元组-外部 API返回值 wdk.rexout.device.iot.registerid

通过设备ID获取三元组-外部

type WdkRexoutDeviceIotRegisteridAPIResponseModel added in v1.2.5

type WdkRexoutDeviceIotRegisteridAPIResponseModel struct {
	XMLName xml.Name `xml:"wdk_rexout_device_iot_registerid_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 数据
	Data *IotRegisterResult `json:"data,omitempty" xml:"data,omitempty"`
	// 结果
	Succeed bool `json:"succeed,omitempty" xml:"succeed,omitempty"`
}

WdkRexoutDeviceIotRegisteridAPIResponseModel is 通过设备ID获取三元组-外部 成功返回结果

type WdkRexoutResourceListCheckAPIRequest added in v1.2.5

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

WdkRexoutResourceListCheckAPIRequest ReX应用中心资源更新检测-外部 API请求 wdk.rexout.resource.list.check

ReX应用中心资源更新检测-外部

func NewWdkRexoutResourceListCheckRequest added in v1.2.5

func NewWdkRexoutResourceListCheckRequest() *WdkRexoutResourceListCheckAPIRequest

NewWdkRexoutResourceListCheckRequest 初始化WdkRexoutResourceListCheckAPIRequest对象

func (WdkRexoutResourceListCheckAPIRequest) GetApiMethodName added in v1.2.5

func (r WdkRexoutResourceListCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (WdkRexoutResourceListCheckAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (WdkRexoutResourceListCheckAPIRequest) GetAttributes added in v1.2.5

func (r WdkRexoutResourceListCheckAPIRequest) GetAttributes() string

GetAttributes Attributes Getter

func (WdkRexoutResourceListCheckAPIRequest) GetDeviceId added in v1.2.5

GetDeviceId DeviceId Getter

func (WdkRexoutResourceListCheckAPIRequest) GetDeviceType added in v1.2.5

func (r WdkRexoutResourceListCheckAPIRequest) GetDeviceType() string

GetDeviceType DeviceType Getter

func (WdkRexoutResourceListCheckAPIRequest) GetOldVersions added in v1.2.5

func (r WdkRexoutResourceListCheckAPIRequest) GetOldVersions() string

GetOldVersions OldVersions Getter

func (WdkRexoutResourceListCheckAPIRequest) GetOrgInfo added in v1.2.5

GetOrgInfo OrgInfo Getter

func (WdkRexoutResourceListCheckAPIRequest) GetPackageName added in v1.2.5

func (r WdkRexoutResourceListCheckAPIRequest) GetPackageName() string

GetPackageName PackageName Getter

func (WdkRexoutResourceListCheckAPIRequest) GetRawParams added in v1.2.8

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

func (WdkRexoutResourceListCheckAPIRequest) GetTenantId added in v1.2.5

GetTenantId TenantId Getter

func (WdkRexoutResourceListCheckAPIRequest) GetVersionCode added in v1.2.5

func (r WdkRexoutResourceListCheckAPIRequest) GetVersionCode() int64

GetVersionCode VersionCode Getter

func (*WdkRexoutResourceListCheckAPIRequest) SetAttributes added in v1.2.5

func (r *WdkRexoutResourceListCheckAPIRequest) SetAttributes(_attributes string) error

SetAttributes is Attributes Setter 自定义参数

func (*WdkRexoutResourceListCheckAPIRequest) SetDeviceId added in v1.2.5

func (r *WdkRexoutResourceListCheckAPIRequest) SetDeviceId(_deviceId string) error

SetDeviceId is DeviceId Setter 设备ID

func (*WdkRexoutResourceListCheckAPIRequest) SetDeviceType added in v1.2.5

func (r *WdkRexoutResourceListCheckAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 设备类型

func (*WdkRexoutResourceListCheckAPIRequest) SetOldVersions added in v1.2.5

func (r *WdkRexoutResourceListCheckAPIRequest) SetOldVersions(_oldVersions string) error

SetOldVersions is OldVersions Setter 旧版本资源信息

func (*WdkRexoutResourceListCheckAPIRequest) SetOrgInfo added in v1.2.5

func (r *WdkRexoutResourceListCheckAPIRequest) SetOrgInfo(_orgInfo string) error

SetOrgInfo is OrgInfo Setter 所属商家结构

func (*WdkRexoutResourceListCheckAPIRequest) SetPackageName added in v1.2.5

func (r *WdkRexoutResourceListCheckAPIRequest) SetPackageName(_packageName string) error

SetPackageName is PackageName Setter 主包名

func (*WdkRexoutResourceListCheckAPIRequest) SetTenantId added in v1.2.5

func (r *WdkRexoutResourceListCheckAPIRequest) SetTenantId(_tenantId int64) error

SetTenantId is TenantId Setter 租户ID

func (*WdkRexoutResourceListCheckAPIRequest) SetVersionCode added in v1.2.5

func (r *WdkRexoutResourceListCheckAPIRequest) SetVersionCode(_versionCode int64) error

SetVersionCode is VersionCode Setter 主包版本

type WdkRexoutResourceListCheckAPIResponse added in v1.2.5

type WdkRexoutResourceListCheckAPIResponse struct {
	model.CommonResponse
	WdkRexoutResourceListCheckAPIResponseModel
}

WdkRexoutResourceListCheckAPIResponse ReX应用中心资源更新检测-外部 API返回值 wdk.rexout.resource.list.check

ReX应用中心资源更新检测-外部

type WdkRexoutResourceListCheckAPIResponseModel added in v1.2.5

type WdkRexoutResourceListCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"wdk_rexout_resource_list_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 资源列表
	Data []Dto `json:"data,omitempty" xml:"data>dto,omitempty"`
	// 是否成功
	Succeed string `json:"succeed,omitempty" xml:"succeed,omitempty"`
	// 错误内容
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
}

WdkRexoutResourceListCheckAPIResponseModel is ReX应用中心资源更新检测-外部 成功返回结果

Source Files

Jump to

Keyboard shortcuts

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