util

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Overview

工具API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAisAssetsTagAbortAPIRequest

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

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

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

func NewAlibabaAisAssetsTagAbortRequest

func NewAlibabaAisAssetsTagAbortRequest() *AlibabaAisAssetsTagAbortAPIRequest

初始化AlibabaAisAssetsTagAbortAPIRequest对象

func (AlibabaAisAssetsTagAbortAPIRequest) GetApiMethodName

func (r AlibabaAisAssetsTagAbortAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAisAssetsTagAbortAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAisAssetsTagAbortAPIRequest) GetRequestParam

func (r AlibabaAisAssetsTagAbortAPIRequest) GetRequestParam() string

RequestParam Getter

func (*AlibabaAisAssetsTagAbortAPIRequest) SetRequestParam

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

RequestParam Setter 请求资产信息

type AlibabaAisAssetsTagAbortAPIResponse

type AlibabaAisAssetsTagAbortAPIResponse struct {
	model.CommonResponse
	AlibabaAisAssetsTagAbortAPIResponseModel
}

基础设施资产标签废弃 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"`
}

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

type AlibabaAisAssetsTagGenerateAPIRequest

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

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

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

func NewAlibabaAisAssetsTagGenerateRequest

func NewAlibabaAisAssetsTagGenerateRequest() *AlibabaAisAssetsTagGenerateAPIRequest

初始化AlibabaAisAssetsTagGenerateAPIRequest对象

func (AlibabaAisAssetsTagGenerateAPIRequest) GetApiMethodName

func (r AlibabaAisAssetsTagGenerateAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAisAssetsTagGenerateAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAisAssetsTagGenerateAPIRequest) GetRequestParam

func (r AlibabaAisAssetsTagGenerateAPIRequest) GetRequestParam() string

RequestParam Getter

func (*AlibabaAisAssetsTagGenerateAPIRequest) SetRequestParam

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

RequestParam Setter 请求资产信息

type AlibabaAisAssetsTagGenerateAPIResponse

type AlibabaAisAssetsTagGenerateAPIResponse struct {
	model.CommonResponse
	AlibabaAisAssetsTagGenerateAPIResponseModel
}

基础设施资产标签生成 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"`
}

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

type AlibabaAisAssetsTagGetAPIRequest

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

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

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

func NewAlibabaAisAssetsTagGetRequest

func NewAlibabaAisAssetsTagGetRequest() *AlibabaAisAssetsTagGetAPIRequest

初始化AlibabaAisAssetsTagGetAPIRequest对象

func (AlibabaAisAssetsTagGetAPIRequest) GetApiMethodName

func (r AlibabaAisAssetsTagGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAisAssetsTagGetAPIRequest) GetApiParams

func (r AlibabaAisAssetsTagGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaAisAssetsTagGetAPIRequest) GetUNonce

UNonce Getter

func (*AlibabaAisAssetsTagGetAPIRequest) SetUNonce

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

UNonce Setter 二维码生成唯一标识

type AlibabaAisAssetsTagGetAPIResponse

type AlibabaAisAssetsTagGetAPIResponse struct {
	model.CommonResponse
	AlibabaAisAssetsTagGetAPIResponseModel
}

基础设施资产标签获取 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"`
}

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

type AlibabaCuntaoInteractRequisitionGetAPIRequest

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

供应商获取物料申请单列表 API请求 alibaba.cuntao.interact.requisition.get

供应商获取物料申请单列表

func NewAlibabaCuntaoInteractRequisitionGetRequest

func NewAlibabaCuntaoInteractRequisitionGetRequest() *AlibabaCuntaoInteractRequisitionGetAPIRequest

初始化AlibabaCuntaoInteractRequisitionGetAPIRequest对象

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetGmtCreateEnd

GmtCreateEnd Getter

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetGmtCreateStart

GmtCreateStart Getter

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetPageIndex

PageIndex Getter

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetPageSize

PageSize Getter

func (*AlibabaCuntaoInteractRequisitionGetAPIRequest) SetGmtCreateEnd

func (r *AlibabaCuntaoInteractRequisitionGetAPIRequest) SetGmtCreateEnd(_gmtCreateEnd int64) error

GmtCreateEnd Setter 截止时间戳,开区间

func (*AlibabaCuntaoInteractRequisitionGetAPIRequest) SetGmtCreateStart

func (r *AlibabaCuntaoInteractRequisitionGetAPIRequest) SetGmtCreateStart(_gmtCreateStart int64) error

GmtCreateStart Setter 开始时间戳,闭区间

func (*AlibabaCuntaoInteractRequisitionGetAPIRequest) SetPageIndex

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

PageIndex Setter 页码,从0开始

func (*AlibabaCuntaoInteractRequisitionGetAPIRequest) SetPageSize

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

PageSize Setter 页大小,默认20

type AlibabaCuntaoInteractRequisitionGetAPIResponse

type AlibabaCuntaoInteractRequisitionGetAPIResponse struct {
	model.CommonResponse
	AlibabaCuntaoInteractRequisitionGetAPIResponseModel
}

供应商获取物料申请单列表 API返回值 alibaba.cuntao.interact.requisition.get

供应商获取物料申请单列表

type AlibabaCuntaoInteractRequisitionGetAPIResponseModel

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

供应商获取物料申请单列表 成功返回结果

type AlibabaCuntaoInteractRequisitionGetResult

type AlibabaCuntaoInteractRequisitionGetResult struct {
	// model
	Model *ListDto `json:"model,omitempty" xml:"model,omitempty"`
	// 异常时返回的code
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 异常时返回的描述
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaCuntaoInteractRequisitionGetResult

type AlibabaCuntaoInteractRequisitionUpdateAPIRequest

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

更新物料制作状态 API请求 alibaba.cuntao.interact.requisition.update

村淘物料下沉,更新物料制作状态

func NewAlibabaCuntaoInteractRequisitionUpdateRequest

func NewAlibabaCuntaoInteractRequisitionUpdateRequest() *AlibabaCuntaoInteractRequisitionUpdateAPIRequest

初始化AlibabaCuntaoInteractRequisitionUpdateAPIRequest对象

func (AlibabaCuntaoInteractRequisitionUpdateAPIRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaCuntaoInteractRequisitionUpdateAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaCuntaoInteractRequisitionUpdateAPIRequest) GetStatus

Status Getter

func (AlibabaCuntaoInteractRequisitionUpdateAPIRequest) GetUuidList

UuidList Getter

func (*AlibabaCuntaoInteractRequisitionUpdateAPIRequest) SetStatus

Status Setter 物料制作状态

func (*AlibabaCuntaoInteractRequisitionUpdateAPIRequest) SetUuidList

UuidList Setter 申请单id列表

type AlibabaCuntaoInteractRequisitionUpdateAPIResponse

type AlibabaCuntaoInteractRequisitionUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaCuntaoInteractRequisitionUpdateAPIResponseModel
}

更新物料制作状态 API返回值 alibaba.cuntao.interact.requisition.update

村淘物料下沉,更新物料制作状态

type AlibabaCuntaoInteractRequisitionUpdateAPIResponseModel

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

更新物料制作状态 成功返回结果

