Documentation ¶
Overview ¶
Package aetools 包含Efficient Tools相关结构体
Index ¶
- type AliexpressaffiliatelinkgenerateAPIRequest
- func (r AliexpressaffiliatelinkgenerateAPIRequest) GetApiMethodName() string
- func (r AliexpressaffiliatelinkgenerateAPIRequest) GetApiParams(params url.Values)
- func (r AliexpressaffiliatelinkgenerateAPIRequest) GetAppSignature() string
- func (r AliexpressaffiliatelinkgenerateAPIRequest) GetPromotionLinkType() int64
- func (r AliexpressaffiliatelinkgenerateAPIRequest) GetRawParams() model.Params
- func (r AliexpressaffiliatelinkgenerateAPIRequest) GetSourceValues() string
- func (r AliexpressaffiliatelinkgenerateAPIRequest) GetTrackingId() string
- func (r *AliexpressaffiliatelinkgenerateAPIRequest) SetAppSignature(_appSignature string) error
- func (r *AliexpressaffiliatelinkgenerateAPIRequest) SetPromotionLinkType(_promotionLinkType int64) error
- func (r *AliexpressaffiliatelinkgenerateAPIRequest) SetSourceValues(_sourceValues string) error
- func (r *AliexpressaffiliatelinkgenerateAPIRequest) SetTrackingId(_trackingId string) error
- type AliexpressaffiliatelinkgenerateAPIResponse
- type AliexpressaffiliatelinkgenerateAPIResponseModel
- type PromotionLink
- type PromotionLinkResultDto
- type ResponseDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliexpressaffiliatelinkgenerateAPIRequest ¶ added in v1.3.1
type AliexpressaffiliatelinkgenerateAPIRequest struct { model.Params // contains filtered or unexported fields }
AliexpressaffiliatelinkgenerateAPIRequest 联盟推广链接生成 API请求 aliexpress.affiliate.link.generate
AE联盟推广链接生成接口
func NewAliexpressaffiliatelinkgenerateRequest ¶ added in v1.3.1
func NewAliexpressaffiliatelinkgenerateRequest() *AliexpressaffiliatelinkgenerateAPIRequest
NewAliexpressaffiliatelinkgenerateRequest 初始化AliexpressaffiliatelinkgenerateAPIRequest对象
func (AliexpressaffiliatelinkgenerateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AliexpressaffiliatelinkgenerateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliexpressaffiliatelinkgenerateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AliexpressaffiliatelinkgenerateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliexpressaffiliatelinkgenerateAPIRequest) GetAppSignature ¶ added in v1.3.1
func (r AliexpressaffiliatelinkgenerateAPIRequest) GetAppSignature() string
GetAppSignature AppSignature Getter
func (AliexpressaffiliatelinkgenerateAPIRequest) GetPromotionLinkType ¶ added in v1.3.1
func (r AliexpressaffiliatelinkgenerateAPIRequest) GetPromotionLinkType() int64
GetPromotionLinkType PromotionLinkType Getter
func (AliexpressaffiliatelinkgenerateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AliexpressaffiliatelinkgenerateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AliexpressaffiliatelinkgenerateAPIRequest) GetSourceValues ¶ added in v1.3.1
func (r AliexpressaffiliatelinkgenerateAPIRequest) GetSourceValues() string
GetSourceValues SourceValues Getter
func (AliexpressaffiliatelinkgenerateAPIRequest) GetTrackingId ¶ added in v1.3.1
func (r AliexpressaffiliatelinkgenerateAPIRequest) GetTrackingId() string
GetTrackingId TrackingId Getter
func (*AliexpressaffiliatelinkgenerateAPIRequest) SetAppSignature ¶ added in v1.3.1
func (r *AliexpressaffiliatelinkgenerateAPIRequest) SetAppSignature(_appSignature string) error
SetAppSignature is AppSignature Setter API请求签名
func (*AliexpressaffiliatelinkgenerateAPIRequest) SetPromotionLinkType ¶ added in v1.3.1
func (r *AliexpressaffiliatelinkgenerateAPIRequest) SetPromotionLinkType(_promotionLinkType int64) error
SetPromotionLinkType is PromotionLinkType Setter 转换的链接类型:0代表普通Link,1代表Search Link,2代表 hot link
func (*AliexpressaffiliatelinkgenerateAPIRequest) SetSourceValues ¶ added in v1.3.1
func (r *AliexpressaffiliatelinkgenerateAPIRequest) SetSourceValues(_sourceValues string) error
SetSourceValues is SourceValues Setter 原始链接或者值
func (*AliexpressaffiliatelinkgenerateAPIRequest) SetTrackingId ¶ added in v1.3.1
func (r *AliexpressaffiliatelinkgenerateAPIRequest) SetTrackingId(_trackingId string) error
SetTrackingId is TrackingId Setter 推广者原始trackingID
type AliexpressaffiliatelinkgenerateAPIResponse ¶ added in v1.3.1
type AliexpressaffiliatelinkgenerateAPIResponse struct { model.CommonResponse AliexpressaffiliatelinkgenerateAPIResponseModel }
AliexpressaffiliatelinkgenerateAPIResponse 联盟推广链接生成 API返回值 aliexpress.affiliate.link.generate
AE联盟推广链接生成接口
type AliexpressaffiliatelinkgenerateAPIResponseModel ¶ added in v1.3.1
type AliexpressaffiliatelinkgenerateAPIResponseModel struct { XMLName xml.Name `xml:"aliexpress_affiliate_link_generate_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"` }
AliexpressaffiliatelinkgenerateAPIResponseModel is 联盟推广链接生成 成功返回结果
type PromotionLink ¶
type PromotionLink struct { // 推广链接 PromotionLink string `json:"promotion_link,omitempty" xml:"promotion_link,omitempty"` // 原始链接或者值 SourceValue string `json:"source_value,omitempty" xml:"source_value,omitempty"` }
PromotionLink 结构体
type PromotionLinkResultDto ¶
type PromotionLinkResultDto struct { // 推广链接列表 PromotionLinks []PromotionLink `json:"promotion_links,omitempty" xml:"promotion_links>promotion_link,omitempty"` // 推广者TrackingId TrackingId string `json:"tracking_id,omitempty" xml:"tracking_id,omitempty"` // 返回总量 TotalResultCount int64 `json:"total_result_count,omitempty" xml:"total_result_count,omitempty"` }
PromotionLinkResultDto 结构体
type ResponseDto ¶
type ResponseDto struct { // 返回结果状态描述 RespMsg string `json:"resp_msg,omitempty" xml:"resp_msg,omitempty"` // 返回结果状态码 RespCode int64 `json:"resp_code,omitempty" xml:"resp_code,omitempty"` // 返回结果明细信息 Result *PromotionLinkResultDto `json:"result,omitempty" xml:"result,omitempty"` }
ResponseDto 结构体