aliexpress

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package aliexpress 包含aliExpress相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAeopWarehouseAbnormalOrderResult added in v1.3.4

func ReleaseAeopWarehouseAbnormalOrderResult(v *AeopWarehouseAbnormalOrderResult)

ReleaseAeopWarehouseAbnormalOrderResult 释放AeopWarehouseAbnormalOrderResult

func ReleaseAliexpressFeedPostPublishAPIRequest added in v1.3.4

func ReleaseAliexpressFeedPostPublishAPIRequest(v *AliexpressFeedPostPublishAPIRequest)

ReleaseAliexpressFeedPostPublishAPIRequest 将 AliexpressFeedPostPublishAPIRequest 放入 sync.Pool

func ReleaseAliexpressFeedPostPublishAPIResponse added in v1.3.4

func ReleaseAliexpressFeedPostPublishAPIResponse(v *AliexpressFeedPostPublishAPIResponse)

ReleaseAliexpressFeedPostPublishAPIResponse 将 AliexpressFeedPostPublishAPIResponse 保存到 sync.Pool

func ReleaseAliexpressFeedPostPublishResponse added in v1.3.4

func ReleaseAliexpressFeedPostPublishResponse(v *AliexpressFeedPostPublishResponse)

ReleaseAliexpressFeedPostPublishResponse 释放AliexpressFeedPostPublishResponse

func ReleaseAliexpressLogisticsAbnormalorderQueryAPIRequest added in v1.3.4

func ReleaseAliexpressLogisticsAbnormalorderQueryAPIRequest(v *AliexpressLogisticsAbnormalorderQueryAPIRequest)

ReleaseAliexpressLogisticsAbnormalorderQueryAPIRequest 将 AliexpressLogisticsAbnormalorderQueryAPIRequest 放入 sync.Pool

func ReleaseAliexpressLogisticsAbnormalorderQueryAPIResponse added in v1.3.4

func ReleaseAliexpressLogisticsAbnormalorderQueryAPIResponse(v *AliexpressLogisticsAbnormalorderQueryAPIResponse)

ReleaseAliexpressLogisticsAbnormalorderQueryAPIResponse 将 AliexpressLogisticsAbnormalorderQueryAPIResponse 保存到 sync.Pool

func ReleaseAliexpressSocialInsDirectresultUpdateAPIRequest added in v1.3.4

func ReleaseAliexpressSocialInsDirectresultUpdateAPIRequest(v *AliexpressSocialInsDirectresultUpdateAPIRequest)

ReleaseAliexpressSocialInsDirectresultUpdateAPIRequest 将 AliexpressSocialInsDirectresultUpdateAPIRequest 放入 sync.Pool

func ReleaseAliexpressSocialInsDirectresultUpdateAPIResponse added in v1.3.4

func ReleaseAliexpressSocialInsDirectresultUpdateAPIResponse(v *AliexpressSocialInsDirectresultUpdateAPIResponse)

ReleaseAliexpressSocialInsDirectresultUpdateAPIResponse 将 AliexpressSocialInsDirectresultUpdateAPIResponse 保存到 sync.Pool

func ReleaseOffsitePostImageVo added in v1.3.4

func ReleaseOffsitePostImageVo(v *OffsitePostImageVo)

ReleaseOffsitePostImageVo 释放OffsitePostImageVo

func ReleaseOffsitePostVideoVo added in v1.3.4

func ReleaseOffsitePostVideoVo(v *OffsitePostVideoVo)

ReleaseOffsitePostVideoVo 释放OffsitePostVideoVo

func ReleaseOffsitePublishPostEntity added in v1.3.4

func ReleaseOffsitePublishPostEntity(v *OffsitePublishPostEntity)

ReleaseOffsitePublishPostEntity 释放OffsitePublishPostEntity

Types

type AeopWarehouseAbnormalOrderResult added in v1.2.5