type AlibabaCuntaoInteractRequisitionUpdateResult

type AlibabaCuntaoInteractRequisitionUpdateResult struct {
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 异常时返回的code
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 异常时返回的描述
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaCuntaoInteractRequisitionUpdateResult

type AlibabaInteractSensorUiAPIRequest

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

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

Weex 基本UI操作

func NewAlibabaInteractSensorUiRequest

func NewAlibabaInteractSensorUiRequest() *AlibabaInteractSensorUiAPIRequest

初始化AlibabaInteractSensorUiAPIRequest对象

func (AlibabaInteractSensorUiAPIRequest) GetApiMethodName

func (r AlibabaInteractSensorUiAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorUiAPIRequest) GetApiParams

func (r AlibabaInteractSensorUiAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorUiAPIRequest) GetUnNamed

UnNamed Getter

func (*AlibabaInteractSensorUiAPIRequest) SetUnNamed

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

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

type AlibabaInteractSensorUiAPIResponse

type AlibabaInteractSensorUiAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorUiAPIResponseModel
}

基本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"`
}

基本ui操作 成功返回结果

type AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest

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

权益池信息查询 API请求 alibaba.interact.supplier.award.resource.get.cuntao

农村淘宝营销互动权益池信息查询

func NewAlibabaInteractSupplierAwardResourceGetCuntaoRequest

func NewAlibabaInteractSupplierAwardResourceGetCuntaoRequest() *AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest

初始化AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest对象

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetActivityKey

ActivityKey Getter

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetLat

Lat Getter

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetLng

Lng Getter

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetUserNick

UserNick Getter

func (*AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) SetActivityKey

ActivityKey Setter 活动code

func (*AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) SetLat

Lat Setter 纬度

func (*AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) SetLng

Lng Setter 经度

func (*AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) SetUserNick

UserNick Setter 用户昵称

type AlibabaInteractSupplierAwardResourceGetCuntaoAPIResponse

type AlibabaInteractSupplierAwardResourceGetCuntaoAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSupplierAwardResourceGetCuntaoAPIResponseModel
}

权益池信息查询 API返回值 alibaba.interact.supplier.award.resource.get.cuntao

农村淘宝营销互动权益池信息查询

type AlibabaInteractSupplierAwardResourceGetCuntaoAPIResponseModel

type AlibabaInteractSupplierAwardResourceGetCuntaoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_supplier_award_resource_get_cuntao_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 监控宝推送网站监控信息,返回结果
	Result *AlibabaInteractSupplierAwardResourceGetCuntaoResultModel `json:"result,omitempty" xml:"result,omitempty"`
}

权益池信息查询 成功返回结果

type AlibabaInteractSupplierAwardResourceGetCuntaoResultModel

type AlibabaInteractSupplierAwardResourceGetCuntaoResultModel struct {
	// 错误的描述信息(如果有)
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 返回值,里面只返回资源ID
	Model *AwardActivityDetailDto `json:"model,omitempty" xml:"model,omitempty"`
	// 错误码(如果有)
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否成功,true/false
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaInteractSupplierAwardResourceGetCuntaoResultModel

type AlibabaMosFalconPosCounterQueryAPIRequest

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

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

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

func NewAlibabaMosFalconPosCounterQueryRequest

func NewAlibabaMosFalconPosCounterQueryRequest() *AlibabaMosFalconPosCounterQueryAPIRequest

初始化AlibabaMosFalconPosCounterQueryAPIRequest对象

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetCounterNo

CounterNo Getter

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetSn

Sn Getter

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetStoreNo

StoreNo Getter

func (*AlibabaMosFalconPosCounterQueryAPIRequest) SetCounterNo

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

CounterNo Setter 专柜号

func (*AlibabaMosFalconPosCounterQueryAPIRequest) SetSn

Sn Setter 设备序列号

func (*AlibabaMosFalconPosCounterQueryAPIRequest) SetStoreNo

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

StoreNo Setter 门店号

type AlibabaMosFalconPosCounterQueryAPIResponse

type AlibabaMosFalconPosCounterQueryAPIResponse struct {
	model.CommonResponse
	AlibabaMosFalconPosCounterQueryAPIResponseModel
}

云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"`
}

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

type AlibabaMosFalconPosCounterQueryResultDo

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

AlibabaMosFalconPosCounterQueryResultDo

type AlibabaRetailDeviceTradeShipAPIRequest

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

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

贩卖机发货

func NewAlibabaRetailDeviceTradeShipRequest

func NewAlibabaRetailDeviceTradeShipRequest() *AlibabaRetailDeviceTradeShipAPIRequest

初始化AlibabaRetailDeviceTradeShipAPIRequest对象

func (AlibabaRetailDeviceTradeShipAPIRequest) GetApiMethodName

func (r AlibabaRetailDeviceTradeShipAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaRetailDeviceTradeShipAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaRetailDeviceTradeShipAPIRequest) GetDeviceId

DeviceId Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetDeviceType

DeviceType Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetOrderUpdateOption

OrderUpdateOption Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetShipDetailList

func (r AlibabaRetailDeviceTradeShipAPIRequest) GetShipDetailList() []ShipDetailDto

ShipDetailList Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetTradeNo

TradeNo Getter

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetDeviceId

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

DeviceId Setter 设备ID

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetDeviceType

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

DeviceType Setter 设备类型

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetOrderUpdateOption

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

OrderUpdateOption Setter 选项

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetShipDetailList

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

ShipDetailList Setter 详情

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetTradeNo

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

TradeNo Setter 内部订单编号

type AlibabaRetailDeviceTradeShipAPIResponse

type AlibabaRetailDeviceTradeShipAPIResponse struct {
	model.CommonResponse
	AlibabaRetailDeviceTradeShipAPIResponseModel
}

贩卖机掉货成功通知 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"`
}

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

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
}

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

短链接获取

func NewAlibabaRetailShorturlGetRequest

func NewAlibabaRetailShorturlGetRequest() *AlibabaRetailShorturlGetAPIRequest

初始化AlibabaRetailShorturlGetAPIRequest对象

func (AlibabaRetailShorturlGetAPIRequest) GetApiMethodName

func (r AlibabaRetailShorturlGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaRetailShorturlGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaRetailShorturlGetAPIRequest) GetOptions

Options Getter

func (AlibabaRetailShorturlGetAPIRequest) GetSourceUrl

func (r AlibabaRetailShorturlGetAPIRequest) GetSourceUrl() string

SourceUrl Getter

func (*AlibabaRetailShorturlGetAPIRequest) SetOptions

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

Options Setter 系统自动生成

func (*AlibabaRetailShorturlGetAPIRequest) SetSourceUrl

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

SourceUrl Setter 源url

type AlibabaRetailShorturlGetAPIResponse

type AlibabaRetailShorturlGetAPIResponse struct {
	model.CommonResponse
	AlibabaRetailShorturlGetAPIResponseModel
}

短链接获取 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"`
}

短链接获取 成功返回结果

type AlibabaRetailShorturlGetResult

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

AlibabaRetailShorturlGetResult

type AlibabaTaobaoWtUserCrowdAPIRequest

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

