mtopopen

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mtopopen 包含手淘开放API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityLotteryWriteResult

type ActivityLotteryWriteResult struct {
	// isv活动url
	H5Url string `json:"h5_url,omitempty" xml:"h5_url,omitempty"`
	// isv活动的id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
}

ActivityLotteryWriteResult 结构体

type AlibabaInteractAllsparkisvDrawAPIRequest added in v1.2.0

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

AlibabaInteractAllsparkisvDrawAPIRequest allspark提供抽奖tida接口对应鉴权接口 API请求 alibaba.interact.allsparkisv.draw

该接口没有实际对外使用。只是内部鉴权使用,不会有三方应用调用

func NewAlibabaInteractAllsparkisvDrawRequest

func NewAlibabaInteractAllsparkisvDrawRequest() *AlibabaInteractAllsparkisvDrawAPIRequest

NewAlibabaInteractAllsparkisvDrawRequest 初始化AlibabaInteractAllsparkisvDrawAPIRequest对象

func (AlibabaInteractAllsparkisvDrawAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractAllsparkisvDrawAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractAllsparkisvDrawAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractAllsparkisvDrawAPIRequest) GetDdd added in v1.2.0

GetDdd Ddd Getter

func (AlibabaInteractAllsparkisvDrawAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaInteractAllsparkisvDrawAPIRequest) GetTest added in v1.2.0

GetTest Test Getter

func (*AlibabaInteractAllsparkisvDrawAPIRequest) SetDdd added in v1.2.0

SetDdd is Ddd Setter dd

func (*AlibabaInteractAllsparkisvDrawAPIRequest) SetTest added in v1.2.0

SetTest is Test Setter ddd

type AlibabaInteractAllsparkisvDrawAPIResponse

type AlibabaInteractAllsparkisvDrawAPIResponse struct {
	model.CommonResponse
	AlibabaInteractAllsparkisvDrawAPIResponseModel
}

AlibabaInteractAllsparkisvDrawAPIResponse allspark提供抽奖tida接口对应鉴权接口 API返回值 alibaba.interact.allsparkisv.draw

该接口没有实际对外使用。只是内部鉴权使用,不会有三方应用调用

type AlibabaInteractAllsparkisvDrawAPIResponseModel added in v1.2.0

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

AlibabaInteractAllsparkisvDrawAPIResponseModel is allspark提供抽奖tida接口对应鉴权接口 成功返回结果

type AlibabaInteractAopdataRegisterAPIRequest added in v1.2.0

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

AlibabaInteractAopdataRegisterAPIRequest 资源位数据推送接口 API请求 alibaba.interact.aopdata.register

提供给isv,查询以及推送浮层资源位的三方活动数据

func NewAlibabaInteractAopdataRegisterRequest

func NewAlibabaInteractAopdataRegisterRequest() *AlibabaInteractAopdataRegisterAPIRequest

NewAlibabaInteractAopdataRegisterRequest 初始化AlibabaInteractAopdataRegisterAPIRequest对象

func (AlibabaInteractAopdataRegisterAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractAopdataRegisterAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractAopdataRegisterAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractAopdataRegisterAPIRequest) GetParamTopIsvDecorateParam added in v1.2.0

func (r AlibabaInteractAopdataRegisterAPIRequest) GetParamTopIsvDecorateParam() *TopIsvDecorateParam

GetParamTopIsvDecorateParam ParamTopIsvDecorateParam Getter

func (AlibabaInteractAopdataRegisterAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaInteractAopdataRegisterAPIRequest) SetParamTopIsvDecorateParam added in v1.2.0

func (r *AlibabaInteractAopdataRegisterAPIRequest) SetParamTopIsvDecorateParam(_paramTopIsvDecorateParam *TopIsvDecorateParam) error

SetParamTopIsvDecorateParam is ParamTopIsvDecorateParam Setter 入参

type AlibabaInteractAopdataRegisterAPIResponse

type AlibabaInteractAopdataRegisterAPIResponse struct {
	model.CommonResponse
	AlibabaInteractAopdataRegisterAPIResponseModel
}

AlibabaInteractAopdataRegisterAPIResponse 资源位数据推送接口 API返回值 alibaba.interact.aopdata.register

提供给isv,查询以及推送浮层资源位的三方活动数据

type AlibabaInteractAopdataRegisterAPIResponseModel added in v1.2.0

type AlibabaInteractAopdataRegisterAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_aopdata_register_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaInteractAopdataRegisterResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaInteractAopdataRegisterAPIResponseModel is 资源位数据推送接口 成功返回结果

type AlibabaInteractAopdataRegisterResult

