Documentation ¶
Index ¶
- type AliexpressFeedPostPublishAPIResponse
- type AliexpressFeedPostPublishRequest
- func (r AliexpressFeedPostPublishRequest) GetApiMethodName() string
- func (r AliexpressFeedPostPublishRequest) GetApiParams() url.Values
- func (r AliexpressFeedPostPublishRequest) GetOffsitePublishPostEntity() *OffsitePublishPostEntity
- func (r *AliexpressFeedPostPublishRequest) SetOffsitePublishPostEntity(offsitePublishPostEntity *OffsitePublishPostEntity) error
- type AliexpressFeedPostPublishResponse
- type AliexpressSocialInsDirectresultUpdateAPIResponse
- type AliexpressSocialInsDirectresultUpdateRequest
- func (r AliexpressSocialInsDirectresultUpdateRequest) GetApiMethodName() string
- func (r AliexpressSocialInsDirectresultUpdateRequest) GetApiParams() url.Values
- func (r AliexpressSocialInsDirectresultUpdateRequest) GetId() int64
- func (r AliexpressSocialInsDirectresultUpdateRequest) GetReceiveInsId() string
- func (r AliexpressSocialInsDirectresultUpdateRequest) GetResult() int64
- func (r AliexpressSocialInsDirectresultUpdateRequest) GetSenderInsId() string
- func (r *AliexpressSocialInsDirectresultUpdateRequest) SetId(id int64) error
- func (r *AliexpressSocialInsDirectresultUpdateRequest) SetReceiveInsId(receiveInsId string) error
- func (r *AliexpressSocialInsDirectresultUpdateRequest) SetResult(result int64) error
- func (r *AliexpressSocialInsDirectresultUpdateRequest) SetSenderInsId(senderInsId string) error
- type AliexpressSocialInsDirectresultUpdateResponse
- type OffsitePostImageVO
- type OffsitePostVideoVO
- type OffsitePublishPostEntity
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliexpressFeedPostPublishAPIResponse ¶
type AliexpressFeedPostPublishAPIResponse struct { model.CommonResponse AliexpressFeedPostPublishResponse }
同步帖子 API返回值 aliexpress.feed.post.publish
站外平台同步帖子至AE FEED域
type AliexpressFeedPostPublishRequest ¶
type AliexpressFeedPostPublishRequest struct { model.Params // contains filtered or unexported fields }
同步帖子 API请求 aliexpress.feed.post.publish
站外平台同步帖子至AE FEED域
func NewAliexpressFeedPostPublishRequest ¶
func NewAliexpressFeedPostPublishRequest() *AliexpressFeedPostPublishRequest
初始化AliexpressFeedPostPublishRequest对象
func (AliexpressFeedPostPublishRequest) GetApiMethodName ¶
func (r AliexpressFeedPostPublishRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AliexpressFeedPostPublishRequest) GetApiParams ¶
func (r AliexpressFeedPostPublishRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AliexpressFeedPostPublishRequest) GetOffsitePublishPostEntity ¶
func (r AliexpressFeedPostPublishRequest) GetOffsitePublishPostEntity() *OffsitePublishPostEntity
OffsitePublishPostEntity Getter
func (*AliexpressFeedPostPublishRequest) SetOffsitePublishPostEntity ¶
func (r *AliexpressFeedPostPublishRequest) SetOffsitePublishPostEntity(offsitePublishPostEntity *OffsitePublishPostEntity) error
OffsitePublishPostEntity Setter 站外导入内容请求参数
type AliexpressFeedPostPublishResponse ¶
type AliexpressFeedPostPublishResponse struct { XMLName xml.Name `xml:"aliexpress_feed_post_publish_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *Response `json:"result,omitempty" xml:"result,omitempty"` }
同步帖子 成功返回结果
type AliexpressSocialInsDirectresultUpdateAPIResponse ¶
type AliexpressSocialInsDirectresultUpdateAPIResponse struct { model.CommonResponse AliexpressSocialInsDirectresultUpdateResponse }
ISV更新INS私信发送的结果 API返回值 aliexpress.social.ins.directresult.update
ISV更新INS私信发送的结果
type AliexpressSocialInsDirectresultUpdateRequest ¶
type AliexpressSocialInsDirectresultUpdateRequest struct { model.Params // contains filtered or unexported fields }
ISV更新INS私信发送的结果 API请求 aliexpress.social.ins.directresult.update
ISV更新INS私信发送的结果
func NewAliexpressSocialInsDirectresultUpdateRequest ¶
func NewAliexpressSocialInsDirectresultUpdateRequest() *AliexpressSocialInsDirectresultUpdateRequest
初始化AliexpressSocialInsDirectresultUpdateRequest对象
func (AliexpressSocialInsDirectresultUpdateRequest) GetApiMethodName ¶
func (r AliexpressSocialInsDirectresultUpdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AliexpressSocialInsDirectresultUpdateRequest) GetApiParams ¶
func (r AliexpressSocialInsDirectresultUpdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AliexpressSocialInsDirectresultUpdateRequest) GetId ¶
func (r AliexpressSocialInsDirectresultUpdateRequest) GetId() int64
Id Getter
func (AliexpressSocialInsDirectresultUpdateRequest) GetReceiveInsId ¶
func (r AliexpressSocialInsDirectresultUpdateRequest) GetReceiveInsId() string
ReceiveInsId Getter
func (AliexpressSocialInsDirectresultUpdateRequest) GetResult ¶
func (r AliexpressSocialInsDirectresultUpdateRequest) GetResult() int64
Result Getter
func (AliexpressSocialInsDirectresultUpdateRequest) GetSenderInsId ¶
func (r AliexpressSocialInsDirectresultUpdateRequest) GetSenderInsId() string
SenderInsId Getter
func (*AliexpressSocialInsDirectresultUpdateRequest) SetId ¶
func (r *AliexpressSocialInsDirectresultUpdateRequest) SetId(id int64) error
Id Setter 回调id,在获取图片时会返回
func (*AliexpressSocialInsDirectresultUpdateRequest) SetReceiveInsId ¶
func (r *AliexpressSocialInsDirectresultUpdateRequest) SetReceiveInsId(receiveInsId string) error
ReceiveInsId Setter 接受消息人INS_ID,也就是查询图片时的request_ins_id
func (*AliexpressSocialInsDirectresultUpdateRequest) SetResult ¶
func (r *AliexpressSocialInsDirectresultUpdateRequest) SetResult(result int64) error
Result Setter 1.成功,2.失败。
func (*AliexpressSocialInsDirectresultUpdateRequest) SetSenderInsId ¶
func (r *AliexpressSocialInsDirectresultUpdateRequest) SetSenderInsId(senderInsId string) error
SenderInsId Setter ISV发送私信人的INS_ID
type AliexpressSocialInsDirectresultUpdateResponse ¶
type AliexpressSocialInsDirectresultUpdateResponse struct { XMLName xml.Name `xml:"aliexpress_social_ins_directresult_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 更新是否成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` // 此次调用是否成功 Successs bool `json:"successs,omitempty" xml:"successs,omitempty"` // 错误码 ErrorCodee string `json:"error_codee,omitempty" xml:"error_codee,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` }
ISV更新INS私信发送的结果 成功返回结果
type OffsitePostImageVO ¶
type OffsitePostImageVO struct { // 图片高度 Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 图片宽度 Width int64 `json:"width,omitempty" xml:"width,omitempty"` // 图片链接 ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"` }
OffsitePostImageVO
type OffsitePostVideoVO ¶
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
type OffsitePublishPostEntity ¶
type OffsitePublishPostEntity struct { // 帖子的summary Summary string `json:"summary,omitempty" xml:"summary,omitempty"` // 图片列表,类型为1时不可为空 ImageInfos []OffsitePostImageVO `json:"image_infos,omitempty" xml:"image_infos>offsite_post_image_vo,omitempty"` // 帖子类型:1-图文,2-视频 PostType string `json:"post_type,omitempty" xml:"post_type,omitempty"` // 商品id ProductIds []int64 `json:"product_ids,omitempty" xml:"product_ids>int64,omitempty"` // 视频参数,类型为2时不可为空 VideoInfo *OffsitePostVideoVO `json:"video_info,omitempty" xml:"video_info,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"` // 帖子话题 Hashtag []string `json:"hashtag,omitempty" xml:"hashtag>string,omitempty"` // 币种 Currency string `json:"currency,omitempty" xml:"currency,omitempty"` }
OffsitePublishPostEntity
type Response ¶
type Response struct { // 错误码 Code int64 `json:"code,omitempty" xml:"code,omitempty"` // 成功返回结果,json字符串 Data string `json:"data,omitempty" xml:"data,omitempty"` // 是否请求成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
Response