校验用户是否为新人 API请求 alibaba.taobao.wt.user.crowd

增加isv接口 根据入参手机号判断是否为新人类型

func NewAlibabaTaobaoWtUserCrowdRequest

func NewAlibabaTaobaoWtUserCrowdRequest() *AlibabaTaobaoWtUserCrowdAPIRequest

初始化AlibabaTaobaoWtUserCrowdAPIRequest对象

func (AlibabaTaobaoWtUserCrowdAPIRequest) GetApiMethodName

func (r AlibabaTaobaoWtUserCrowdAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaTaobaoWtUserCrowdAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaTaobaoWtUserCrowdAPIRequest) GetPhone

Phone Getter

func (*AlibabaTaobaoWtUserCrowdAPIRequest) SetPhone

func (r *AlibabaTaobaoWtUserCrowdAPIRequest) SetPhone(_phone int64) error

Phone Setter 手机号

type AlibabaTaobaoWtUserCrowdAPIResponse

type AlibabaTaobaoWtUserCrowdAPIResponse struct {
	model.CommonResponse
	AlibabaTaobaoWtUserCrowdAPIResponseModel
}

校验用户是否为新人 API返回值 alibaba.taobao.wt.user.crowd

增加isv接口 根据入参手机号判断是否为新人类型

type AlibabaTaobaoWtUserCrowdAPIResponseModel

type AlibabaTaobaoWtUserCrowdAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_taobao_wt_user_crowd_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口结果
	Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"`
}

校验用户是否为新人 成功返回结果

type AlibabaTaobaoWtUserCrowdModel

type AlibabaTaobaoWtUserCrowdModel struct {
	// 是否为新人
	IsNew bool `json:"is_new,omitempty" xml:"is_new,omitempty"`
}

AlibabaTaobaoWtUserCrowdModel

type AliexpressSocialCountryGetAPIRequest

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

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

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

func NewAliexpressSocialCountryGetRequest

func NewAliexpressSocialCountryGetRequest() *AliexpressSocialCountryGetAPIRequest

初始化AliexpressSocialCountryGetAPIRequest对象

func (AliexpressSocialCountryGetAPIRequest) GetApiMethodName

func (r AliexpressSocialCountryGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliexpressSocialCountryGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliexpressSocialCountryGetAPIRequest) GetLanguage

Language Getter

func (*AliexpressSocialCountryGetAPIRequest) SetLanguage

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

Language Setter 语言

type AliexpressSocialCountryGetAPIResponse

type AliexpressSocialCountryGetAPIResponse struct {
	model.CommonResponse
	AliexpressSocialCountryGetAPIResponseModel
}

获取国家列表 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"`
}

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

type AliexpressSocialCurrencyGetAPIRequest

type AliexpressSocialCurrencyGetAPIRequest struct {
	model.Params
}

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

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

func NewAliexpressSocialCurrencyGetRequest

func NewAliexpressSocialCurrencyGetRequest() *AliexpressSocialCurrencyGetAPIRequest

初始化AliexpressSocialCurrencyGetAPIRequest对象

func (AliexpressSocialCurrencyGetAPIRequest) GetApiMethodName

func (r AliexpressSocialCurrencyGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliexpressSocialCurrencyGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

type AliexpressSocialCurrencyGetAPIResponse

type AliexpressSocialCurrencyGetAPIResponse struct {
	model.CommonResponse
	AliexpressSocialCurrencyGetAPIResponseModel
}

币种获取接口 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"`
}

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

type AliexpressSocialLocaleGetAPIRequest

type AliexpressSocialLocaleGetAPIRequest struct {
	model.Params
}

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

新增Locale获取接口

func NewAliexpressSocialLocaleGetRequest

func NewAliexpressSocialLocaleGetRequest() *AliexpressSocialLocaleGetAPIRequest

初始化AliexpressSocialLocaleGetAPIRequest对象

func (AliexpressSocialLocaleGetAPIRequest) GetApiMethodName

func (r AliexpressSocialLocaleGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliexpressSocialLocaleGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

type AliexpressSocialLocaleGetAPIResponse

type AliexpressSocialLocaleGetAPIResponse struct {
	model.CommonResponse
	AliexpressSocialLocaleGetAPIResponseModel
}

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"`
}

Locale获取接口 成功返回结果

type AssetQrCodeDto

type AssetQrCodeDto struct {
	// 资产类型
	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"`
	// 生产二维码信息字符串
	QrCodeStringList []string `json:"qr_code_string_list,omitempty" xml:"qr_code_string_list>string,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 AwardActivityDetailDto

type AwardActivityDetailDto struct {
	// 返回资源id
	AwardResouceId string `json:"award_resouce_id,omitempty" xml:"award_resouce_id,omitempty"`
	// 扩展字段,目前无值
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
}

AwardActivityDetailDto

type BaseRep

type BaseRep struct {
	// 返回错误消息
	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"`
	// 内层大对象
	Datas []AssetQrCodeDto `json:"datas,omitempty" xml:"datas>asset_qr_code_dto,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 CommonResult

type CommonResult struct {
	// 服务子错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 服务子扩展错误码
	SubCode string `json:"sub_code,omitempty" xml:"sub_code,omitempty"`
	// 成功标识
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 无
	Model *AlibabaTaobaoWtUserCrowdModel `json:"model,omitempty" xml:"model,omitempty"`
	// 描述信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 描述错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 描述请求信息
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
}

CommonResult

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 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 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"`
	// 事件状态,如QIMEN_ERP_TRANSFER,QIMEN_ERP_CHECK
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 扩展属性
	Ext string `json:"ext,omitempty" xml:"ext,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"`
	// 订单创建时间,数字
	Create int64 `json:"create,omitempty" xml:"create,omitempty"`
	// 外部商家名称。必须同时填写platform
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
}

Event

type ItemPickPagingResult

type ItemPickPagingResult struct {
	// 返回数据集合
	Results []CountryDto `json:"results,omitempty" xml:"results>country_dto,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,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"`
}

ItemPickPagingResult

type KfcSearchResult

type KfcSearchResult struct {
	// 是否匹配到关键词,匹配到则为true.
	Matched bool `json:"matched,omitempty" xml:"matched,omitempty"`
	// 匹配到的关键词的等级,值为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"`
}

KfcSearchResult

type ListDto

type ListDto struct {
	// 申请单总数
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 申请单列表
	List []string `json:"list,omitempty" xml:"list>string,omitempty"`
}

ListDto

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 QimenEvent

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

QimenEvent

type QimenResult

type QimenResult struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,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 {
	// 退款单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"`
	// 审核状态 恒为 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"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
}

RefundCheckDto

type RopResultTo

