util

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Overview

工具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
}
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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAisAssetsTagAbortAPIRequest) GetRequestParam

func (r AlibabaAisAssetsTagAbortAPIRequest) GetRequestParam() string

Get RequestParam Getter

func (*AlibabaAisAssetsTagAbortAPIRequest) SetRequestParam

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAisAssetsTagGenerateAPIRequest) GetRequestParam

func (r AlibabaAisAssetsTagGenerateAPIRequest) GetRequestParam() string

Get RequestParam Getter

func (*AlibabaAisAssetsTagGenerateAPIRequest) SetRequestParam

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

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAisAssetsTagGetAPIRequest) GetUNonce

Get UNonce Getter

func (*AlibabaAisAssetsTagGetAPIRequest) SetUNonce

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

Set 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 AlibabaCuntaoInteractRequisitionGetAPIRequest

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

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

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

func NewAlibabaCuntaoInteractRequisitionGetRequest

func NewAlibabaCuntaoInteractRequisitionGetRequest() *AlibabaCuntaoInteractRequisitionGetAPIRequest

NewAlibabaCuntaoInteractRequisitionGetRequest 初始化AlibabaCuntaoInteractRequisitionGetAPIRequest对象

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetGmtCreateEnd

Get GmtCreateEnd Getter

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetGmtCreateStart

Get GmtCreateStart Getter

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetPageIndex

Get PageIndex Getter

func (AlibabaCuntaoInteractRequisitionGetAPIRequest) GetPageSize

Get PageSize Getter

func (*AlibabaCuntaoInteractRequisitionGetAPIRequest) SetGmtCreateEnd

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

Set is GmtCreateEnd Setter 截止时间戳,开区间

func (*AlibabaCuntaoInteractRequisitionGetAPIRequest) SetGmtCreateStart

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

Set is GmtCreateStart Setter 开始时间戳,闭区间

func (*AlibabaCuntaoInteractRequisitionGetAPIRequest) SetPageIndex

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

Set is PageIndex Setter 页码,从0开始

func (*AlibabaCuntaoInteractRequisitionGetAPIRequest) SetPageSize

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

Set is PageSize Setter 页大小,默认20

type AlibabaCuntaoInteractRequisitionGetAPIResponse

type AlibabaCuntaoInteractRequisitionGetAPIResponse struct {
	model.CommonResponse
	AlibabaCuntaoInteractRequisitionGetAPIResponseModel
}
AlibabaCuntaoInteractRequisitionGetAPIResponse

供应商获取物料申请单列表 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"`
}

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

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
}
AlibabaCuntaoInteractRequisitionUpdateAPIRequest

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

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

func NewAlibabaCuntaoInteractRequisitionUpdateRequest

func NewAlibabaCuntaoInteractRequisitionUpdateRequest() *AlibabaCuntaoInteractRequisitionUpdateAPIRequest

NewAlibabaCuntaoInteractRequisitionUpdateRequest 初始化AlibabaCuntaoInteractRequisitionUpdateAPIRequest对象

func (AlibabaCuntaoInteractRequisitionUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCuntaoInteractRequisitionUpdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCuntaoInteractRequisitionUpdateAPIRequest) GetStatus

Get Status Getter

func (AlibabaCuntaoInteractRequisitionUpdateAPIRequest) GetUuidList

Get UuidList Getter

func (*AlibabaCuntaoInteractRequisitionUpdateAPIRequest) SetStatus

Set is Status Setter 物料制作状态

func (*AlibabaCuntaoInteractRequisitionUpdateAPIRequest) SetUuidList

Set is UuidList Setter 申请单id列表

type AlibabaCuntaoInteractRequisitionUpdateAPIResponse

type AlibabaCuntaoInteractRequisitionUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaCuntaoInteractRequisitionUpdateAPIResponseModel
}
AlibabaCuntaoInteractRequisitionUpdateAPIResponse

更新物料制作状态 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"`
}

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

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
}
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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorUiAPIRequest) GetUnNamed

Get UnNamed Getter

func (*AlibabaInteractSensorUiAPIRequest) SetUnNamed

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