type AlibabaInteractAopdataRegisterResult struct {
	// xx
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// xxx失败
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// xxx失败
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 跟踪请求使用
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 接口调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaInteractAopdataRegisterResult 结构体

type AlibabaInteractLotteryactivityRegisterAPIRequest added in v1.2.0

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

AlibabaInteractLotteryactivityRegisterAPIRequest 回传抽奖相关参数 API请求 alibaba.interact.lotteryactivity.register

提供接口供三方应用将数据回传到平台

func NewAlibabaInteractLotteryactivityRegisterRequest

func NewAlibabaInteractLotteryactivityRegisterRequest() *AlibabaInteractLotteryactivityRegisterAPIRequest

NewAlibabaInteractLotteryactivityRegisterRequest 初始化AlibabaInteractLotteryactivityRegisterAPIRequest对象

func (AlibabaInteractLotteryactivityRegisterAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractLotteryactivityRegisterAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractLotteryactivityRegisterAPIRequest) GetParamTopUpdateActivityLotteryInfoParam added in v1.2.0

func (r AlibabaInteractLotteryactivityRegisterAPIRequest) GetParamTopUpdateActivityLotteryInfoParam() *TopUpdateActivityLotteryInfoParam

GetParamTopUpdateActivityLotteryInfoParam ParamTopUpdateActivityLotteryInfoParam Getter

func (AlibabaInteractLotteryactivityRegisterAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaInteractLotteryactivityRegisterAPIRequest) SetParamTopUpdateActivityLotteryInfoParam added in v1.2.0

func (r *AlibabaInteractLotteryactivityRegisterAPIRequest) SetParamTopUpdateActivityLotteryInfoParam(_paramTopUpdateActivityLotteryInfoParam *TopUpdateActivityLotteryInfoParam) error

SetParamTopUpdateActivityLotteryInfoParam is ParamTopUpdateActivityLotteryInfoParam Setter 入参

type AlibabaInteractLotteryactivityRegisterAPIResponse

type AlibabaInteractLotteryactivityRegisterAPIResponse struct {
	model.CommonResponse
	AlibabaInteractLotteryactivityRegisterAPIResponseModel
}

AlibabaInteractLotteryactivityRegisterAPIResponse 回传抽奖相关参数 API返回值 alibaba.interact.lotteryactivity.register

提供接口供三方应用将数据回传到平台

type AlibabaInteractLotteryactivityRegisterAPIResponseModel added in v1.2.0

type AlibabaInteractLotteryactivityRegisterAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_lotteryactivity_register_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaInteractLotteryactivityRegisterResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaInteractLotteryactivityRegisterAPIResponseModel is 回传抽奖相关参数 成功返回结果

type AlibabaInteractLotteryactivityRegisterResult

type AlibabaInteractLotteryactivityRegisterResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 方便追踪请求的唯一标识
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 返回的数据
	Data *ActivityLotteryWriteResult `json:"data,omitempty" xml:"data,omitempty"`
	// xxx
	ModuleMap *Modulemap `json:"module_map,omitempty" xml:"module_map,omitempty"`
	// 注册抽奖活动失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaInteractLotteryactivityRegisterResult 结构体

type AlibabaInteractMediaArtworkAPIRequest added in v1.2.0

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

AlibabaInteractMediaArtworkAPIRequest 原图相关鉴权接口 API请求 alibaba.interact.media.artwork

拍摄并上传原图相关鉴权接口

func NewAlibabaInteractMediaArtworkRequest

func NewAlibabaInteractMediaArtworkRequest() *AlibabaInteractMediaArtworkAPIRequest

NewAlibabaInteractMediaArtworkRequest 初始化AlibabaInteractMediaArtworkAPIRequest对象

func (AlibabaInteractMediaArtworkAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractMediaArtworkAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractMediaArtworkAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractMediaArtworkAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (AlibabaInteractMediaArtworkAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaInteractMediaArtworkAPIRequest) SetId added in v1.2.0

SetId is Id Setter 系统自动生成

type AlibabaInteractMediaArtworkAPIResponse

type AlibabaInteractMediaArtworkAPIResponse struct {
	model.CommonResponse
	AlibabaInteractMediaArtworkAPIResponseModel
}

AlibabaInteractMediaArtworkAPIResponse 原图相关鉴权接口 API返回值 alibaba.interact.media.artwork

拍摄并上传原图相关鉴权接口

type AlibabaInteractMediaArtworkAPIResponseModel added in v1.2.0

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

AlibabaInteractMediaArtworkAPIResponseModel is 原图相关鉴权接口 成功返回结果

type AlibabaInteractMediaAudioAPIRequest added in v1.2.0

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

AlibabaInteractMediaAudioAPIRequest 音频相关鉴权接口 API请求 alibaba.interact.media.audio

新音频包的鉴权接口

func NewAlibabaInteractMediaAudioRequest

func NewAlibabaInteractMediaAudioRequest() *AlibabaInteractMediaAudioAPIRequest

NewAlibabaInteractMediaAudioRequest 初始化AlibabaInteractMediaAudioAPIRequest对象

func (AlibabaInteractMediaAudioAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractMediaAudioAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractMediaAudioAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractMediaAudioAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (AlibabaInteractMediaAudioAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaInteractMediaAudioAPIRequest) SetId added in v1.2.0

SetId is Id Setter 系统自动生成

type AlibabaInteractMediaAudioAPIResponse

type AlibabaInteractMediaAudioAPIResponse struct {
	model.CommonResponse
	AlibabaInteractMediaAudioAPIResponseModel
}

AlibabaInteractMediaAudioAPIResponse 音频相关鉴权接口 API返回值 alibaba.interact.media.audio

新音频包的鉴权接口

type AlibabaInteractMediaAudioAPIResponseModel added in v1.2.0

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

AlibabaInteractMediaAudioAPIResponseModel is 音频相关鉴权接口 成功返回结果

type AlibabaInteractSensorSocialAPIRequest added in v1.2.0

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

AlibabaInteractSensorSocialAPIRequest 社交组件 API请求 alibaba.interact.sensor.social

赞,评论 ,关注 新增接口

func NewAlibabaInteractSensorSocialRequest

func NewAlibabaInteractSensorSocialRequest() *AlibabaInteractSensorSocialAPIRequest

NewAlibabaInteractSensorSocialRequest 初始化AlibabaInteractSensorSocialAPIRequest对象

func (AlibabaInteractSensorSocialAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractSensorSocialAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorSocialAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorSocialAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (AlibabaInteractSensorSocialAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaInteractSensorSocialAPIRequest) SetId added in v1.2.0

SetId is Id Setter 系统自动生成

type AlibabaInteractSensorSocialAPIResponse

type AlibabaInteractSensorSocialAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorSocialAPIResponseModel
}

AlibabaInteractSensorSocialAPIResponse 社交组件 API返回值 alibaba.interact.sensor.social

赞,评论 ,关注 新增接口

type AlibabaInteractSensorSocialAPIResponseModel added in v1.2.0

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

AlibabaInteractSensorSocialAPIResponseModel is 社交组件 成功返回结果

type AlibabaInteractSensorTradeAPIRequest added in v1.2.0

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

AlibabaInteractSensorTradeAPIRequest 交易组件 API请求 alibaba.interact.sensor.trade

交易流程

func NewAlibabaInteractSensorTradeRequest

func NewAlibabaInteractSensorTradeRequest() *AlibabaInteractSensorTradeAPIRequest

NewAlibabaInteractSensorTradeRequest 初始化AlibabaInteractSensorTradeAPIRequest对象

func (AlibabaInteractSensorTradeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractSensorTradeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorTradeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorTradeAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (AlibabaInteractSensorTradeAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaInteractSensorTradeAPIRequest) SetId added in v1.2.0

SetId is Id Setter 系统自动生成

type AlibabaInteractSensorTradeAPIResponse

type AlibabaInteractSensorTradeAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorTradeAPIResponseModel
}

AlibabaInteractSensorTradeAPIResponse 交易组件 API返回值 alibaba.interact.sensor.trade

交易流程

type AlibabaInteractSensorTradeAPIResponseModel added in v1.2.0

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

AlibabaInteractSensorTradeAPIResponseModel is 交易组件 成功返回结果

type AlibabaInteractSensorTradeBuyAPIRequest added in v1.2.0

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

AlibabaInteractSensorTradeBuyAPIRequest 手淘下单能力开放 API请求 alibaba.interact.sensor.trade.buy

交易流程鉴权

func NewAlibabaInteractSensorTradeBuyRequest

func NewAlibabaInteractSensorTradeBuyRequest() *AlibabaInteractSensorTradeBuyAPIRequest

NewAlibabaInteractSensorTradeBuyRequest 初始化AlibabaInteractSensorTradeBuyAPIRequest对象

func (AlibabaInteractSensorTradeBuyAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractSensorTradeBuyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorTradeBuyAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorTradeBuyAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (AlibabaInteractSensorTradeBuyAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaInteractSensorTradeBuyAPIRequest) SetId added in v1.2.0

SetId is Id Setter 系统自动生成

type AlibabaInteractSensorTradeBuyAPIResponse

type AlibabaInteractSensorTradeBuyAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorTradeBuyAPIResponseModel
}

AlibabaInteractSensorTradeBuyAPIResponse 手淘下单能力开放 API返回值 alibaba.interact.sensor.trade.buy

交易流程鉴权

type AlibabaInteractSensorTradeBuyAPIResponseModel added in v1.2.0

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

AlibabaInteractSensorTradeBuyAPIResponseModel is 手淘下单能力开放 成功返回结果

type GeneralLogisticsDataWriteRequest added in v1.2.9

type GeneralLogisticsDataWriteRequest struct {
	// 快递公司标准编码
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 运单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 运单关联包裹的当前物流状态,需和平台侧定义的枚举名保持一致。
	CurrentLogisticsStatus string `json:"current_logistics_status,omitempty" xml:"current_logistics_status,omitempty"`
	// 运单关联包裹的收件人手机号。淘内包裹必须不填,淘外包裹必填,否则无法发送push消息
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 待写入的数据,key值需要按照平台侧定义的标准。isSupportDeliveryHome:是否支持送货上门。hasSignPic:是否有签收照片。value为String类型,TRUE代表真,FALSE代表假
	ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"`
	// 用户在手淘中登陆并授权小程序后的唯一标识。登陆过淘宝小程序的用户都会有一个openid,如果有尽量传过来,因为如果缺少openid,则无法判断用户是否为高活用户,也就无法决策是否推送push消息
	Openid string `json:"openid,omitempty" xml:"openid,omitempty"`
	// INTERNAL:淘内包裹,EXTERNAL:淘外包裹
	PackageType string `json:"package_type,omitempty" xml:"package_type,omitempty"`
	// DELIVERY_HOME:送货上门。SIGN_PIC:签收照片
	Scene string `json:"scene,omitempty" xml:"scene,omitempty"`
}

GeneralLogisticsDataWriteRequest 结构体

type GeneralLogisticsDataWriteResponse added in v1.2.9

type GeneralLogisticsDataWriteResponse struct {
	// 信息写入错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 信息写入错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 信息写入是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

GeneralLogisticsDataWriteResponse 结构体

type ModifyDeliveryRequest added in v1.2.9

type ModifyDeliveryRequest struct {
	// 订单ID
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 快递公司标准编码
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 快递单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 收货方式对应的参数,送货上门:{"day":"2023-03-22","times":"10:00-13:00"} 派送到指定地点:{"point":"物业"} 找人代收:{"fullName":"xxxx","mobile":"xxxxxx"}
	ExtendParam string `json:"extend_param,omitempty" xml:"extend_param,omitempty"`
	// 修改渠道-淘宝小程序:taoBao,非淘宝:others
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 收货方式「送货上门:0,快递柜/代收点:1,指定地点:2,找人代收:3,其他:-1」
	ReceiveType int64 `json:"receive_type,omitempty" xml:"receive_type,omitempty"`
}

ModifyDeliveryRequest 结构体

type ModifyDeliveryResponse added in v1.2.9

type ModifyDeliveryResponse struct {
	// 信息回传错误码(成功情况无需关注)
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 信息回传错误原因(成功情况无需关注)
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 信息回传是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ModifyDeliveryResponse 结构体

type ModifyRequest added in v1.2.9

type ModifyRequest struct {
	// 订单ID
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 快递公司标准编码
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 快递单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 修改后收件人
	Fetcher string `json:"fetcher,omitempty" xml:"fetcher,omitempty"`
	// 修改后派送时间
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
}

ModifyRequest 结构体

type ModifyResponse added in v1.2.9

type ModifyResponse struct {
	// 信息回传错误码(成功情况无需关注)
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 信息回传错误原因(成功情况无需关注)
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 信息回传是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ModifyResponse 结构体

type Modulemap

type Modulemap struct {
	// false
	Empty bool `json:"empty,omitempty" xml:"empty,omitempty"`
}

Modulemap 结构体

type MsgSendRequest added in v1.2.8

type MsgSendRequest struct {
	// 快递公司编码
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 运单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 扩展参数
	ExtParams string `json:"ext_params,omitempty" xml:"ext_params,omitempty"`
	// 发生时间
	OccurTime int64 `json:"occur_time,omitempty" xml:"occur_time,omitempty"`
	// 类型(1-RETENTION-滞留即将收费、2-TAKEOUT-快递员取出)
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

MsgSendRequest 结构体

type MsgSendResponse added in v1.2.8

type MsgSendResponse struct {
	// 短信发送失败结果码(成功情况无需关注)
	SmsErrorCode string `json:"sms_error_code,omitempty" xml:"sms_error_code,omitempty"`
	// 交易物流消息发送失败结果码(成功情况无需关注)
	MsgPushErrorCode string `json:"msg_push_error_code,omitempty" xml:"msg_push_error_code,omitempty"`
	// 发送操作执行时间
	OperateTime int64 `json:"operate_time,omitempty" xml:"operate_time,omitempty"`
	// 短信发送是否成功
	SmsSuccess bool `json:"sms_success,omitempty" xml:"sms_success,omitempty"`
	// 交易物流消息是否发送成功
	MsgPushSuccess bool `json:"msg_push_success,omitempty" xml:"msg_push_success,omitempty"`
}

MsgSendResponse 结构体

type PackageInfoVo added in v1.2.9

type PackageInfoVo struct {
	// 快递公司编码
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 快递面单编码
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 包裹id
	PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"`
}

PackageInfoVo 结构体

type QueryPackageListRequest added in v1.2.9

type QueryPackageListRequest struct {
	// 快递公司编码
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 用户的唯一标识
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 页数,从1开始
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

QueryPackageListRequest 结构体

type QueryPackageListResponse added in v1.2.9

type QueryPackageListResponse struct {
	// 包裹信息
	PackageInfos []PackageInfoVo `json:"package_infos,omitempty" xml:"package_infos>package_info_vo,omitempty"`
	// 查询错误码(成功情况无需关注)
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 查询错误原因(成功情况无需关注)
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 包裹总数量
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// 查询是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

QueryPackageListResponse 结构体

type TaobaoLogisticsAppletModifydataSaveAPIRequest added in v1.2.9

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

TaobaoLogisticsAppletModifydataSaveAPIRequest 物流小程序修改物流信息回传接口 API请求 taobao.logistics.applet.modifydata.save

物流小程序修改物流信息回传接口

func NewTaobaoLogisticsAppletModifydataSaveRequest added in v1.2.9

func NewTaobaoLogisticsAppletModifydataSaveRequest() *TaobaoLogisticsAppletModifydataSaveAPIRequest

NewTaobaoLogisticsAppletModifydataSaveRequest 初始化TaobaoLogisticsAppletModifydataSaveAPIRequest对象

func (TaobaoLogisticsAppletModifydataSaveAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsAppletModifydataSaveAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsAppletModifydataSaveAPIRequest) GetModifyRequest added in v1.2.9

GetModifyRequest ModifyRequest Getter

func (TaobaoLogisticsAppletModifydataSaveAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoLogisticsAppletModifydataSaveAPIRequest) SetModifyRequest added in v1.2.9

func (r *TaobaoLogisticsAppletModifydataSaveAPIRequest) SetModifyRequest(_modifyRequest *ModifyDeliveryRequest) error

SetModifyRequest is ModifyRequest Setter 请求对象

type TaobaoLogisticsAppletModifydataSaveAPIResponse added in v1.2.9

type TaobaoLogisticsAppletModifydataSaveAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsAppletModifydataSaveAPIResponseModel
}

TaobaoLogisticsAppletModifydataSaveAPIResponse 物流小程序修改物流信息回传接口 API返回值 taobao.logistics.applet.modifydata.save

物流小程序修改物流信息回传接口

type TaobaoLogisticsAppletModifydataSaveAPIResponseModel added in v1.2.9

type TaobaoLogisticsAppletModifydataSaveAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_applet_modifydata_save_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 通讯失败码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 通讯失败信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 回传返回结果对象
	ModifyResponse *ModifyDeliveryResponse `json:"modify_response,omitempty" xml:"modify_response,omitempty"`
	// 通讯成功/失败
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TaobaoLogisticsAppletModifydataSaveAPIResponseModel is 物流小程序修改物流信息回传接口 成功返回结果

type TaobaoLogisticsAppletPackageQueryAPIRequest added in v1.2.9

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

TaobaoLogisticsAppletPackageQueryAPIRequest 淘宝包裹查询 API请求 taobao.logistics.applet.package.query

淘宝包裹查询

func NewTaobaoLogisticsAppletPackageQueryRequest added in v1.2.9

func NewTaobaoLogisticsAppletPackageQueryRequest() *TaobaoLogisticsAppletPackageQueryAPIRequest

NewTaobaoLogisticsAppletPackageQueryRequest 初始化TaobaoLogisticsAppletPackageQueryAPIRequest对象

func (TaobaoLogisticsAppletPackageQueryAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsAppletPackageQueryAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsAppletPackageQueryAPIRequest) GetQueryPackageListRequest added in v1.2.9

GetQueryPackageListRequest QueryPackageListRequest Getter

func (TaobaoLogisticsAppletPackageQueryAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoLogisticsAppletPackageQueryAPIRequest) SetQueryPackageListRequest added in v1.2.9

func (r *TaobaoLogisticsAppletPackageQueryAPIRequest) SetQueryPackageListRequest(_queryPackageListRequest *QueryPackageListRequest) error

SetQueryPackageListRequest is QueryPackageListRequest Setter 查询用户的包裹列表

type TaobaoLogisticsAppletPackageQueryAPIResponse added in v1.2.9

type TaobaoLogisticsAppletPackageQueryAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsAppletPackageQueryAPIResponseModel
}

TaobaoLogisticsAppletPackageQueryAPIResponse 淘宝包裹查询 API返回值 taobao.logistics.applet.package.query

淘宝包裹查询

type TaobaoLogisticsAppletPackageQueryAPIResponseModel added in v1.2.9

type TaobaoLogisticsAppletPackageQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_applet_package_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 通讯失败信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 结果对象
	QueryResponse *QueryPackageListResponse `json:"query_response,omitempty" xml:"query_response,omitempty"`
	// 通讯成功/失败
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
	// 通讯失败码
	ResultCode bool `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

TaobaoLogisticsAppletPackageQueryAPIResponseModel is 淘宝包裹查询 成功返回结果

type TaobaoLogisticsFengchaoMsgSendAPIRequest added in v1.2.8

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

TaobaoLogisticsFengchaoMsgSendAPIRequest 丰巢走淘宝发包裹状态通知接口 API请求 taobao.logistics.fengchao.msg.send

丰巢走淘宝发包裹状态通知接口

func NewTaobaoLogisticsFengchaoMsgSendRequest added in v1.2.8

func NewTaobaoLogisticsFengchaoMsgSendRequest() *TaobaoLogisticsFengchaoMsgSendAPIRequest

NewTaobaoLogisticsFengchaoMsgSendRequest 初始化TaobaoLogisticsFengchaoMsgSendAPIRequest对象

func (TaobaoLogisticsFengchaoMsgSendAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoLogisticsFengchaoMsgSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsFengchaoMsgSendAPIRequest) GetApiParams added in v1.2.8

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsFengchaoMsgSendAPIRequest) GetMsgSendRequest added in v1.2.8

GetMsgSendRequest MsgSendRequest Getter

func (TaobaoLogisticsFengchaoMsgSendAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoLogisticsFengchaoMsgSendAPIRequest) SetMsgSendRequest added in v1.2.8

func (r *TaobaoLogisticsFengchaoMsgSendAPIRequest) SetMsgSendRequest(_msgSendRequest *MsgSendRequest) error

SetMsgSendRequest is MsgSendRequest Setter 请求对象

type TaobaoLogisticsFengchaoMsgSendAPIResponse added in v1.2.8

type TaobaoLogisticsFengchaoMsgSendAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsFengchaoMsgSendAPIResponseModel
}

TaobaoLogisticsFengchaoMsgSendAPIResponse 丰巢走淘宝发包裹状态通知接口 API返回值 taobao.logistics.fengchao.msg.send

丰巢走淘宝发包裹状态通知接口

type TaobaoLogisticsFengchaoMsgSendAPIResponseModel added in v1.2.8

type TaobaoLogisticsFengchaoMsgSendAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_fengchao_msg_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误提示
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 对象
	Result *MsgSendResponse `json:"result,omitempty" xml:"result,omitempty"`
	// 通讯成功/通讯失败
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TaobaoLogisticsFengchaoMsgSendAPIResponseModel is 丰巢走淘宝发包裹状态通知接口 成功返回结果

type TaobaoLogisticsOpenalibityWriteAPIRequest added in v1.2.9

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

TaobaoLogisticsOpenalibityWriteAPIRequest 为快递公司提供的物流信息通用写入接口 API请求 taobao.logistics.openalibity.write

为快递公司提供的物流信息通用写入接口

func NewTaobaoLogisticsOpenalibityWriteRequest added in v1.2.9

func NewTaobaoLogisticsOpenalibityWriteRequest() *TaobaoLogisticsOpenalibityWriteAPIRequest

NewTaobaoLogisticsOpenalibityWriteRequest 初始化TaobaoLogisticsOpenalibityWriteAPIRequest对象

func (TaobaoLogisticsOpenalibityWriteAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsOpenalibityWriteAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsOpenalibityWriteAPIRequest) GetGeneralLogisticsDataWriteRequest added in v1.2.9

func (r TaobaoLogisticsOpenalibityWriteAPIRequest) GetGeneralLogisticsDataWriteRequest() *GeneralLogisticsDataWriteRequest

GetGeneralLogisticsDataWriteRequest GeneralLogisticsDataWriteRequest Getter

func (TaobaoLogisticsOpenalibityWriteAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoLogisticsOpenalibityWriteAPIRequest) SetGeneralLogisticsDataWriteRequest added in v1.2.9

func (r *TaobaoLogisticsOpenalibityWriteAPIRequest) SetGeneralLogisticsDataWriteRequest(_generalLogisticsDataWriteRequest *GeneralLogisticsDataWriteRequest) error

SetGeneralLogisticsDataWriteRequest is GeneralLogisticsDataWriteRequest Setter 信息写入请求对象

type TaobaoLogisticsOpenalibityWriteAPIResponse added in v1.2.9

type TaobaoLogisticsOpenalibityWriteAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsOpenalibityWriteAPIResponseModel
}

TaobaoLogisticsOpenalibityWriteAPIResponse 为快递公司提供的物流信息通用写入接口 API返回值 taobao.logistics.openalibity.write

为快递公司提供的物流信息通用写入接口

type TaobaoLogisticsOpenalibityWriteAPIResponseModel added in v1.2.9

type TaobaoLogisticsOpenalibityWriteAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_openalibity_write_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口调用失败信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 接口调用失败码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 信息写入返回结果对象
	WriteResponse *GeneralLogisticsDataWriteResponse `json:"write_response,omitempty" xml:"write_response,omitempty"`
	// 接口调用是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TaobaoLogisticsOpenalibityWriteAPIResponseModel is 为快递公司提供的物流信息通用写入接口 成功返回结果

type TaobaoLogisticsShunfengModifydataSaveAPIRequest added in v1.2.9

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

TaobaoLogisticsShunfengModifydataSaveAPIRequest 顺丰小程序修改配送信息回传接口 API请求 taobao.logistics.shunfeng.modifydata.save

顺丰小程序修改配送信息回传接口

func NewTaobaoLogisticsShunfengModifydataSaveRequest added in v1.2.9

func NewTaobaoLogisticsShunfengModifydataSaveRequest() *TaobaoLogisticsShunfengModifydataSaveAPIRequest

NewTaobaoLogisticsShunfengModifydataSaveRequest 初始化TaobaoLogisticsShunfengModifydataSaveAPIRequest对象

func (TaobaoLogisticsShunfengModifydataSaveAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsShunfengModifydataSaveAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsShunfengModifydataSaveAPIRequest) GetModifyRequest added in v1.2.9

GetModifyRequest ModifyRequest Getter

func (TaobaoLogisticsShunfengModifydataSaveAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoLogisticsShunfengModifydataSaveAPIRequest) SetModifyRequest added in v1.2.9

func (r *TaobaoLogisticsShunfengModifydataSaveAPIRequest) SetModifyRequest(_modifyRequest *ModifyRequest) error

SetModifyRequest is ModifyRequest Setter 请求对象

type TaobaoLogisticsShunfengModifydataSaveAPIResponse added in v1.2.9

type TaobaoLogisticsShunfengModifydataSaveAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsShunfengModifydataSaveAPIResponseModel
}

TaobaoLogisticsShunfengModifydataSaveAPIResponse 顺丰小程序修改配送信息回传接口 API返回值 taobao.logistics.shunfeng.modifydata.save

顺丰小程序修改配送信息回传接口

type TaobaoLogisticsShunfengModifydataSaveAPIResponseModel added in v1.2.9

type TaobaoLogisticsShunfengModifydataSaveAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_shunfeng_modifydata_save_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 通讯失败码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 通讯失败信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 回传返回结果对象
	ModifyResponse *ModifyResponse `json:"modify_response,omitempty" xml:"modify_response,omitempty"`
	// 通讯成功/失败
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TaobaoLogisticsShunfengModifydataSaveAPIResponseModel is 顺丰小程序修改配送信息回传接口 成功返回结果

type TaobaoLogisticsTaowaiMsgSendAPIRequest added in v1.2.9

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

TaobaoLogisticsTaowaiMsgSendAPIRequest 淘外包裹物流信息走淘宝发包裹状态通知接口 API请求 taobao.logistics.taowai.msg.send

淘外包裹物流信息走淘宝发包裹状态通知接口

func NewTaobaoLogisticsTaowaiMsgSendRequest added in v1.2.9

func NewTaobaoLogisticsTaowaiMsgSendRequest() *TaobaoLogisticsTaowaiMsgSendAPIRequest

NewTaobaoLogisticsTaowaiMsgSendRequest 初始化TaobaoLogisticsTaowaiMsgSendAPIRequest对象

func (TaobaoLogisticsTaowaiMsgSendAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoLogisticsTaowaiMsgSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsTaowaiMsgSendAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsTaowaiMsgSendAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsTaowaiMsgSendAPIRequest) GetTaowaiMsgSendRequest added in v1.2.9

func (r TaobaoLogisticsTaowaiMsgSendAPIRequest) GetTaowaiMsgSendRequest() *TaowaiMsgSendRequest

GetTaowaiMsgSendRequest TaowaiMsgSendRequest Getter

func (*TaobaoLogisticsTaowaiMsgSendAPIRequest) SetTaowaiMsgSendRequest added in v1.2.9

func (r *TaobaoLogisticsTaowaiMsgSendAPIRequest) SetTaowaiMsgSendRequest(_taowaiMsgSendRequest *TaowaiMsgSendRequest) error

SetTaowaiMsgSendRequest is TaowaiMsgSendRequest Setter 请求对象

type TaobaoLogisticsTaowaiMsgSendAPIResponse added in v1.2.9

type TaobaoLogisticsTaowaiMsgSendAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsTaowaiMsgSendAPIResponseModel
}

TaobaoLogisticsTaowaiMsgSendAPIResponse 淘外包裹物流信息走淘宝发包裹状态通知接口 API返回值 taobao.logistics.taowai.msg.send

淘外包裹物流信息走淘宝发包裹状态通知接口

type TaobaoLogisticsTaowaiMsgSendAPIResponseModel added in v1.2.9

type TaobaoLogisticsTaowaiMsgSendAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_taowai_msg_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误提示
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 对象
	Result *MsgSendResponse `json:"result,omitempty" xml:"result,omitempty"`
	// 通讯成功/通讯失败
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TaobaoLogisticsTaowaiMsgSendAPIResponseModel is 淘外包裹物流信息走淘宝发包裹状态通知接口 成功返回结果

type TaobaoOauthCodeCreateAPIRequest added in v1.2.0

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

TaobaoOauthCodeCreateAPIRequest 淘宝OauthCode颁发 API请求 taobao.oauth.code.create

手淘无线开放的oauthCode颁发接口

func NewTaobaoOauthCodeCreateRequest

func NewTaobaoOauthCodeCreateRequest() *TaobaoOauthCodeCreateAPIRequest

NewTaobaoOauthCodeCreateRequest 初始化TaobaoOauthCodeCreateAPIRequest对象

func (TaobaoOauthCodeCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoOauthCodeCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOauthCodeCreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOauthCodeCreateAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoOauthCodeCreateAPIRequest) GetRawParams() model.Params

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

func (TaobaoOauthCodeCreateAPIRequest) GetTest added in v1.2.0

GetTest Test Getter

func (*TaobaoOauthCodeCreateAPIRequest) SetTest added in v1.2.0

func (r *TaobaoOauthCodeCreateAPIRequest) SetTest(_test int64) error

SetTest is Test Setter mock param

type TaobaoOauthCodeCreateAPIResponse

type TaobaoOauthCodeCreateAPIResponse struct {
	model.CommonResponse
	TaobaoOauthCodeCreateAPIResponseModel
}

TaobaoOauthCodeCreateAPIResponse 淘宝OauthCode颁发 API返回值 taobao.oauth.code.create

手淘无线开放的oauthCode颁发接口

type TaobaoOauthCodeCreateAPIResponseModel added in v1.2.0

type TaobaoOauthCodeCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"oauth_code_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// mock out params
	Test int64 `json:"test,omitempty" xml:"test,omitempty"`
}

TaobaoOauthCodeCreateAPIResponseModel is 淘宝OauthCode颁发 成功返回结果

type TaobaoWeitaoFeedIsrelationAPIRequest added in v1.2.0

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

TaobaoWeitaoFeedIsrelationAPIRequest 是否关注 API请求 taobao.weitao.feed.isrelation

判断用户是否关注对应的公共账号

func NewTaobaoWeitaoFeedIsrelationRequest

func NewTaobaoWeitaoFeedIsrelationRequest() *TaobaoWeitaoFeedIsrelationAPIRequest

NewTaobaoWeitaoFeedIsrelationRequest 初始化TaobaoWeitaoFeedIsrelationAPIRequest对象

func (TaobaoWeitaoFeedIsrelationAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoWeitaoFeedIsrelationAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWeitaoFeedIsrelationAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeitaoFeedIsrelationAPIRequest) GetFansNick added in v1.2.0

GetFansNick FansNick Getter

func (TaobaoWeitaoFeedIsrelationAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoWeitaoFeedIsrelationAPIRequest) GetSellerNick added in v1.2.0

func (r TaobaoWeitaoFeedIsrelationAPIRequest) GetSellerNick() string

GetSellerNick SellerNick Getter

func (*TaobaoWeitaoFeedIsrelationAPIRequest) SetFansNick added in v1.2.0

func (r *TaobaoWeitaoFeedIsrelationAPIRequest) SetFansNick(_fansNick string) error

SetFansNick is FansNick Setter 要查询的粉丝的淘宝昵称

func (*TaobaoWeitaoFeedIsrelationAPIRequest) SetSellerNick added in v1.2.0

func (r *TaobaoWeitaoFeedIsrelationAPIRequest) SetSellerNick(_sellerNick string) error

SetSellerNick is SellerNick Setter 要查询的公共账号的淘宝昵称

type TaobaoWeitaoFeedIsrelationAPIResponse

type TaobaoWeitaoFeedIsrelationAPIResponse struct {
	model.CommonResponse
	TaobaoWeitaoFeedIsrelationAPIResponseModel
}

TaobaoWeitaoFeedIsrelationAPIResponse 是否关注 API返回值 taobao.weitao.feed.isrelation

判断用户是否关注对应的公共账号

type TaobaoWeitaoFeedIsrelationAPIResponseModel added in v1.2.0

type TaobaoWeitaoFeedIsrelationAPIResponseModel struct {
	XMLName xml.Name `xml:"weitao_feed_isrelation_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否关注
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoWeitaoFeedIsrelationAPIResponseModel is 是否关注 成功返回结果

type TaobaoWeitaoFollowIsrelationAPIRequest added in v1.2.5

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

TaobaoWeitaoFollowIsrelationAPIRequest 微淘是否关注 API请求 taobao.weitao.follow.isrelation

判断用户是否关注对应的公共账号

func NewTaobaoWeitaoFollowIsrelationRequest added in v1.2.5

func NewTaobaoWeitaoFollowIsrelationRequest() *TaobaoWeitaoFollowIsrelationAPIRequest

NewTaobaoWeitaoFollowIsrelationRequest 初始化TaobaoWeitaoFollowIsrelationAPIRequest对象

func (TaobaoWeitaoFollowIsrelationAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoWeitaoFollowIsrelationAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWeitaoFollowIsrelationAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWeitaoFollowIsrelationAPIRequest) GetFansNick added in v1.2.5

GetFansNick FansNick Getter

func (TaobaoWeitaoFollowIsrelationAPIRequest) GetOpenid added in v1.2.5

GetOpenid Openid Getter

func (TaobaoWeitaoFollowIsrelationAPIRequest) GetOuid added in v1.2.5

GetOuid Ouid Getter

func (TaobaoWeitaoFollowIsrelationAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoWeitaoFollowIsrelationAPIRequest) SetFansNick added in v1.2.5

func (r *TaobaoWeitaoFollowIsrelationAPIRequest) SetFansNick(_fansNick string) error

SetFansNick is FansNick Setter 要查询的粉丝的淘宝昵称

func (*TaobaoWeitaoFollowIsrelationAPIRequest) SetOpenid added in v1.2.5

func (r *TaobaoWeitaoFollowIsrelationAPIRequest) SetOpenid(_openid string) error

SetOpenid is Openid Setter openid

func (*TaobaoWeitaoFollowIsrelationAPIRequest) SetOuid added in v1.2.5

SetOuid is Ouid Setter ouid

type TaobaoWeitaoFollowIsrelationAPIResponse added in v1.2.5

type TaobaoWeitaoFollowIsrelationAPIResponse struct {
	model.CommonResponse
	TaobaoWeitaoFollowIsrelationAPIResponseModel
}

TaobaoWeitaoFollowIsrelationAPIResponse 微淘是否关注 API返回值 taobao.weitao.follow.isrelation

判断用户是否关注对应的公共账号

type TaobaoWeitaoFollowIsrelationAPIResponseModel added in v1.2.5

type TaobaoWeitaoFollowIsrelationAPIResponseModel struct {
	XMLName xml.Name `xml:"weitao_follow_isrelation_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否关注
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoWeitaoFollowIsrelationAPIResponseModel is 微淘是否关注 成功返回结果

type TaobaoWirelessBuntingShopShorturlCreateAPIRequest added in v1.2.0

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

TaobaoWirelessBuntingShopShorturlCreateAPIRequest 通过店铺id取得短链 API请求 taobao.wireless.bunting.shop.shorturl.create

通过店铺id取得短链

func NewTaobaoWirelessBuntingShopShorturlCreateRequest

func NewTaobaoWirelessBuntingShopShorturlCreateRequest() *TaobaoWirelessBuntingShopShorturlCreateAPIRequest

NewTaobaoWirelessBuntingShopShorturlCreateRequest 初始化TaobaoWirelessBuntingShopShorturlCreateAPIRequest对象

func (TaobaoWirelessBuntingShopShorturlCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWirelessBuntingShopShorturlCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWirelessBuntingShopShorturlCreateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoWirelessBuntingShopShorturlCreateAPIRequest) GetShopId added in v1.2.0

GetShopId ShopId Getter

func (*TaobaoWirelessBuntingShopShorturlCreateAPIRequest) SetShopId added in v1.2.0

SetShopId is ShopId Setter 商店id

type TaobaoWirelessBuntingShopShorturlCreateAPIResponse

type TaobaoWirelessBuntingShopShorturlCreateAPIResponse struct {
	model.CommonResponse
	TaobaoWirelessBuntingShopShorturlCreateAPIResponseModel
}

TaobaoWirelessBuntingShopShorturlCreateAPIResponse 通过店铺id取得短链 API返回值 taobao.wireless.bunting.shop.shorturl.create

通过店铺id取得短链

type TaobaoWirelessBuntingShopShorturlCreateAPIResponseModel added in v1.2.0

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

TaobaoWirelessBuntingShopShorturlCreateAPIResponseModel is 通过店铺id取得短链 成功返回结果

type TaowaiMsgSendRequest added in v1.2.9

type TaowaiMsgSendRequest struct {
	// 快递公司编码
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 运单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 扩展参数
	ExtParams string `json:"ext_params,omitempty" xml:"ext_params,omitempty"`
	// openid
	Openid string `json:"openid,omitempty" xml:"openid,omitempty"`
	// 物流状态 揽收 发货 运输 签收等
	LogisticsStatus string `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
	// 移动电话
	MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"`
	// 发生时间
	OccurTime int64 `json:"occur_time,omitempty" xml:"occur_time,omitempty"`
	// 1-查件 2-寄件
	Scene int64 `json:"scene,omitempty" xml:"scene,omitempty"`
}

TaowaiMsgSendRequest 结构体

type TopIsvDecorateParam

type TopIsvDecorateParam struct {
	// 活动id,调用alibaba.interact.activity.register传入的bizid
	BizId string `json:"biz_id,omitempty" xml:"biz_id,omitempty"`
	// 目前必须填0,代表店铺
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// {"action":"update","image_url":"http://xx.cdn","click_url":"http://xxx.play.m.jaeapp.com"},action为update,代表新增(image_url以及click_url必传)。action=get,代表获得商家设置的活动,image_url以及click_url不用填写。action=del,代表将活动从资源位撤下
	BusinessParams string `json:"business_params,omitempty" xml:"business_params,omitempty"`
	// 不用传
	Position string `json:"position,omitempty" xml:"position,omitempty"`
	// 目前必须填0,代表店铺中宝箱资源位
	SubBizType string `json:"sub_biz_type,omitempty" xml:"sub_biz_type,omitempty"`
}

TopIsvDecorateParam 结构体

type TopUpdateActivityLotteryInfoParam

type TopUpdateActivityLotteryInfoParam struct {
	// 商家通过isv创建的活动id
	ActivityBizId string `json:"activity_biz_id,omitempty" xml:"activity_biz_id,omitempty"`
	// isv的appkey
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// 可随意传,目前没有用到,扩展字段
	BannerUrl string `json:"banner_url,omitempty" xml:"banner_url,omitempty"`
	// 商家创建的红包总额
	BenefitAmount string `json:"benefit_amount,omitempty" xml:"benefit_amount,omitempty"`
	// 可随意传,目前没有用到,扩展字段
	BenefitAttribute string `json:"benefit_attribute,omitempty" xml:"benefit_attribute,omitempty"`
	// 目前填1,代表支付宝红包
	BenefitType string `json:"benefit_type,omitempty" xml:"benefit_type,omitempty"`
	// 目前必须填4,代表互动城
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 商家创建的isv活动的结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 抽奖活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 奖品扩展字段
	PrizeExtAttribute string `json:"prize_ext_attribute,omitempty" xml:"prize_ext_attribute,omitempty"`
	// 1元红包
	PrizeName string `json:"prize_name,omitempty" xml:"prize_name,omitempty"`
	// 奖品扩展字段
	PrizeParamAttribute string `json:"prize_param_attribute,omitempty" xml:"prize_param_attribute,omitempty"`
	// 奖品总数
	PrizeQuantity string `json:"prize_quantity,omitempty" xml:"prize_quantity,omitempty"`
	// 奖品总数
	PrizeRemainQuantity string `json:"prize_remain_quantity,omitempty" xml:"prize_remain_quantity,omitempty"`
	// 必须填1,代表红包
	PrizeType string `json:"prize_type,omitempty" xml:"prize_type,omitempty"`
	// 0~1之间,代表奖池的概率
	Probability string `json:"probability,omitempty" xml:"probability,omitempty"`
	// 商家创建的isv活动的开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 商家创建的红包面额
	BenefitDenomination int64 `json:"benefit_denomination,omitempty" xml:"benefit_denomination,omitempty"`
	// 商家选择使用的红包权益id
	BenefitId int64 `json:"benefit_id,omitempty" xml:"benefit_id,omitempty"`
	// 抽奖活动开始时间,long型
	LotteryActivityEndDate int64 `json:"lottery_activity_end_date,omitempty" xml:"lottery_activity_end_date,omitempty"`
	// 抽奖活动结束时间
	LotteryActivityStartDate int64 `json:"lottery_activity_start_date,omitempty" xml:"lottery_activity_start_date,omitempty"`
	// 用户活动期间总共中奖次数限制
	WinPermissionActivityCount int64 `json:"win_permission_activity_count,omitempty" xml:"win_permission_activity_count,omitempty"`
	// 用户每天总共中奖次数限制
	WinPermissionDayCount int64 `json:"win_permission_day_count,omitempty" xml:"win_permission_day_count,omitempty"`
}

TopUpdateActivityLotteryInfoParam 结构体

Source Files

Jump to

Keyboard shortcuts

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