type RopResultTo struct {
	// 系统自动生成
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 系统自动生成
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 系统自动生成
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

RopResultTo

type SessionInfo

type SessionInfo struct {
	// openId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// skey
	Skey string `json:"skey,omitempty" xml:"skey,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 {
	// 商品
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 0发货成功 1发货失败 10 核销成功 20 核销失败
	ShipStatus int64 `json:"ship_status,omitempty" xml:"ship_status,omitempty"`
	// 外部订单ID
	OuterTradeNo string `json:"outer_trade_no,omitempty" xml:"outer_trade_no,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
}

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

获取ISV发起请求服务器IP

func NewTaobaoAppipGetRequest

func NewTaobaoAppipGetRequest() *TaobaoAppipGetAPIRequest

初始化TaobaoAppipGetAPIRequest对象

func (TaobaoAppipGetAPIRequest) GetApiMethodName

func (r TaobaoAppipGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoAppipGetAPIRequest) GetApiParams

func (r TaobaoAppipGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

type TaobaoAppipGetAPIResponse

type TaobaoAppipGetAPIResponse struct {
	model.CommonResponse
	TaobaoAppipGetAPIResponseModel
}

获取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"`
}

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

type TaobaoFilesGetAPIRequest

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

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

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

func NewTaobaoFilesGetRequest

func NewTaobaoFilesGetRequest() *TaobaoFilesGetAPIRequest

初始化TaobaoFilesGetAPIRequest对象

func (TaobaoFilesGetAPIRequest) GetApiMethodName

func (r TaobaoFilesGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoFilesGetAPIRequest) GetApiParams

func (r TaobaoFilesGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoFilesGetAPIRequest) GetEndDate

func (r TaobaoFilesGetAPIRequest) GetEndDate() string

EndDate Getter

func (TaobaoFilesGetAPIRequest) GetStartDate

func (r TaobaoFilesGetAPIRequest) GetStartDate() string

StartDate Getter

func (TaobaoFilesGetAPIRequest) GetStatus

func (r TaobaoFilesGetAPIRequest) GetStatus() int64

Status Getter

func (*TaobaoFilesGetAPIRequest) SetEndDate

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

EndDate Setter 搜索结束时间

func (*TaobaoFilesGetAPIRequest) SetStartDate

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

StartDate Setter 搜索开始时间

func (*TaobaoFilesGetAPIRequest) SetStatus

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

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

type TaobaoFilesGetAPIResponse

type TaobaoFilesGetAPIResponse struct {
	model.CommonResponse
	TaobaoFilesGetAPIResponseModel
}

业务文件获取 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"`
}

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

type TaobaoHttpdnsGetAPIRequest

type TaobaoHttpdnsGetAPIRequest struct {
	model.Params
}

TOPDNS配置 API请求 taobao.httpdns.get

获取TOP DNS配置

func NewTaobaoHttpdnsGetRequest

func NewTaobaoHttpdnsGetRequest() *TaobaoHttpdnsGetAPIRequest

初始化TaobaoHttpdnsGetAPIRequest对象

func (TaobaoHttpdnsGetAPIRequest) GetApiMethodName

func (r TaobaoHttpdnsGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoHttpdnsGetAPIRequest) GetApiParams

func (r TaobaoHttpdnsGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

type TaobaoHttpdnsGetAPIResponse

type TaobaoHttpdnsGetAPIResponse struct {
	model.CommonResponse
	TaobaoHttpdnsGetAPIResponseModel
}

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"`
}

TOPDNS配置 成功返回结果

type TaobaoKfcKeywordSearchAPIRequest

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

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

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

func NewTaobaoKfcKeywordSearchRequest

func NewTaobaoKfcKeywordSearchRequest() *TaobaoKfcKeywordSearchAPIRequest

初始化TaobaoKfcKeywordSearchAPIRequest对象

func (TaobaoKfcKeywordSearchAPIRequest) GetApiMethodName

func (r TaobaoKfcKeywordSearchAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoKfcKeywordSearchAPIRequest) GetApiParams

func (r TaobaoKfcKeywordSearchAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoKfcKeywordSearchAPIRequest) GetApply

Apply Getter

func (TaobaoKfcKeywordSearchAPIRequest) GetContent

Content Getter

func (TaobaoKfcKeywordSearchAPIRequest) GetNick

Nick Getter

func (*TaobaoKfcKeywordSearchAPIRequest) SetApply

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

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

Content Setter 需要过滤的文本信息

func (*TaobaoKfcKeywordSearchAPIRequest) SetNick

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

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

type TaobaoKfcKeywordSearchAPIResponse

type TaobaoKfcKeywordSearchAPIResponse struct {
	model.CommonResponse
	TaobaoKfcKeywordSearchAPIResponseModel
}

关键词过滤匹配 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"`
}

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

type TaobaoOpenlinkSessionGetAPIRequest

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

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

帮助第三方isv生成三方session

func NewTaobaoOpenlinkSessionGetRequest

func NewTaobaoOpenlinkSessionGetRequest() *TaobaoOpenlinkSessionGetAPIRequest

初始化TaobaoOpenlinkSessionGetAPIRequest对象

func (TaobaoOpenlinkSessionGetAPIRequest) GetApiMethodName

func (r TaobaoOpenlinkSessionGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoOpenlinkSessionGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoOpenlinkSessionGetAPIRequest) GetCode

Code Getter

func (*TaobaoOpenlinkSessionGetAPIRequest) SetCode

Code Setter 授权码

type TaobaoOpenlinkSessionGetAPIResponse

type TaobaoOpenlinkSessionGetAPIResponse struct {
	model.CommonResponse
	TaobaoOpenlinkSessionGetAPIResponseModel
}

获取授权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"`
}

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

type TaobaoOpenlinkSessionGetResult

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

TaobaoOpenlinkSessionGetResult

type TaobaoOpenuidGetAPIRequest

type TaobaoOpenuidGetAPIRequest struct {
	model.Params
}

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

获取授权账号对应的OpenUid

func NewTaobaoOpenuidGetRequest

func NewTaobaoOpenuidGetRequest() *TaobaoOpenuidGetAPIRequest

初始化TaobaoOpenuidGetAPIRequest对象

func (TaobaoOpenuidGetAPIRequest) GetApiMethodName

func (r TaobaoOpenuidGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoOpenuidGetAPIRequest) GetApiParams

func (r TaobaoOpenuidGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

type TaobaoOpenuidGetAPIResponse

type TaobaoOpenuidGetAPIResponse struct {
	model.CommonResponse
	TaobaoOpenuidGetAPIResponseModel
}

获取授权账号对应的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"`
}

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

type TaobaoOpenuidGetBymixnickAPIRequest

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

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

通过mixnick转换openuid

func NewTaobaoOpenuidGetBymixnickRequest

func NewTaobaoOpenuidGetBymixnickRequest() *TaobaoOpenuidGetBymixnickAPIRequest

初始化TaobaoOpenuidGetBymixnickAPIRequest对象

func (TaobaoOpenuidGetBymixnickAPIRequest) GetApiMethodName

func (r TaobaoOpenuidGetBymixnickAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoOpenuidGetBymixnickAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoOpenuidGetBymixnickAPIRequest) GetMixNick

MixNick Getter

func (*TaobaoOpenuidGetBymixnickAPIRequest) SetMixNick

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

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

type TaobaoOpenuidGetBymixnickAPIResponse

type TaobaoOpenuidGetBymixnickAPIResponse struct {
	model.CommonResponse
	TaobaoOpenuidGetBymixnickAPIResponseModel
}

通过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"`
}

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

type TaobaoOpenuidGetBytradeAPIRequest

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

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

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