Set 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 AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest

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

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

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

func NewAlibabaInteractSupplierAwardResourceGetCuntaoRequest

func NewAlibabaInteractSupplierAwardResourceGetCuntaoRequest() *AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest

NewAlibabaInteractSupplierAwardResourceGetCuntaoRequest 初始化AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest对象

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetActivityKey

Get ActivityKey Getter

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetLat

Get Lat Getter

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetLng

Get Lng Getter

func (AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) GetUserNick

Get UserNick Getter

func (*AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) SetActivityKey

Set is ActivityKey Setter 活动code

func (*AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) SetLat

Set is Lat Setter 纬度

func (*AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) SetLng

Set is Lng Setter 经度

func (*AlibabaInteractSupplierAwardResourceGetCuntaoAPIRequest) SetUserNick

Set is UserNick Setter 用户昵称

type AlibabaInteractSupplierAwardResourceGetCuntaoAPIResponse

type AlibabaInteractSupplierAwardResourceGetCuntaoAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSupplierAwardResourceGetCuntaoAPIResponseModel
}
AlibabaInteractSupplierAwardResourceGetCuntaoAPIResponse

权益池信息查询 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"`
}

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

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetCounterNo

Get CounterNo Getter

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetSn

Get Sn Getter

func (AlibabaMosFalconPosCounterQueryAPIRequest) GetStoreNo

Get StoreNo Getter

func (*AlibabaMosFalconPosCounterQueryAPIRequest) SetCounterNo

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

Set is CounterNo Setter 专柜号

func (*AlibabaMosFalconPosCounterQueryAPIRequest) SetSn

Set is Sn Setter 设备序列号

func (*AlibabaMosFalconPosCounterQueryAPIRequest) SetStoreNo

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

Set 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 {
	// 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
}
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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailDeviceTradeShipAPIRequest) GetDeviceId

Get DeviceId Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetDeviceType

Get DeviceType Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetOrderUpdateOption

Get OrderUpdateOption Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetShipDetailList

func (r AlibabaRetailDeviceTradeShipAPIRequest) GetShipDetailList() []ShipDetailDto

Get ShipDetailList Getter

func (AlibabaRetailDeviceTradeShipAPIRequest) GetTradeNo

Get TradeNo Getter

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetDeviceId

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

Set is DeviceId Setter 设备ID

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetDeviceType

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

Set is DeviceType Setter 设备类型

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetOrderUpdateOption

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

Set is OrderUpdateOption Setter 选项

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetShipDetailList

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

Set is ShipDetailList Setter 详情

func (*AlibabaRetailDeviceTradeShipAPIRequest) SetTradeNo

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailShorturlGetAPIRequest) GetOptions

Get Options Getter

func (AlibabaRetailShorturlGetAPIRequest) GetSourceUrl

func (r AlibabaRetailShorturlGetAPIRequest) GetSourceUrl() string

Get SourceUrl Getter

func (*AlibabaRetailShorturlGetAPIRequest) SetOptions

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

Set is Options Setter 系统自动生成

func (*AlibabaRetailShorturlGetAPIRequest) SetSourceUrl

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

Set 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 {
	// 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
}
AlibabaTaobaoWtUserCrowdAPIRequest

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

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

func NewAlibabaTaobaoWtUserCrowdRequest

func NewAlibabaTaobaoWtUserCrowdRequest() *AlibabaTaobaoWtUserCrowdAPIRequest

NewAlibabaTaobaoWtUserCrowdRequest 初始化AlibabaTaobaoWtUserCrowdAPIRequest对象

func (AlibabaTaobaoWtUserCrowdAPIRequest) GetApiMethodName

func (r AlibabaTaobaoWtUserCrowdAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaTaobaoWtUserCrowdAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaTaobaoWtUserCrowdAPIRequest) GetPhone

Get Phone Getter

func (*AlibabaTaobaoWtUserCrowdAPIRequest) SetPhone

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

Set is Phone Setter 手机号

type AlibabaTaobaoWtUserCrowdAPIResponse

