mtopopen

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 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.3.1

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

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

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

func NewAlibabainteractallsparkisvdrawRequest added in v1.3.1

func NewAlibabainteractallsparkisvdrawRequest() *AlibabainteractallsparkisvdrawAPIRequest

NewAlibabainteractallsparkisvdrawRequest 初始化AlibabainteractallsparkisvdrawAPIRequest对象

func (AlibabainteractallsparkisvdrawAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabainteractallsparkisvdrawAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabainteractallsparkisvdrawAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabainteractallsparkisvdrawAPIRequest) GetDdd added in v1.3.1

GetDdd Ddd Getter

func (AlibabainteractallsparkisvdrawAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabainteractallsparkisvdrawAPIRequest) GetTest added in v1.3.1

GetTest Test Getter

func (*AlibabainteractallsparkisvdrawAPIRequest) SetDdd added in v1.3.1

SetDdd is Ddd Setter dd

func (*AlibabainteractallsparkisvdrawAPIRequest) SetTest added in v1.3.1

SetTest is Test Setter ddd

type AlibabainteractallsparkisvdrawAPIResponse added in v1.3.1

type AlibabainteractallsparkisvdrawAPIResponse struct {
	model.CommonResponse
	AlibabainteractallsparkisvdrawAPIResponseModel
}

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

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

type AlibabainteractallsparkisvdrawAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewAlibabainteractaopdataregisterRequest added in v1.3.1

func NewAlibabainteractaopdataregisterRequest() *AlibabainteractaopdataregisterAPIRequest

NewAlibabainteractaopdataregisterRequest 初始化AlibabainteractaopdataregisterAPIRequest对象

func (AlibabainteractaopdataregisterAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabainteractaopdataregisterAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabainteractaopdataregisterAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabainteractaopdataregisterAPIRequest) GetParamTopIsvDecorateParam added in v1.3.1

func (r AlibabainteractaopdataregisterAPIRequest) GetParamTopIsvDecorateParam() *TopIsvDecorateParam

GetParamTopIsvDecorateParam ParamTopIsvDecorateParam Getter

func (AlibabainteractaopdataregisterAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabainteractaopdataregisterAPIRequest) SetParamTopIsvDecorateParam added in v1.3.1

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

SetParamTopIsvDecorateParam is ParamTopIsvDecorateParam Setter 入参

type AlibabainteractaopdataregisterAPIResponse added in v1.3.1

type AlibabainteractaopdataregisterAPIResponse struct {
	model.CommonResponse
	AlibabainteractaopdataregisterAPIResponseModel
}

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

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

type AlibabainteractaopdataregisterAPIResponseModel added in v1.3.1

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 added in v1.3.1

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.3.1

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

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

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

func NewAlibabainteractlotteryactivityregisterRequest added in v1.3.1

func NewAlibabainteractlotteryactivityregisterRequest() *AlibabainteractlotteryactivityregisterAPIRequest

NewAlibabainteractlotteryactivityregisterRequest 初始化AlibabainteractlotteryactivityregisterAPIRequest对象

func (AlibabainteractlotteryactivityregisterAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabainteractlotteryactivityregisterAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabainteractlotteryactivityregisterAPIRequest) GetParamTopUpdateActivityLotteryInfoParam added in v1.3.1

func (r AlibabainteractlotteryactivityregisterAPIRequest) GetParamTopUpdateActivityLotteryInfoParam() *TopUpdateActivityLotteryInfoParam

GetParamTopUpdateActivityLotteryInfoParam ParamTopUpdateActivityLotteryInfoParam Getter

func (AlibabainteractlotteryactivityregisterAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabainteractlotteryactivityregisterAPIRequest) SetParamTopUpdateActivityLotteryInfoParam added in v1.3.1

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

SetParamTopUpdateActivityLotteryInfoParam is ParamTopUpdateActivityLotteryInfoParam Setter 入参

type AlibabainteractlotteryactivityregisterAPIResponse added in v1.3.1

type AlibabainteractlotteryactivityregisterAPIResponse struct {
	model.CommonResponse
	AlibabainteractlotteryactivityregisterAPIResponseModel
}

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

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

type AlibabainteractlotteryactivityregisterAPIResponseModel added in v1.3.1

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 added in v1.3.1

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.3.1

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

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

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