func NewTaobaoOpenuidGetBytradeRequest

func NewTaobaoOpenuidGetBytradeRequest() *TaobaoOpenuidGetBytradeAPIRequest

初始化TaobaoOpenuidGetBytradeAPIRequest对象

func (TaobaoOpenuidGetBytradeAPIRequest) GetApiMethodName

func (r TaobaoOpenuidGetBytradeAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoOpenuidGetBytradeAPIRequest) GetApiParams

func (r TaobaoOpenuidGetBytradeAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoOpenuidGetBytradeAPIRequest) GetTid

Tid Getter

func (*TaobaoOpenuidGetBytradeAPIRequest) SetTid

Tid Setter 订单ID

type TaobaoOpenuidGetBytradeAPIResponse

type TaobaoOpenuidGetBytradeAPIResponse struct {
	model.CommonResponse
	TaobaoOpenuidGetBytradeAPIResponseModel
}

通过订单获取对应买家的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"`
}

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

type TaobaoQimenEventProduceAPIRequest

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

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

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

func NewTaobaoQimenEventProduceRequest

func NewTaobaoQimenEventProduceRequest() *TaobaoQimenEventProduceAPIRequest

初始化TaobaoQimenEventProduceAPIRequest对象

func (TaobaoQimenEventProduceAPIRequest) GetApiMethodName

func (r TaobaoQimenEventProduceAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoQimenEventProduceAPIRequest) GetApiParams

func (r TaobaoQimenEventProduceAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoQimenEventProduceAPIRequest) GetCreate

Create Getter

func (TaobaoQimenEventProduceAPIRequest) GetExt

Ext Getter

func (TaobaoQimenEventProduceAPIRequest) GetNick

Nick Getter

func (TaobaoQimenEventProduceAPIRequest) GetPlatform

func (r TaobaoQimenEventProduceAPIRequest) GetPlatform() string

Platform Getter

func (TaobaoQimenEventProduceAPIRequest) GetStatus

Status Getter

func (TaobaoQimenEventProduceAPIRequest) GetTid

Tid Getter

func (*TaobaoQimenEventProduceAPIRequest) SetCreate

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

Create Setter 订单创建时间,数字

func (*TaobaoQimenEventProduceAPIRequest) SetExt

Ext Setter JSON格式扩展字段

func (*TaobaoQimenEventProduceAPIRequest) SetNick

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

func (*TaobaoQimenEventProduceAPIRequest) SetPlatform

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

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

Status Setter 事件状态,如QIMEN_ERP_TRANSFER,QIMEN_ERP_CHECK

func (*TaobaoQimenEventProduceAPIRequest) SetTid

Tid Setter 淘宝订单号

type TaobaoQimenEventProduceAPIResponse

type TaobaoQimenEventProduceAPIResponse struct {
	model.CommonResponse
	TaobaoQimenEventProduceAPIResponseModel
}

发出奇门事件 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"`
}

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

type TaobaoQimenEventsProduceAPIRequest

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

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

批量发送消息

func NewTaobaoQimenEventsProduceRequest

func NewTaobaoQimenEventsProduceRequest() *TaobaoQimenEventsProduceAPIRequest

初始化TaobaoQimenEventsProduceAPIRequest对象

func (TaobaoQimenEventsProduceAPIRequest) GetApiMethodName

func (r TaobaoQimenEventsProduceAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoQimenEventsProduceAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoQimenEventsProduceAPIRequest) GetMessages

Messages Getter

func (*TaobaoQimenEventsProduceAPIRequest) SetMessages

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

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

type TaobaoQimenEventsProduceAPIResponse

type TaobaoQimenEventsProduceAPIResponse struct {
	model.CommonResponse
	TaobaoQimenEventsProduceAPIResponseModel
}

批量发送奇门事件 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"`
	// 是否全部成功
	IsAllSuccess bool `json:"is_all_success,omitempty" xml:"is_all_success,omitempty"`
	// 发送结果,与发送时的参数顺序一致。如果is_all_success为true时,不用校验result是否成功
	Results []QimenResult `json:"results,omitempty" xml:"results>qimen_result,omitempty"`
}

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

type TaobaoQimenTradeUserAddAPIRequest

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

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

添加奇门订单链路用户

func NewTaobaoQimenTradeUserAddRequest

func NewTaobaoQimenTradeUserAddRequest() *TaobaoQimenTradeUserAddAPIRequest

初始化TaobaoQimenTradeUserAddAPIRequest对象

func (TaobaoQimenTradeUserAddAPIRequest) GetApiMethodName

func (r TaobaoQimenTradeUserAddAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoQimenTradeUserAddAPIRequest) GetApiParams

func (r TaobaoQimenTradeUserAddAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoQimenTradeUserAddAPIRequest) GetMemo

Memo Getter

func (*TaobaoQimenTradeUserAddAPIRequest) SetMemo

Memo Setter 商家备注

type TaobaoQimenTradeUserAddAPIResponse

type TaobaoQimenTradeUserAddAPIResponse struct {
	model.CommonResponse
	TaobaoQimenTradeUserAddAPIResponseModel
}

添加奇门订单链路用户 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"`
}

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

type TaobaoQimenTradeUserDeleteAPIRequest

type TaobaoQimenTradeUserDeleteAPIRequest struct {
	model.Params
}

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

删除奇门订单链路用户

func NewTaobaoQimenTradeUserDeleteRequest

func NewTaobaoQimenTradeUserDeleteRequest() *TaobaoQimenTradeUserDeleteAPIRequest

初始化TaobaoQimenTradeUserDeleteAPIRequest对象

func (TaobaoQimenTradeUserDeleteAPIRequest) GetApiMethodName

func (r TaobaoQimenTradeUserDeleteAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoQimenTradeUserDeleteAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

type TaobaoQimenTradeUserDeleteAPIResponse

type TaobaoQimenTradeUserDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoQimenTradeUserDeleteAPIResponseModel
}

删除奇门订单链路用户 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"`
}

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

type TaobaoQimenTradeUsersGetAPIRequest

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

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

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

func NewTaobaoQimenTradeUsersGetRequest

func NewTaobaoQimenTradeUsersGetRequest() *TaobaoQimenTradeUsersGetAPIRequest

初始化TaobaoQimenTradeUsersGetAPIRequest对象

func (TaobaoQimenTradeUsersGetAPIRequest) GetApiMethodName

func (r TaobaoQimenTradeUsersGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoQimenTradeUsersGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoQimenTradeUsersGetAPIRequest) GetPageIndex

func (r TaobaoQimenTradeUsersGetAPIRequest) GetPageIndex() int64

PageIndex Getter

func (TaobaoQimenTradeUsersGetAPIRequest) GetPageSize

func (r TaobaoQimenTradeUsersGetAPIRequest) GetPageSize() int64

PageSize Getter

func (*TaobaoQimenTradeUsersGetAPIRequest) SetPageIndex

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

PageIndex Setter 每页的数量

func (*TaobaoQimenTradeUsersGetAPIRequest) SetPageSize

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

PageSize Setter 页数

type TaobaoQimenTradeUsersGetAPIResponse