type AlibabaTaobaoWtUserCrowdAPIResponse struct {
	model.CommonResponse
	AlibabaTaobaoWtUserCrowdAPIResponseModel
}
AlibabaTaobaoWtUserCrowdAPIResponse

校验用户是否为新人 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"`
}

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

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSocialCountryGetAPIRequest) GetLanguage

Get Language Getter

func (*AliexpressSocialCountryGetAPIRequest) SetLanguage

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

Set 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

GetApiParams 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

GetApiParams 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 {
	// 资产类型
	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
}
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() url.Values

GetApiParams 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFilesGetAPIRequest) GetEndDate

func (r TaobaoFilesGetAPIRequest) GetEndDate() string

Get EndDate Getter

func (TaobaoFilesGetAPIRequest) GetStartDate

func (r TaobaoFilesGetAPIRequest) GetStartDate() string

Get StartDate Getter

func (TaobaoFilesGetAPIRequest) GetStatus

func (r TaobaoFilesGetAPIRequest) GetStatus() int64

Get Status Getter

func (*TaobaoFilesGetAPIRequest) SetEndDate

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

Set is EndDate Setter 搜索结束时间

func (*TaobaoFilesGetAPIRequest) SetStartDate

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

Set is StartDate Setter 搜索开始时间

func (*TaobaoFilesGetAPIRequest) SetStatus

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

Set 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() url.Values

GetApiParams 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKfcKeywordSearchAPIRequest) GetApply

Get Apply Getter

func (TaobaoKfcKeywordSearchAPIRequest) GetContent

Get Content Getter

func (TaobaoKfcKeywordSearchAPIRequest) GetNick

Get Nick Getter

func (*TaobaoKfcKeywordSearchAPIRequest) SetApply

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

Set 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

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

func (*TaobaoKfcKeywordSearchAPIRequest) SetNick

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenlinkSessionGetAPIRequest) GetCode

Get Code Getter

func (*TaobaoOpenlinkSessionGetAPIRequest) SetCode

Set 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 {
	// 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
}
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() url.Values

GetApiParams 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenuidGetBymixnickAPIRequest) GetMixNick

Get MixNick Getter

func (*TaobaoOpenuidGetBymixnickAPIRequest) SetMixNick

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

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenuidGetBytradeAPIRequest) GetTid

Get Tid Getter

func (*TaobaoOpenuidGetBytradeAPIRequest) SetTid

Set 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 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQimenEventProduceAPIRequest) GetCreate

Get Create Getter

func (TaobaoQimenEventProduceAPIRequest) GetExt

Get Ext Getter

func (TaobaoQimenEventProduceAPIRequest) GetNick

Get Nick Getter

func (TaobaoQimenEventProduceAPIRequest) GetPlatform

func (r TaobaoQimenEventProduceAPIRequest) GetPlatform() string

Get Platform Getter

func (TaobaoQimenEventProduceAPIRequest) GetStatus

Get Status Getter

func (TaobaoQimenEventProduceAPIRequest) GetTid

Get Tid Getter

func (*TaobaoQimenEventProduceAPIRequest) SetCreate

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

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

func (*TaobaoQimenEventProduceAPIRequest) SetExt

Set is Ext Setter JSON格式扩展字段

func (*TaobaoQimenEventProduceAPIRequest) SetNick

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

func (*TaobaoQimenEventProduceAPIRequest) SetPlatform

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

Set 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

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

func (*TaobaoQimenEventProduceAPIRequest) SetTid

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQimenEventsProduceAPIRequest) GetMessages

Get Messages Getter

func (*TaobaoQimenEventsProduceAPIRequest) SetMessages

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

Set 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"`
	// 是否全部成功
	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"`
}

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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQimenTradeUserAddAPIRequest) GetMemo

Get Memo Getter

func (*TaobaoQimenTradeUserAddAPIRequest) SetMemo

Set 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

GetApiParams 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQimenTradeUsersGetAPIRequest) GetPageIndex

func (r TaobaoQimenTradeUsersGetAPIRequest) GetPageIndex() int64

Get PageIndex Getter

func (TaobaoQimenTradeUsersGetAPIRequest) GetPageSize