func NewAlibabainteractmediaartworkRequest added in v1.3.1

func NewAlibabainteractmediaartworkRequest() *AlibabainteractmediaartworkAPIRequest

NewAlibabainteractmediaartworkRequest 初始化AlibabainteractmediaartworkAPIRequest对象

func (AlibabainteractmediaartworkAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabainteractmediaartworkAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabainteractmediaartworkAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabainteractmediaartworkAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (AlibabainteractmediaartworkAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabainteractmediaartworkAPIRequest) SetId added in v1.3.1

SetId is Id Setter 系统自动生成

type AlibabainteractmediaartworkAPIResponse added in v1.3.1

type AlibabainteractmediaartworkAPIResponse struct {
	model.CommonResponse
	AlibabainteractmediaartworkAPIResponseModel
}

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

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

type AlibabainteractmediaartworkAPIResponseModel added in v1.3.1

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.3.1

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

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

新音频包的鉴权接口

func NewAlibabainteractmediaaudioRequest added in v1.3.1

func NewAlibabainteractmediaaudioRequest() *AlibabainteractmediaaudioAPIRequest

NewAlibabainteractmediaaudioRequest 初始化AlibabainteractmediaaudioAPIRequest对象

func (AlibabainteractmediaaudioAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabainteractmediaaudioAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabainteractmediaaudioAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabainteractmediaaudioAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (AlibabainteractmediaaudioAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabainteractmediaaudioAPIRequest) SetId added in v1.3.1

SetId is Id Setter 系统自动生成

type AlibabainteractmediaaudioAPIResponse added in v1.3.1

type AlibabainteractmediaaudioAPIResponse struct {
	model.CommonResponse
	AlibabainteractmediaaudioAPIResponseModel
}

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

新音频包的鉴权接口

type AlibabainteractmediaaudioAPIResponseModel added in v1.3.1

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.3.1

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

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

赞,评论 ,关注 新增接口

func NewAlibabainteractsensorsocialRequest added in v1.3.1

func NewAlibabainteractsensorsocialRequest() *AlibabainteractsensorsocialAPIRequest

NewAlibabainteractsensorsocialRequest 初始化AlibabainteractsensorsocialAPIRequest对象

func (AlibabainteractsensorsocialAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabainteractsensorsocialAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabainteractsensorsocialAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabainteractsensorsocialAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (AlibabainteractsensorsocialAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabainteractsensorsocialAPIRequest) SetId added in v1.3.1

SetId is Id Setter 系统自动生成

type AlibabainteractsensorsocialAPIResponse added in v1.3.1

type AlibabainteractsensorsocialAPIResponse struct {
	model.CommonResponse
	AlibabainteractsensorsocialAPIResponseModel
}

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

赞,评论 ,关注 新增接口

type AlibabainteractsensorsocialAPIResponseModel added in v1.3.1

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.3.1

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

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

交易流程

func NewAlibabainteractsensortradeRequest added in v1.3.1

func NewAlibabainteractsensortradeRequest() *AlibabainteractsensortradeAPIRequest

NewAlibabainteractsensortradeRequest 初始化AlibabainteractsensortradeAPIRequest对象

func (AlibabainteractsensortradeAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabainteractsensortradeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabainteractsensortradeAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabainteractsensortradeAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (AlibabainteractsensortradeAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabainteractsensortradeAPIRequest) SetId added in v1.3.1

SetId is Id Setter 系统自动生成

type AlibabainteractsensortradeAPIResponse added in v1.3.1

type AlibabainteractsensortradeAPIResponse struct {
	model.CommonResponse
	AlibabainteractsensortradeAPIResponseModel
}

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

交易流程

type AlibabainteractsensortradeAPIResponseModel added in v1.3.1

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.3.1

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

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

交易流程鉴权

func NewAlibabainteractsensortradebuyRequest added in v1.3.1

func NewAlibabainteractsensortradebuyRequest() *AlibabainteractsensortradebuyAPIRequest

NewAlibabainteractsensortradebuyRequest 初始化AlibabainteractsensortradebuyAPIRequest对象

func (AlibabainteractsensortradebuyAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabainteractsensortradebuyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabainteractsensortradebuyAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabainteractsensortradebuyAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (AlibabainteractsensortradebuyAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabainteractsensortradebuyAPIRequest) SetId added in v1.3.1

SetId is Id Setter 系统自动生成

type AlibabainteractsensortradebuyAPIResponse added in v1.3.1

type AlibabainteractsensortradebuyAPIResponse struct {
	model.CommonResponse
	AlibabainteractsensortradebuyAPIResponseModel
}

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

交易流程鉴权

type AlibabainteractsensortradebuyAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewTaobaologisticsappletmodifydatasaveRequest added in v1.3.1

func NewTaobaologisticsappletmodifydatasaveRequest() *TaobaologisticsappletmodifydatasaveAPIRequest

NewTaobaologisticsappletmodifydatasaveRequest 初始化TaobaologisticsappletmodifydatasaveAPIRequest对象

func (TaobaologisticsappletmodifydatasaveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaologisticsappletmodifydatasaveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaologisticsappletmodifydatasaveAPIRequest) GetModifyRequest added in v1.3.1

GetModifyRequest ModifyRequest Getter

func (TaobaologisticsappletmodifydatasaveAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaologisticsappletmodifydatasaveAPIRequest) SetModifyRequest added in v1.3.1

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

SetModifyRequest is ModifyRequest Setter 请求对象

type TaobaologisticsappletmodifydatasaveAPIResponse added in v1.3.1

type TaobaologisticsappletmodifydatasaveAPIResponse struct {
	model.CommonResponse
	TaobaologisticsappletmodifydatasaveAPIResponseModel
}

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

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

type TaobaologisticsappletmodifydatasaveAPIResponseModel added in v1.3.1

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.3.1

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

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

淘宝包裹查询

func NewTaobaologisticsappletpackagequeryRequest added in v1.3.1

func NewTaobaologisticsappletpackagequeryRequest() *TaobaologisticsappletpackagequeryAPIRequest

NewTaobaologisticsappletpackagequeryRequest 初始化TaobaologisticsappletpackagequeryAPIRequest对象

func (TaobaologisticsappletpackagequeryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaologisticsappletpackagequeryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaologisticsappletpackagequeryAPIRequest) GetQueryPackageListRequest added in v1.3.1

GetQueryPackageListRequest QueryPackageListRequest Getter

func (TaobaologisticsappletpackagequeryAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaologisticsappletpackagequeryAPIRequest) SetQueryPackageListRequest added in v1.3.1

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

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

type TaobaologisticsappletpackagequeryAPIResponse added in v1.3.1

type TaobaologisticsappletpackagequeryAPIResponse struct {
	model.CommonResponse
	TaobaologisticsappletpackagequeryAPIResponseModel
}

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

淘宝包裹查询

type TaobaologisticsappletpackagequeryAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewTaobaologisticsfengchaomsgsendRequest added in v1.3.1

func NewTaobaologisticsfengchaomsgsendRequest() *TaobaologisticsfengchaomsgsendAPIRequest

NewTaobaologisticsfengchaomsgsendRequest 初始化TaobaologisticsfengchaomsgsendAPIRequest对象

func (TaobaologisticsfengchaomsgsendAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaologisticsfengchaomsgsendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaologisticsfengchaomsgsendAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaologisticsfengchaomsgsendAPIRequest) GetMsgSendRequest added in v1.3.1

GetMsgSendRequest MsgSendRequest Getter

func (TaobaologisticsfengchaomsgsendAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaologisticsfengchaomsgsendAPIRequest) SetMsgSendRequest added in v1.3.1

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

SetMsgSendRequest is MsgSendRequest Setter 请求对象

type TaobaologisticsfengchaomsgsendAPIResponse added in v1.3.1

type TaobaologisticsfengchaomsgsendAPIResponse struct {
	model.CommonResponse
	TaobaologisticsfengchaomsgsendAPIResponseModel
}

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

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

type TaobaologisticsfengchaomsgsendAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewTaobaologisticsopenalibitywriteRequest added in v1.3.1

func NewTaobaologisticsopenalibitywriteRequest() *TaobaologisticsopenalibitywriteAPIRequest

NewTaobaologisticsopenalibitywriteRequest 初始化TaobaologisticsopenalibitywriteAPIRequest对象

func (TaobaologisticsopenalibitywriteAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaologisticsopenalibitywriteAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaologisticsopenalibitywriteAPIRequest) GetGeneralLogisticsDataWriteRequest added in v1.3.1

func (r TaobaologisticsopenalibitywriteAPIRequest) GetGeneralLogisticsDataWriteRequest() *GeneralLogisticsDataWriteRequest

GetGeneralLogisticsDataWriteRequest GeneralLogisticsDataWriteRequest Getter

func (TaobaologisticsopenalibitywriteAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaologisticsopenalibitywriteAPIRequest) SetGeneralLogisticsDataWriteRequest added in v1.3.1

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

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

type TaobaologisticsopenalibitywriteAPIResponse added in v1.3.1

type TaobaologisticsopenalibitywriteAPIResponse struct {
	model.CommonResponse
	TaobaologisticsopenalibitywriteAPIResponseModel
}

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

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

type TaobaologisticsopenalibitywriteAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewTaobaologisticsshunfengmodifydatasaveRequest added in v1.3.1

func NewTaobaologisticsshunfengmodifydatasaveRequest() *TaobaologisticsshunfengmodifydatasaveAPIRequest

NewTaobaologisticsshunfengmodifydatasaveRequest 初始化TaobaologisticsshunfengmodifydatasaveAPIRequest对象

func (TaobaologisticsshunfengmodifydatasaveAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaologisticsshunfengmodifydatasaveAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaologisticsshunfengmodifydatasaveAPIRequest) GetModifyRequest added in v1.3.1

GetModifyRequest ModifyRequest Getter

func (TaobaologisticsshunfengmodifydatasaveAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaologisticsshunfengmodifydatasaveAPIRequest) SetModifyRequest added in v1.3.1

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

SetModifyRequest is ModifyRequest Setter 请求对象

type TaobaologisticsshunfengmodifydatasaveAPIResponse added in v1.3.1

type TaobaologisticsshunfengmodifydatasaveAPIResponse struct {
	model.CommonResponse
	TaobaologisticsshunfengmodifydatasaveAPIResponseModel
}

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

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

type TaobaologisticsshunfengmodifydatasaveAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewTaobaologisticstaowaimsgsendRequest added in v1.3.1

func NewTaobaologisticstaowaimsgsendRequest() *TaobaologisticstaowaimsgsendAPIRequest

NewTaobaologisticstaowaimsgsendRequest 初始化TaobaologisticstaowaimsgsendAPIRequest对象

func (TaobaologisticstaowaimsgsendAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaologisticstaowaimsgsendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaologisticstaowaimsgsendAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaologisticstaowaimsgsendAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaologisticstaowaimsgsendAPIRequest) GetTaowaiMsgSendRequest added in v1.3.1

func (r TaobaologisticstaowaimsgsendAPIRequest) GetTaowaiMsgSendRequest() *TaowaiMsgSendRequest

GetTaowaiMsgSendRequest TaowaiMsgSendRequest Getter

func (*TaobaologisticstaowaimsgsendAPIRequest) SetTaowaiMsgSendRequest added in v1.3.1

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

SetTaowaiMsgSendRequest is TaowaiMsgSendRequest Setter 请求对象

type TaobaologisticstaowaimsgsendAPIResponse added in v1.3.1

type TaobaologisticstaowaimsgsendAPIResponse struct {
	model.CommonResponse
	TaobaologisticstaowaimsgsendAPIResponseModel
}

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

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

type TaobaologisticstaowaimsgsendAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewTaobaooauthcodecreateRequest added in v1.3.1

func NewTaobaooauthcodecreateRequest() *TaobaooauthcodecreateAPIRequest

NewTaobaooauthcodecreateRequest 初始化TaobaooauthcodecreateAPIRequest对象

func (TaobaooauthcodecreateAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaooauthcodecreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaooauthcodecreateAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaooauthcodecreateAPIRequest) GetRawParams added in v1.3.1

func (r TaobaooauthcodecreateAPIRequest) GetRawParams() model.Params

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

func (TaobaooauthcodecreateAPIRequest) GetTest added in v1.3.1

GetTest Test Getter

func (*TaobaooauthcodecreateAPIRequest) SetTest added in v1.3.1

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

SetTest is Test Setter mock param

type TaobaooauthcodecreateAPIResponse added in v1.3.1

type TaobaooauthcodecreateAPIResponse struct {
	model.CommonResponse
	TaobaooauthcodecreateAPIResponseModel
}

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

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

type TaobaooauthcodecreateAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewTaobaoweitaofeedisrelationRequest added in v1.3.1

func NewTaobaoweitaofeedisrelationRequest() *TaobaoweitaofeedisrelationAPIRequest

NewTaobaoweitaofeedisrelationRequest 初始化TaobaoweitaofeedisrelationAPIRequest对象

func (TaobaoweitaofeedisrelationAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoweitaofeedisrelationAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoweitaofeedisrelationAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoweitaofeedisrelationAPIRequest) GetFansNick added in v1.3.1

GetFansNick FansNick Getter

func (TaobaoweitaofeedisrelationAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaoweitaofeedisrelationAPIRequest) GetSellerNick added in v1.3.1

func (r TaobaoweitaofeedisrelationAPIRequest) GetSellerNick() string

GetSellerNick SellerNick Getter

func (*TaobaoweitaofeedisrelationAPIRequest) SetFansNick added in v1.3.1

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

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

func (*TaobaoweitaofeedisrelationAPIRequest) SetSellerNick added in v1.3.1

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

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

type TaobaoweitaofeedisrelationAPIResponse added in v1.3.1

type TaobaoweitaofeedisrelationAPIResponse struct {
	model.CommonResponse
	TaobaoweitaofeedisrelationAPIResponseModel
}

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

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

type TaobaoweitaofeedisrelationAPIResponseModel added in v1.3.1

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.3.1

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

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

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

func NewTaobaoweitaofollowisrelationRequest added in v1.3.1

func NewTaobaoweitaofollowisrelationRequest() *TaobaoweitaofollowisrelationAPIRequest

NewTaobaoweitaofollowisrelationRequest 初始化TaobaoweitaofollowisrelationAPIRequest对象

func (TaobaoweitaofollowisrelationAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaoweitaofollowisrelationAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoweitaofollowisrelationAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoweitaofollowisrelationAPIRequest) GetFansNick added in v1.3.1

GetFansNick FansNick Getter

func (TaobaoweitaofollowisrelationAPIRequest) GetOpenid added in v1.3.1

GetOpenid Openid Getter

func (TaobaoweitaofollowisrelationAPIRequest) GetOuid added in v1.3.1

GetOuid Ouid Getter

func (TaobaoweitaofollowisrelationAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaoweitaofollowisrelationAPIRequest) SetFansNick added in v1.3.1

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

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

func (*TaobaoweitaofollowisrelationAPIRequest) SetOpenid added in v1.3.1

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

SetOpenid is Openid Setter openid

func (*TaobaoweitaofollowisrelationAPIRequest) SetOuid added in v1.3.1

SetOuid is Ouid Setter ouid

type TaobaoweitaofollowisrelationAPIResponse added in v1.3.1

type TaobaoweitaofollowisrelationAPIResponse struct {
	model.CommonResponse
	TaobaoweitaofollowisrelationAPIResponseModel
}

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

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

type TaobaoweitaofollowisrelationAPIResponseModel added in v1.3.1

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.3.1

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

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

通过店铺id取得短链

func NewTaobaowirelessbuntingshopshorturlcreateRequest added in v1.3.1

func NewTaobaowirelessbuntingshopshorturlcreateRequest() *TaobaowirelessbuntingshopshorturlcreateAPIRequest

NewTaobaowirelessbuntingshopshorturlcreateRequest 初始化TaobaowirelessbuntingshopshorturlcreateAPIRequest对象

func (TaobaowirelessbuntingshopshorturlcreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaowirelessbuntingshopshorturlcreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaowirelessbuntingshopshorturlcreateAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaowirelessbuntingshopshorturlcreateAPIRequest) GetShopId added in v1.3.1

GetShopId ShopId Getter

func (*TaobaowirelessbuntingshopshorturlcreateAPIRequest) SetShopId added in v1.3.1

SetShopId is ShopId Setter 商店id

type TaobaowirelessbuntingshopshorturlcreateAPIResponse added in v1.3.1

type TaobaowirelessbuntingshopshorturlcreateAPIResponse struct {
	model.CommonResponse
	TaobaowirelessbuntingshopshorturlcreateAPIResponseModel
}

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

通过店铺id取得短链

type TaobaowirelessbuntingshopshorturlcreateAPIResponseModel added in v1.3.1

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