type TaobaoQimenTradeUsersGetAPIResponse struct {
	model.CommonResponse
	TaobaoQimenTradeUsersGetAPIResponseModel
}

获取奇门用户列表 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"`
	// totalCount
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// modal
	Users []QimenUser `json:"users,omitempty" xml:"users>qimen_user,omitempty"`
}

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

type TaobaoRdcAligeniusRefundsCheckAPIRequest

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

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

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

func NewTaobaoRdcAligeniusRefundsCheckRequest

func NewTaobaoRdcAligeniusRefundsCheckRequest() *TaobaoRdcAligeniusRefundsCheckAPIRequest

初始化TaobaoRdcAligeniusRefundsCheckAPIRequest对象

func (TaobaoRdcAligeniusRefundsCheckAPIRequest) GetApiMethodName

func (r TaobaoRdcAligeniusRefundsCheckAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusRefundsCheckAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusRefundsCheckAPIRequest) GetParam

Param Getter

func (*TaobaoRdcAligeniusRefundsCheckAPIRequest) SetParam

Param Setter 入参

type TaobaoRdcAligeniusRefundsCheckAPIResponse

type TaobaoRdcAligeniusRefundsCheckAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusRefundsCheckAPIResponseModel
}

退款信息审核 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"`
}

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

type TaobaoRdcAligeniusRefundsCheckResult

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

TaobaoRdcAligeniusRefundsCheckResult

type TaobaoStreetestSessionGetAPIRequest

type TaobaoStreetestSessionGetAPIRequest struct {
	model.Params
}

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

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

func NewTaobaoStreetestSessionGetRequest

func NewTaobaoStreetestSessionGetRequest() *TaobaoStreetestSessionGetAPIRequest

初始化TaobaoStreetestSessionGetAPIRequest对象

func (TaobaoStreetestSessionGetAPIRequest) GetApiMethodName

func (r TaobaoStreetestSessionGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoStreetestSessionGetAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

type TaobaoStreetestSessionGetAPIResponse

type TaobaoStreetestSessionGetAPIResponse struct {
	model.CommonResponse
	TaobaoStreetestSessionGetAPIResponseModel
}

根据获取压测用户的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"`
}

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

type TaobaoTimeGetAPIRequest

type TaobaoTimeGetAPIRequest struct {
	model.Params
}

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

获取淘宝系统当前时间

func NewTaobaoTimeGetRequest

func NewTaobaoTimeGetRequest() *TaobaoTimeGetAPIRequest

初始化TaobaoTimeGetAPIRequest对象

func (TaobaoTimeGetAPIRequest) GetApiMethodName

func (r TaobaoTimeGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTimeGetAPIRequest) GetApiParams

func (r TaobaoTimeGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

type TaobaoTimeGetAPIResponse

type TaobaoTimeGetAPIResponse struct {
	model.CommonResponse
	TaobaoTimeGetAPIResponseModel
}

获取淘宝系统当前时间 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"`
}

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

type TaobaoTmcAuthGetAPIRequest

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

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

TMC连接授权Token

func NewTaobaoTmcAuthGetRequest

func NewTaobaoTmcAuthGetRequest() *TaobaoTmcAuthGetAPIRequest

初始化TaobaoTmcAuthGetAPIRequest对象

func (TaobaoTmcAuthGetAPIRequest) GetApiMethodName

func (r TaobaoTmcAuthGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTmcAuthGetAPIRequest) GetApiParams

func (r TaobaoTmcAuthGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoTmcAuthGetAPIRequest) GetGroup

func (r TaobaoTmcAuthGetAPIRequest) GetGroup() string

Group Getter

func (*TaobaoTmcAuthGetAPIRequest) SetGroup

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

Group Setter tmc组名

type TaobaoTmcAuthGetAPIResponse

type TaobaoTmcAuthGetAPIResponse struct {
	model.CommonResponse
	TaobaoTmcAuthGetAPIResponseModel
}

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"`
}

TMC授权token 成功返回结果

type TaobaoTopAuthTokenCreateAPIRequest

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

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

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

func NewTaobaoTopAuthTokenCreateRequest

func NewTaobaoTopAuthTokenCreateRequest() *TaobaoTopAuthTokenCreateAPIRequest

初始化TaobaoTopAuthTokenCreateAPIRequest对象

func (TaobaoTopAuthTokenCreateAPIRequest) GetApiMethodName

func (r TaobaoTopAuthTokenCreateAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTopAuthTokenCreateAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoTopAuthTokenCreateAPIRequest) GetCode

Code Getter

func (TaobaoTopAuthTokenCreateAPIRequest) GetUuid

Uuid Getter

func (*TaobaoTopAuthTokenCreateAPIRequest) SetCode

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

func (*TaobaoTopAuthTokenCreateAPIRequest) SetUuid

Uuid Setter 与生成code的uuid配对

type TaobaoTopAuthTokenCreateAPIResponse

type TaobaoTopAuthTokenCreateAPIResponse struct {
	model.CommonResponse
	TaobaoTopAuthTokenCreateAPIResponseModel
}

获取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"`
}

获取Access Token 成功返回结果

type TaobaoTopAuthTokenRefreshAPIRequest

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

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

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

func NewTaobaoTopAuthTokenRefreshRequest

func NewTaobaoTopAuthTokenRefreshRequest() *TaobaoTopAuthTokenRefreshAPIRequest

初始化TaobaoTopAuthTokenRefreshAPIRequest对象

func (TaobaoTopAuthTokenRefreshAPIRequest) GetApiMethodName

func (r TaobaoTopAuthTokenRefreshAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTopAuthTokenRefreshAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoTopAuthTokenRefreshAPIRequest) GetRefreshToken

func (r TaobaoTopAuthTokenRefreshAPIRequest) GetRefreshToken() string

RefreshToken Getter

func (*TaobaoTopAuthTokenRefreshAPIRequest) SetRefreshToken

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

RefreshToken Setter grantType==refresh_token 时需要

type TaobaoTopAuthTokenRefreshAPIResponse

type TaobaoTopAuthTokenRefreshAPIResponse struct {
	model.CommonResponse
	TaobaoTopAuthTokenRefreshAPIResponseModel
}

刷新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"`
}

刷新Access Token 成功返回结果

type TaobaoTopIpoutGetAPIRequest

type TaobaoTopIpoutGetAPIRequest struct {
	model.Params
}

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

获取开放平台出口IP段

func NewTaobaoTopIpoutGetRequest

func NewTaobaoTopIpoutGetRequest() *TaobaoTopIpoutGetAPIRequest

初始化TaobaoTopIpoutGetAPIRequest对象

func (TaobaoTopIpoutGetAPIRequest) GetApiMethodName

func (r TaobaoTopIpoutGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTopIpoutGetAPIRequest) GetApiParams

func (r TaobaoTopIpoutGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

type TaobaoTopIpoutGetAPIResponse

type TaobaoTopIpoutGetAPIResponse struct {
	model.CommonResponse
	TaobaoTopIpoutGetAPIResponseModel
}

获取开放平台出口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"`
}

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

type TaobaoTopOnceTokenGetAPIRequest

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

网关一次性token获取 API请求 taobao.top.once.token.get