func (r TaobaoQimenTradeUsersGetAPIRequest) GetPageSize() int64

Get PageSize Getter

func (*TaobaoQimenTradeUsersGetAPIRequest) SetPageIndex

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

Set is PageIndex Setter 每页的数量

func (*TaobaoQimenTradeUsersGetAPIRequest) SetPageSize

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

Set 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"`
	// totalCount
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// modal
	Users []QimenUser `json:"users,omitempty" xml:"users>qimen_user,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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusRefundsCheckAPIRequest) GetParam

Get Param Getter

func (*TaobaoRdcAligeniusRefundsCheckAPIRequest) SetParam

Set 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 {
	// 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
}
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

GetApiParams 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 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() url.Values

GetApiParams 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTmcAuthGetAPIRequest) GetGroup

func (r TaobaoTmcAuthGetAPIRequest) GetGroup() string

Get Group Getter

func (*TaobaoTmcAuthGetAPIRequest) SetGroup

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopAuthTokenCreateAPIRequest) GetCode

Get Code Getter

func (TaobaoTopAuthTokenCreateAPIRequest) GetUuid

Get Uuid Getter

func (*TaobaoTopAuthTokenCreateAPIRequest) SetCode

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

func (*TaobaoTopAuthTokenCreateAPIRequest) SetUuid

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopAuthTokenRefreshAPIRequest) GetRefreshToken

func (r TaobaoTopAuthTokenRefreshAPIRequest) GetRefreshToken() string

Get RefreshToken Getter

func (*TaobaoTopAuthTokenRefreshAPIRequest) SetRefreshToken

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

Set 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 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() url.Values

GetApiParams 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 TaobaoTopOnceTokenGetAPIRequest

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

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

网关一次性token获取

func NewTaobaoTopOnceTokenGetRequest

func NewTaobaoTopOnceTokenGetRequest() *TaobaoTopOnceTokenGetAPIRequest

NewTaobaoTopOnceTokenGetRequest 初始化TaobaoTopOnceTokenGetAPIRequest对象

func (TaobaoTopOnceTokenGetAPIRequest) GetApiMethodName

func (r TaobaoTopOnceTokenGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTopOnceTokenGetAPIRequest) GetApiParams

func (r TaobaoTopOnceTokenGetAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopOnceTokenGetAPIRequest) GetSecToken

func (r TaobaoTopOnceTokenGetAPIRequest) GetSecToken() string

Get SecToken Getter

func (*TaobaoTopOnceTokenGetAPIRequest) SetSecToken

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

Set is SecToken Setter sec_token

type TaobaoTopOnceTokenGetAPIResponse

type TaobaoTopOnceTokenGetAPIResponse struct {
	model.CommonResponse
	TaobaoTopOnceTokenGetAPIResponseModel
}
TaobaoTopOnceTokenGetAPIResponse

网关一次性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"`
}

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

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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopOpenidConvertAPIRequest) GetMixNick

Get MixNick Getter

func (*TaobaoTopOpenidConvertAPIRequest) SetMixNick

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetContent

Get Content Getter

func (TaobaoTopSdkFeedbackUploadAPIRequest) GetType

Get Type Getter

func (*TaobaoTopSdkFeedbackUploadAPIRequest) SetContent

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

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

func (*TaobaoTopSdkFeedbackUploadAPIRequest) SetType

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopSecretGetAPIRequest) GetCustomerUserId

func (r TaobaoTopSecretGetAPIRequest) GetCustomerUserId() int64

Get CustomerUserId Getter

func (TaobaoTopSecretGetAPIRequest) GetRandomNum

func (r TaobaoTopSecretGetAPIRequest) GetRandomNum() string

Get RandomNum Getter

func (TaobaoTopSecretGetAPIRequest) GetSecretVersion

func (r TaobaoTopSecretGetAPIRequest) GetSecretVersion() int64

Get SecretVersion Getter

func (*TaobaoTopSecretGetAPIRequest) SetCustomerUserId

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

Set is CustomerUserId Setter 自定义用户id