type AeopWarehouseAbnormalOrderResult struct {
	// 解决方案_仓编码
	SchemeCode string `json:"scheme_code,omitempty" xml:"scheme_code,omitempty"`
	// 解决方案名称
	SolutionName string `json:"solution_name,omitempty" xml:"solution_name,omitempty"`
	// 国内快递公司
	DomesticLogisticCompanyName string `json:"domestic_logistic_company_name,omitempty" xml:"domestic_logistic_company_name,omitempty"`
	// 状态变更时间
	GmtStatusUpdate string `json:"gmt_status_update,omitempty" xml:"gmt_status_update,omitempty"`
	// 异常原因
	AbnormalReason string `json:"abnormal_reason,omitempty" xml:"abnormal_reason,omitempty"`
	// 异常编码
	AbnormalCode string `json:"abnormal_code,omitempty" xml:"abnormal_code,omitempty"`
	// 运单号
	IntlTrackingNo string `json:"intl_tracking_no,omitempty" xml:"intl_tracking_no,omitempty"`
	// 订单创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 揽收仓名称
	WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"`
	// 解决方案编码
	SolutionCode string `json:"solution_code,omitempty" xml:"solution_code,omitempty"`
	// 揽收仓编码
	WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"`
	// 物流详情链接
	LogisticDetailUrl string `json:"logistic_detail_url,omitempty" xml:"logistic_detail_url,omitempty"`
	// 订单状态名称
	OrderStatusName string `json:"order_status_name,omitempty" xml:"order_status_name,omitempty"`
	// 取消状态编码
	CancelStatusCode string `json:"cancel_status_code,omitempty" xml:"cancel_status_code,omitempty"`
	// 支付状态编码
	PaymentStatusCode string `json:"payment_status_code,omitempty" xml:"payment_status_code,omitempty"`
	// 退回运单号
	UndExpressMailNo string `json:"und_express_mail_no,omitempty" xml:"und_express_mail_no,omitempty"`
	// 禁运审核结果
	ForbiddenAuditResult string `json:"forbidden_audit_result,omitempty" xml:"forbidden_audit_result,omitempty"`
	// 订单状态编码
	OrderStatusCode string `json:"order_status_code,omitempty" xml:"order_status_code,omitempty"`
	// 取消状态名称
	CancelStatusName string `json:"cancel_status_name,omitempty" xml:"cancel_status_name,omitempty"`
	// 支付状态名称
	PaymentStatusName string `json:"payment_status_name,omitempty" xml:"payment_status_name,omitempty"`
	// 国内运单号
	DomesticLogisticTrackingNo string `json:"domestic_logistic_tracking_no,omitempty" xml:"domestic_logistic_tracking_no,omitempty"`
	// 交易单号
	TradeOrderId int64 `json:"trade_order_id,omitempty" xml:"trade_order_id,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 不可达保险
	UnreachableInsured bool `json:"unreachable_insured,omitempty" xml:"unreachable_insured,omitempty"`
	// 高货值保险
	HighValueInsure bool `json:"high_value_insure,omitempty" xml:"high_value_insure,omitempty"`
	// 逆袭高货值保险
	ReHighValueInsure bool `json:"re_high_value_insure,omitempty" xml:"re_high_value_insure,omitempty"`
}

AeopWarehouseAbnormalOrderResult 结构体

func GetAeopWarehouseAbnormalOrderResult added in v1.3.4

func GetAeopWarehouseAbnormalOrderResult() *AeopWarehouseAbnormalOrderResult

GetAeopWarehouseAbnormalOrderResult() 从对象池中获取AeopWarehouseAbnormalOrderResult

type AliexpressFeedPostPublishAPIRequest added in v1.2.0

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

AliexpressFeedPostPublishAPIRequest 同步帖子 API请求 aliexpress.feed.post.publish

站外平台同步帖子至AE FEED域

func GetAliexpressFeedPostPublishAPIRequest added in v1.3.4

func GetAliexpressFeedPostPublishAPIRequest() *AliexpressFeedPostPublishAPIRequest

GetAliexpressFeedPostPublishRequest 从 sync.Pool 获取 AliexpressFeedPostPublishAPIRequest

func NewAliexpressFeedPostPublishRequest

func NewAliexpressFeedPostPublishRequest() *AliexpressFeedPostPublishAPIRequest

NewAliexpressFeedPostPublishRequest 初始化AliexpressFeedPostPublishAPIRequest对象

func (AliexpressFeedPostPublishAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressFeedPostPublishAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressFeedPostPublishAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressFeedPostPublishAPIRequest) GetOffsitePublishPostEntity added in v1.2.0

func (r AliexpressFeedPostPublishAPIRequest) GetOffsitePublishPostEntity() *OffsitePublishPostEntity

GetOffsitePublishPostEntity OffsitePublishPostEntity Getter

func (AliexpressFeedPostPublishAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressFeedPostPublishAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressFeedPostPublishAPIRequest) SetOffsitePublishPostEntity added in v1.2.0

func (r *AliexpressFeedPostPublishAPIRequest) SetOffsitePublishPostEntity(_offsitePublishPostEntity *OffsitePublishPostEntity) error

SetOffsitePublishPostEntity is OffsitePublishPostEntity Setter 站外导入内容请求参数

type AliexpressFeedPostPublishAPIResponse

type AliexpressFeedPostPublishAPIResponse struct {
	model.CommonResponse
	AliexpressFeedPostPublishAPIResponseModel
}

AliexpressFeedPostPublishAPIResponse 同步帖子 API返回值 aliexpress.feed.post.publish

站外平台同步帖子至AE FEED域

func GetAliexpressFeedPostPublishAPIResponse added in v1.3.4

func GetAliexpressFeedPostPublishAPIResponse() *AliexpressFeedPostPublishAPIResponse

GetAliexpressFeedPostPublishAPIResponse 从 sync.Pool 获取 AliexpressFeedPostPublishAPIResponse

func (*AliexpressFeedPostPublishAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressFeedPostPublishAPIResponseModel added in v1.2.0

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

AliexpressFeedPostPublishAPIResponseModel is 同步帖子 成功返回结果

func (*AliexpressFeedPostPublishAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressFeedPostPublishResponse

type AliexpressFeedPostPublishResponse struct {
	// 成功返回结果,json字符串
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 是否请求成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AliexpressFeedPostPublishResponse 结构体

func GetAliexpressFeedPostPublishResponse added in v1.3.4

func GetAliexpressFeedPostPublishResponse() *AliexpressFeedPostPublishResponse

GetAliexpressFeedPostPublishResponse() 从对象池中获取AliexpressFeedPostPublishResponse

type AliexpressLogisticsAbnormalorderQueryAPIRequest added in v1.2.5

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

AliexpressLogisticsAbnormalorderQueryAPIRequest 异常订单查询 API请求 aliexpress.logistics.abnormalorder.query

异常订单查询

func GetAliexpressLogisticsAbnormalorderQueryAPIRequest added in v1.3.4

func GetAliexpressLogisticsAbnormalorderQueryAPIRequest() *AliexpressLogisticsAbnormalorderQueryAPIRequest

GetAliexpressLogisticsAbnormalorderQueryRequest 从 sync.Pool 获取 AliexpressLogisticsAbnormalorderQueryAPIRequest

func NewAliexpressLogisticsAbnormalorderQueryRequest added in v1.2.5

func NewAliexpressLogisticsAbnormalorderQueryRequest() *AliexpressLogisticsAbnormalorderQueryAPIRequest

NewAliexpressLogisticsAbnormalorderQueryRequest 初始化AliexpressLogisticsAbnormalorderQueryAPIRequest对象

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetCurrentPage added in v1.2.5

GetCurrentPage CurrentPage Getter

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetGmtCreateEnd added in v1.2.5

GetGmtCreateEnd GmtCreateEnd Getter

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetGmtCreateStart added in v1.2.5

GetGmtCreateStart GmtCreateStart Getter

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetGmtStatusUpdateEnd added in v1.2.5

func (r AliexpressLogisticsAbnormalorderQueryAPIRequest) GetGmtStatusUpdateEnd() string

GetGmtStatusUpdateEnd GmtStatusUpdateEnd Getter

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetGmtStatusUpdateStart added in v1.2.5

func (r AliexpressLogisticsAbnormalorderQueryAPIRequest) GetGmtStatusUpdateStart() string

GetGmtStatusUpdateStart GmtStatusUpdateStart Getter

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetIntlTrackingNo added in v1.2.5

GetIntlTrackingNo IntlTrackingNo Getter

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetRawParams added in v1.2.8

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

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetTradeOrderId added in v1.2.5

GetTradeOrderId TradeOrderId Getter

func (AliexpressLogisticsAbnormalorderQueryAPIRequest) GetWarehouseStatusList added in v1.2.5

func (r AliexpressLogisticsAbnormalorderQueryAPIRequest) GetWarehouseStatusList() string

GetWarehouseStatusList WarehouseStatusList Getter

func (*AliexpressLogisticsAbnormalorderQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressLogisticsAbnormalorderQueryAPIRequest) SetCurrentPage added in v1.2.5

func (r *AliexpressLogisticsAbnormalorderQueryAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 当前页

func (*AliexpressLogisticsAbnormalorderQueryAPIRequest) SetGmtCreateEnd added in v1.2.5

func (r *AliexpressLogisticsAbnormalorderQueryAPIRequest) SetGmtCreateEnd(_gmtCreateEnd string) error

SetGmtCreateEnd is GmtCreateEnd Setter 订单创建时间结束

func (*AliexpressLogisticsAbnormalorderQueryAPIRequest) SetGmtCreateStart added in v1.2.5

func (r *AliexpressLogisticsAbnormalorderQueryAPIRequest) SetGmtCreateStart(_gmtCreateStart string) error

SetGmtCreateStart is GmtCreateStart Setter 订单创建时间开始

func (*AliexpressLogisticsAbnormalorderQueryAPIRequest) SetGmtStatusUpdateEnd added in v1.2.5

func (r *AliexpressLogisticsAbnormalorderQueryAPIRequest) SetGmtStatusUpdateEnd(_gmtStatusUpdateEnd string) error

SetGmtStatusUpdateEnd is GmtStatusUpdateEnd Setter 状态变更时间结束

func (*AliexpressLogisticsAbnormalorderQueryAPIRequest) SetGmtStatusUpdateStart added in v1.2.5

func (r *AliexpressLogisticsAbnormalorderQueryAPIRequest) SetGmtStatusUpdateStart(_gmtStatusUpdateStart string) error

SetGmtStatusUpdateStart is GmtStatusUpdateStart Setter 状态变更时间开始

func (*AliexpressLogisticsAbnormalorderQueryAPIRequest) SetIntlTrackingNo added in v1.2.5

func (r *AliexpressLogisticsAbnormalorderQueryAPIRequest) SetIntlTrackingNo(_intlTrackingNo string) error

SetIntlTrackingNo is IntlTrackingNo Setter 运单号

func (*AliexpressLogisticsAbnormalorderQueryAPIRequest) SetPageSize added in v1.2.5

SetPageSize is PageSize Setter 页大小

func (*AliexpressLogisticsAbnormalorderQueryAPIRequest) SetTradeOrderId added in v1.2.5

func (r *AliexpressLogisticsAbnormalorderQueryAPIRequest) SetTradeOrderId(_tradeOrderId int64) error

SetTradeOrderId is TradeOrderId Setter 交易订单号

func (*AliexpressLogisticsAbnormalorderQueryAPIRequest) SetWarehouseStatusList added in v1.2.5

func (r *AliexpressLogisticsAbnormalorderQueryAPIRequest) SetWarehouseStatusList(_warehouseStatusList string) error

SetWarehouseStatusList is WarehouseStatusList Setter 状态编码列表

type AliexpressLogisticsAbnormalorderQueryAPIResponse added in v1.2.5

type AliexpressLogisticsAbnormalorderQueryAPIResponse struct {
	model.CommonResponse
	AliexpressLogisticsAbnormalorderQueryAPIResponseModel
}

AliexpressLogisticsAbnormalorderQueryAPIResponse 异常订单查询 API返回值 aliexpress.logistics.abnormalorder.query

异常订单查询

func GetAliexpressLogisticsAbnormalorderQueryAPIResponse added in v1.3.4

func GetAliexpressLogisticsAbnormalorderQueryAPIResponse() *AliexpressLogisticsAbnormalorderQueryAPIResponse

GetAliexpressLogisticsAbnormalorderQueryAPIResponse 从 sync.Pool 获取 AliexpressLogisticsAbnormalorderQueryAPIResponse

func (*AliexpressLogisticsAbnormalorderQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressLogisticsAbnormalorderQueryAPIResponseModel added in v1.2.5

type AliexpressLogisticsAbnormalorderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_logistics_abnormalorder_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单详情
	Result []AeopWarehouseAbnormalOrderResult `json:"result,omitempty" xml:"result>aeop_warehouse_abnormal_order_result,omitempty"`
	// 错误描述
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 是否成功
	IsSuccess string `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 总页数
	TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"`
	// 总条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
}