网关一次性token获取

func NewTaobaoTopOnceTokenGetRequest

func NewTaobaoTopOnceTokenGetRequest() *TaobaoTopOnceTokenGetAPIRequest

初始化TaobaoTopOnceTokenGetAPIRequest对象

func (TaobaoTopOnceTokenGetAPIRequest) GetApiMethodName

func (r TaobaoTopOnceTokenGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTopOnceTokenGetAPIRequest) GetApiParams

func (r TaobaoTopOnceTokenGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoTopOnceTokenGetAPIRequest) GetSecToken

func (r TaobaoTopOnceTokenGetAPIRequest) GetSecToken() string

SecToken Getter

func (*TaobaoTopOnceTokenGetAPIRequest) SetSecToken

func (r *TaobaoTopOnceTokenGetAPIRequest) SetSecToken(_secToken string) error

SecToken Setter sec_token

type TaobaoTopOnceTokenGetAPIResponse

type TaobaoTopOnceTokenGetAPIResponse struct {
	model.CommonResponse
	TaobaoTopOnceTokenGetAPIResponseModel
}

网关一次性token获取 API返回值 taobao.top.once.token.get

网关一次性token获取

type TaobaoTopOnceTokenGetAPIResponseModel

type TaobaoTopOnceTokenGetAPIResponseModel struct {
	XMLName xml.Name `xml:"top_once_token_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// token
	Token string `json:"token,omitempty" xml:"token,omitempty"`
	// 响应编码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 失败详情
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
}

网关一次性token获取 成功返回结果

type TaobaoTopOpenidConvertAPIRequest

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

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

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

func NewTaobaoTopOpenidConvertRequest

func NewTaobaoTopOpenidConvertRequest() *TaobaoTopOpenidConvertAPIRequest

初始化TaobaoTopOpenidConvertAPIRequest对象

func (TaobaoTopOpenidConvertAPIRequest) GetApiMethodName

func (r TaobaoTopOpenidConvertAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTopOpenidConvertAPIRequest) GetApiParams

func (r TaobaoTopOpenidConvertAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoTopOpenidConvertAPIRequest) GetMixNick

MixNick Getter

func (*TaobaoTopOpenidConvertAPIRequest) SetMixNick

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

MixNick Setter 混淆nick转open_id

type TaobaoTopOpenidConvertAPIResponse

type TaobaoTopOpenidConvertAPIResponse struct {
	model.CommonResponse
	TaobaoTopOpenidConvertAPIResponseModel
}

混淆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"`
}

混淆nick转openid 成功返回结果

type TaobaoTopSdkFeedbackUploadAPIRequest

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

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

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

func NewTaobaoTopSdkFeedbackUploadRequest

func NewTaobaoTopSdkFeedbackUploadRequest() *TaobaoTopSdkFeedbackUploadAPIRequest

初始化TaobaoTopSdkFeedbackUploadAPIRequest对象

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetApiMethodName

func (r TaobaoTopSdkFeedbackUploadAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetContent

Content Getter

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetType

Type Getter

func (*TaobaoTopSdkFeedbackUploadAPIRequest) SetContent

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

Content Setter 具体内容,json形式

func (*TaobaoTopSdkFeedbackUploadAPIRequest) SetType

Type Setter 1、回传加密信息

type TaobaoTopSdkFeedbackUploadAPIResponse

type TaobaoTopSdkFeedbackUploadAPIResponse struct {
	model.CommonResponse
	TaobaoTopSdkFeedbackUploadAPIResponseModel
}

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"`
}

sdk信息回调 成功返回结果

type TaobaoTopSecretGetAPIRequest

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

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

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

func NewTaobaoTopSecretGetRequest

func NewTaobaoTopSecretGetRequest() *TaobaoTopSecretGetAPIRequest

初始化TaobaoTopSecretGetAPIRequest对象

func (TaobaoTopSecretGetAPIRequest) GetApiMethodName

func (r TaobaoTopSecretGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTopSecretGetAPIRequest) GetApiParams

func (r TaobaoTopSecretGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoTopSecretGetAPIRequest) GetCustomerUserId

func (r TaobaoTopSecretGetAPIRequest) GetCustomerUserId() int64

CustomerUserId Getter

func (TaobaoTopSecretGetAPIRequest) GetRandomNum

func (r TaobaoTopSecretGetAPIRequest) GetRandomNum() string

RandomNum Getter

func (TaobaoTopSecretGetAPIRequest) GetSecretVersion

func (r TaobaoTopSecretGetAPIRequest) GetSecretVersion() int64

SecretVersion Getter

func (*TaobaoTopSecretGetAPIRequest) SetCustomerUserId

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

CustomerUserId Setter 自定义用户id

func (*TaobaoTopSecretGetAPIRequest) SetRandomNum

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

RandomNum Setter 伪随机数

func (*TaobaoTopSecretGetAPIRequest) SetSecretVersion

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

SecretVersion Setter 秘钥版本号

type TaobaoTopSecretGetAPIResponse

type TaobaoTopSecretGetAPIResponse struct {
	model.CommonResponse
	TaobaoTopSecretGetAPIResponseModel
}

获取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"`
	// 下次更新秘钥间隔,单位(秒)
	Interval int64 `json:"interval,omitempty" xml:"interval,omitempty"`
	// 秘钥值
	Secret string `json:"secret,omitempty" xml:"secret,omitempty"`
	// 秘钥版本号
	SecretVersion int64 `json:"secret_version,omitempty" xml:"secret_version,omitempty"`
	// 最长有效期,容灾使用,单位(秒)
	MaxInterval int64 `json:"max_interval,omitempty" xml:"max_interval,omitempty"`
	// app配置信息
	AppConfig string `json:"app_config,omitempty" xml:"app_config,omitempty"`
}

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

type TaobaoTopSecretRegisterAPIRequest

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

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

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

func NewTaobaoTopSecretRegisterRequest

func NewTaobaoTopSecretRegisterRequest() *TaobaoTopSecretRegisterAPIRequest

初始化TaobaoTopSecretRegisterAPIRequest对象

func (TaobaoTopSecretRegisterAPIRequest) GetApiMethodName

func (r TaobaoTopSecretRegisterAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoTopSecretRegisterAPIRequest) GetApiParams

func (r TaobaoTopSecretRegisterAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoTopSecretRegisterAPIRequest) GetUserId

UserId Getter

func (*TaobaoTopSecretRegisterAPIRequest) SetUserId

func (r *TaobaoTopSecretRegisterAPIRequest) SetUserId(_userId int64) error

UserId Setter 用户id,保证唯一

type TaobaoTopSecretRegisterAPIResponse

type TaobaoTopSecretRegisterAPIResponse struct {
	model.CommonResponse
	TaobaoTopSecretRegisterAPIResponseModel
}

注册加密账号 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"`
	// 返回操作是否成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

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

type TaobaoWirelessContentCheckAPIRequest

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

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

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

func NewTaobaoWirelessContentCheckRequest

func NewTaobaoWirelessContentCheckRequest() *TaobaoWirelessContentCheckAPIRequest

初始化TaobaoWirelessContentCheckAPIRequest对象