func (*TaobaoTopSecretGetAPIRequest) SetRandomNum

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

Set is RandomNum Setter 伪随机数

func (*TaobaoTopSecretGetAPIRequest) SetSecretVersion

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

Set 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"`
	// 下次更新秘钥间隔,单位(秒)
	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"`
}

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

type TaobaoTopSecretRegisterAPIRequest

type TaobaoTopSecretRegisterAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTopSecretRegisterAPIRequest) GetUserId

Get UserId Getter

func (*TaobaoTopSecretRegisterAPIRequest) SetUserId

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

Set is UserId Setter 用户id,保证唯一

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"`
	// 返回操作是否成功
	Result bool `json:"result,omitempty" xml:"result,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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWirelessContentCheckAPIRequest) GetText

Get Text Getter

func (*TaobaoWirelessContentCheckAPIRequest) SetText

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWirelessPictureCheckAPIRequest) GetUrl

Get Url Getter

func (*TaobaoWirelessPictureCheckAPIRequest) SetUrl

Set 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 TaobaoWirelessVideoCheckAPIRequest

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

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

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

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

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

func NewTaobaoWirelessVideoCheckRequest

func NewTaobaoWirelessVideoCheckRequest() *TaobaoWirelessVideoCheckAPIRequest

NewTaobaoWirelessVideoCheckRequest 初始化TaobaoWirelessVideoCheckAPIRequest对象

func (TaobaoWirelessVideoCheckAPIRequest) GetApiMethodName

func (r TaobaoWirelessVideoCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWirelessVideoCheckAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWirelessVideoCheckAPIRequest) GetInterval

func (r TaobaoWirelessVideoCheckAPIRequest) GetInterval() int64

Get Interval Getter

func (TaobaoWirelessVideoCheckAPIRequest) GetUrl

Get Url Getter

func (*TaobaoWirelessVideoCheckAPIRequest) SetInterval

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

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

func (*TaobaoWirelessVideoCheckAPIRequest) SetUrl

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

type TaobaoWirelessVideoCheckAPIResponse

type TaobaoWirelessVideoCheckAPIResponse struct {
	model.CommonResponse
	TaobaoWirelessVideoCheckAPIResponseModel
}
TaobaoWirelessVideoCheckAPIResponse

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

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

type TmallMarketingFaceSkindetectAPIRequest

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

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

提供人脸肌肤属性报告

func NewTmallMarketingFaceSkindetectRequest

func NewTmallMarketingFaceSkindetectRequest() *TmallMarketingFaceSkindetectAPIRequest

NewTmallMarketingFaceSkindetectRequest 初始化TmallMarketingFaceSkindetectAPIRequest对象

func (TmallMarketingFaceSkindetectAPIRequest) GetApiMethodName

func (r TmallMarketingFaceSkindetectAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallMarketingFaceSkindetectAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TmallMarketingFaceSkindetectAPIRequest) GetFrontCamera

Get FrontCamera Getter

func (TmallMarketingFaceSkindetectAPIRequest) GetImage

Get Image Getter

func (TmallMarketingFaceSkindetectAPIRequest) GetMixnick

Get Mixnick Getter

func (TmallMarketingFaceSkindetectAPIRequest) GetSource

Get Source Getter

func (*TmallMarketingFaceSkindetectAPIRequest) SetFrontCamera

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

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

func (*TmallMarketingFaceSkindetectAPIRequest) SetImage

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

func (*TmallMarketingFaceSkindetectAPIRequest) SetMixnick

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

Set is Mixnick Setter 混淆nick

func (*TmallMarketingFaceSkindetectAPIRequest) SetSource

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

Set is Source Setter isv标识

type TmallMarketingFaceSkindetectAPIResponse

type TmallMarketingFaceSkindetectAPIResponse struct {
	model.CommonResponse
	TmallMarketingFaceSkindetectAPIResponseModel
}
TmallMarketingFaceSkindetectAPIResponse

肌肤检测 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"`
}

TmallMarketingFaceSkindetectAPIResponseModel 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 结构体

Source Files

Jump to

Keyboard shortcuts

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