AliexpressLogisticsAbnormalorderQueryAPIResponseModel is 异常订单查询 成功返回结果

func (*AliexpressLogisticsAbnormalorderQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressSocialInsDirectresultUpdateAPIRequest added in v1.2.0

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

AliexpressSocialInsDirectresultUpdateAPIRequest ISV更新INS私信发送的结果 API请求 aliexpress.social.ins.directresult.update

ISV更新INS私信发送的结果

func GetAliexpressSocialInsDirectresultUpdateAPIRequest added in v1.3.4

func GetAliexpressSocialInsDirectresultUpdateAPIRequest() *AliexpressSocialInsDirectresultUpdateAPIRequest

GetAliexpressSocialInsDirectresultUpdateRequest 从 sync.Pool 获取 AliexpressSocialInsDirectresultUpdateAPIRequest

func NewAliexpressSocialInsDirectresultUpdateRequest

func NewAliexpressSocialInsDirectresultUpdateRequest() *AliexpressSocialInsDirectresultUpdateAPIRequest

NewAliexpressSocialInsDirectresultUpdateRequest 初始化AliexpressSocialInsDirectresultUpdateAPIRequest对象

func (AliexpressSocialInsDirectresultUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSocialInsDirectresultUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSocialInsDirectresultUpdateAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (AliexpressSocialInsDirectresultUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (AliexpressSocialInsDirectresultUpdateAPIRequest) GetReceiveInsId added in v1.2.0

GetReceiveInsId ReceiveInsId Getter

func (AliexpressSocialInsDirectresultUpdateAPIRequest) GetResult added in v1.2.0

GetResult Result Getter

func (AliexpressSocialInsDirectresultUpdateAPIRequest) GetSenderInsId added in v1.2.0

GetSenderInsId SenderInsId Getter

func (*AliexpressSocialInsDirectresultUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressSocialInsDirectresultUpdateAPIRequest) SetId added in v1.2.0

SetId is Id Setter 回调id,在获取图片时会返回

func (*AliexpressSocialInsDirectresultUpdateAPIRequest) SetReceiveInsId added in v1.2.0

func (r *AliexpressSocialInsDirectresultUpdateAPIRequest) SetReceiveInsId(_receiveInsId string) error

SetReceiveInsId is ReceiveInsId Setter 接受消息人INS_ID,也就是查询图片时的request_ins_id

func (*AliexpressSocialInsDirectresultUpdateAPIRequest) SetResult added in v1.2.0

SetResult is Result Setter 1.成功,2.失败。

func (*AliexpressSocialInsDirectresultUpdateAPIRequest) SetSenderInsId added in v1.2.0

func (r *AliexpressSocialInsDirectresultUpdateAPIRequest) SetSenderInsId(_senderInsId string) error

SetSenderInsId is SenderInsId Setter ISV发送私信人的INS_ID

type AliexpressSocialInsDirectresultUpdateAPIResponse

type AliexpressSocialInsDirectresultUpdateAPIResponse struct {
	model.CommonResponse
	AliexpressSocialInsDirectresultUpdateAPIResponseModel
}

AliexpressSocialInsDirectresultUpdateAPIResponse ISV更新INS私信发送的结果 API返回值 aliexpress.social.ins.directresult.update

ISV更新INS私信发送的结果

func GetAliexpressSocialInsDirectresultUpdateAPIResponse added in v1.3.4

func GetAliexpressSocialInsDirectresultUpdateAPIResponse() *AliexpressSocialInsDirectresultUpdateAPIResponse

GetAliexpressSocialInsDirectresultUpdateAPIResponse 从 sync.Pool 获取 AliexpressSocialInsDirectresultUpdateAPIResponse

func (*AliexpressSocialInsDirectresultUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressSocialInsDirectresultUpdateAPIResponseModel added in v1.2.0

type AliexpressSocialInsDirectresultUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_social_ins_directresult_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ErrorCodee string `json:"error_codee,omitempty" xml:"error_codee,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 更新是否成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
	// 此次调用是否成功
	Successs bool `json:"successs,omitempty" xml:"successs,omitempty"`
}

AliexpressSocialInsDirectresultUpdateAPIResponseModel is ISV更新INS私信发送的结果 成功返回结果

func (*AliexpressSocialInsDirectresultUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type OffsitePostImageVo added in v1.2.7

type OffsitePostImageVo struct {
	// 图片链接
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 图片高度
	Height int64 `json:"height,omitempty" xml:"height,omitempty"`
	// 图片宽度
	Width int64 `json:"width,omitempty" xml:"width,omitempty"`
}

OffsitePostImageVo 结构体

func GetOffsitePostImageVo added in v1.3.4

func GetOffsitePostImageVo() *OffsitePostImageVo

GetOffsitePostImageVo() 从对象池中获取OffsitePostImageVo

type OffsitePostVideoVo added in v1.2.7

type OffsitePostVideoVo struct {
	// 视频封面,与视频尺寸要一致
	CoverUrl string `json:"cover_url,omitempty" xml:"cover_url,omitempty"`
	// 视频地址
	VideoUrl string `json:"video_url,omitempty" xml:"video_url,omitempty"`
	// 视频宽度
	Width int64 `json:"width,omitempty" xml:"width,omitempty"`
	// 视频高度
	Height int64 `json:"height,omitempty" xml:"height,omitempty"`
}

OffsitePostVideoVo 结构体

func GetOffsitePostVideoVo added in v1.3.4

func GetOffsitePostVideoVo() *OffsitePostVideoVo

GetOffsitePostVideoVo() 从对象池中获取OffsitePostVideoVo

type OffsitePublishPostEntity

type OffsitePublishPostEntity struct {
	// 图片列表,类型为1时不可为空
	ImageInfos []OffsitePostImageVo `json:"image_infos,omitempty" xml:"image_infos>offsite_post_image_vo,omitempty"`
	// 商品id
	ProductIds []int64 `json:"product_ids,omitempty" xml:"product_ids>int64,omitempty"`
	// 帖子话题
	Hashtag []string `json:"hashtag,omitempty" xml:"hashtag>string,omitempty"`
	// 帖子的summary
	Summary string `json:"summary,omitempty" xml:"summary,omitempty"`
	// 帖子类型:1-图文,2-视频
	PostType string `json:"post_type,omitempty" xml:"post_type,omitempty"`
	// 帖子来源,import-第三方导入,接入前请咨询API负责人
	Origin string `json:"origin,omitempty" xml:"origin,omitempty"`
	// 语言地区
	Lang string `json:"lang,omitempty" xml:"lang,omitempty"`
	// 帖子拓展信息,垂类,形式等,介入前请咨询API负责人
	ExtendsInfo string `json:"extends_info,omitempty" xml:"extends_info,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 视频参数,类型为2时不可为空
	VideoInfo *OffsitePostVideoVo `json:"video_info,omitempty" xml:"video_info,omitempty"`
}

OffsitePublishPostEntity 结构体

func GetOffsitePublishPostEntity added in v1.3.4

func GetOffsitePublishPostEntity() *OffsitePublishPostEntity

GetOffsitePublishPostEntity() 从对象池中获取OffsitePublishPostEntity

Jump to

Keyboard shortcuts

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