func (TaobaoWirelessContentCheckAPIRequest) GetApiMethodName

func (r TaobaoWirelessContentCheckAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWirelessContentCheckAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWirelessContentCheckAPIRequest) GetText

Text Getter

func (*TaobaoWirelessContentCheckAPIRequest) SetText

Text Setter 待检查的文本

type TaobaoWirelessContentCheckAPIResponse

type TaobaoWirelessContentCheckAPIResponse struct {
	model.CommonResponse
	TaobaoWirelessContentCheckAPIResponseModel
}

无线开放内容检查 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"`
}

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

type TaobaoWirelessPictureCheckAPIRequest

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

无线开放图片内容安全检查 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

初始化TaobaoWirelessPictureCheckAPIRequest对象

func (TaobaoWirelessPictureCheckAPIRequest) GetApiMethodName

func (r TaobaoWirelessPictureCheckAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWirelessPictureCheckAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWirelessPictureCheckAPIRequest) GetUrl

Url Getter

func (*TaobaoWirelessPictureCheckAPIRequest) SetUrl

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

type TaobaoWirelessPictureCheckAPIResponse

type TaobaoWirelessPictureCheckAPIResponse struct {
	model.CommonResponse
	TaobaoWirelessPictureCheckAPIResponseModel
}

无线开放图片内容安全检查 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"`
}

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

type TaobaoWirelessVideoCheckAPIRequest

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

无线开放视频内容安全检查 API请求 taobao.wireless.video.check

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

此API会进行三个场景的审核,检测不通过的视频将被隐藏,用户无法访问被隐藏的视频。

目前,该接口仅支持顽兔空间的视频扫描。

func NewTaobaoWirelessVideoCheckRequest

func NewTaobaoWirelessVideoCheckRequest() *TaobaoWirelessVideoCheckAPIRequest

初始化TaobaoWirelessVideoCheckAPIRequest对象

func (TaobaoWirelessVideoCheckAPIRequest) GetApiMethodName

func (r TaobaoWirelessVideoCheckAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoWirelessVideoCheckAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoWirelessVideoCheckAPIRequest) GetInterval

func (r TaobaoWirelessVideoCheckAPIRequest) GetInterval() int64

Interval Getter

func (TaobaoWirelessVideoCheckAPIRequest) GetUrl

Url Getter

func (*TaobaoWirelessVideoCheckAPIRequest) SetInterval

func (r *TaobaoWirelessVideoCheckAPIRequest) SetInterval(_interval int64) error

Interval Setter 视频截帧间隔,取值范围为[1, 60],单位为秒。 截帧最多张数为200张,请根据视频时长,合理设置截帧间隔。

func (*TaobaoWirelessVideoCheckAPIRequest) SetUrl

Url Setter 视频的URL,必须为淘系安全域名地址。视频格式支持flv、mp4。

type TaobaoWirelessVideoCheckAPIResponse

type TaobaoWirelessVideoCheckAPIResponse struct {
	model.CommonResponse
	TaobaoWirelessVideoCheckAPIResponseModel
}

无线开放视频内容安全检查 API返回值 taobao.wireless.video.check

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

此API会进行三个场景的审核,检测不通过的视频将被隐藏,用户无法访问被隐藏的视频。

目前,该接口仅支持顽兔空间的视频扫描。

type TaobaoWirelessVideoCheckAPIResponseModel

type TaobaoWirelessVideoCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"wireless_video_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result *RopResultTo `json:"result,omitempty" xml:"result,omitempty"`
}

无线开放视频内容安全检查 成功返回结果

type TmallMarketingFaceSkindetectAPIRequest

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

肌肤检测 API请求 tmall.marketing.face.skindetect

提供人脸肌肤属性报告

func NewTmallMarketingFaceSkindetectRequest

func NewTmallMarketingFaceSkindetectRequest() *TmallMarketingFaceSkindetectAPIRequest

初始化TmallMarketingFaceSkindetectAPIRequest对象

func (TmallMarketingFaceSkindetectAPIRequest) GetApiMethodName

func (r TmallMarketingFaceSkindetectAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallMarketingFaceSkindetectAPIRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallMarketingFaceSkindetectAPIRequest) GetFrontCamera

FrontCamera Getter

func (TmallMarketingFaceSkindetectAPIRequest) GetImage

Image Getter

func (TmallMarketingFaceSkindetectAPIRequest) GetMixnick

Mixnick Getter

func (TmallMarketingFaceSkindetectAPIRequest) GetSource

Source Getter

func (*TmallMarketingFaceSkindetectAPIRequest) SetFrontCamera

func (r *TmallMarketingFaceSkindetectAPIRequest) SetFrontCamera(_frontCamera string) error

FrontCamera Setter 前置摄像头1,后置摄像头0

func (*TmallMarketingFaceSkindetectAPIRequest) SetImage

Image Setter 图片的base64(必须以base64,开头)

func (*TmallMarketingFaceSkindetectAPIRequest) SetMixnick

func (r *TmallMarketingFaceSkindetectAPIRequest) SetMixnick(_mixnick string) error

Mixnick Setter 混淆nick

func (*TmallMarketingFaceSkindetectAPIRequest) SetSource

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

Source Setter isv标识

type TmallMarketingFaceSkindetectAPIResponse

type TmallMarketingFaceSkindetectAPIResponse struct {
	model.CommonResponse
	TmallMarketingFaceSkindetectAPIResponseModel
}

肌肤检测 API返回值 tmall.marketing.face.skindetect

提供人脸肌肤属性报告

type TmallMarketingFaceSkindetectAPIResponseModel

type TmallMarketingFaceSkindetectAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_marketing_face_skindetect_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// { 	"code": "top api 状态码 200表示成功 ", 	"msg": "top api 返回描述说明 ", 	"data": { 		"detect_time": "检测时间戳 ", 		"gender": "0为男性1为女性 ", 		"age": "年龄 ", 		"color_level": "肤色等级,0~7,数字越小越白 ", 		"hue_level": " 色调等级,0~2,冷色,中性,暖色", 		"oil_cheeck": "脸颊含油 ", 		"oil_t_area": "T区含油 ", 		"oil_chin": "下巴含油 ", 		"oil_level": "总体出油情况, 0-干性,1-偏干,2-中性,3-混合油性,4-偏油,5-油性 ", 		"smooth_level": " 光滑度等级,0~3,数字越小越光滑 ", 		"acne_level": "痘痘严重程度,0~3,0表示没有,1~3表示轻度、中度、重度 ", 		"pore_level": " 毛孔粗细等级,0~2 - 细致,较粗大,粗大 ", 		"blackheads": "黑头数量 ", 		"black_level": "黑头严重程度,0~3,0表示没有,1~3表示轻度、中度、重度 ", 		"acne_loc": "痘痘坐标x,y,半径大小r(x,y,r)", 		"score": "颜值分", 		"r_face": "人脸区域坐标(x,y,w,h)", 		"code": "状态码,0表示成功" 	} }
	DetectResult string `json:"detect_result,omitempty" xml:"detect_result,omitempty"`
}

肌肤检测 成功返回结果

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

Source Files

Jump to

Keyboard shortcuts

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