aetask

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliexpressInteractiveTaskCompleteAPIResponse

type AliexpressInteractiveTaskCompleteAPIResponse struct {
	model.CommonResponse
	AliexpressInteractiveTaskCompleteResponse
}

任务完成接口 APIResponse aliexpress.interactive.task.complete

用户完成任务

type AliexpressInteractiveTaskCompleteRequest

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

任务完成接口 APIRequest aliexpress.interactive.task.complete

用户完成任务

func NewAliexpressInteractiveTaskCompleteRequest

func NewAliexpressInteractiveTaskCompleteRequest() *AliexpressInteractiveTaskCompleteRequest

func (AliexpressInteractiveTaskCompleteRequest) GetApiMethodName

func (r AliexpressInteractiveTaskCompleteRequest) GetApiMethodName() string

func (AliexpressInteractiveTaskCompleteRequest) GetApiParams

func (AliexpressInteractiveTaskCompleteRequest) GetProjectAppKey

func (r AliexpressInteractiveTaskCompleteRequest) GetProjectAppKey() string

func (AliexpressInteractiveTaskCompleteRequest) GetTaskInstanceId

func (r AliexpressInteractiveTaskCompleteRequest) GetTaskInstanceId() int64

func (*AliexpressInteractiveTaskCompleteRequest) SetProjectAppKey

func (r *AliexpressInteractiveTaskCompleteRequest) SetProjectAppKey(projectAppKey string) error

func (*AliexpressInteractiveTaskCompleteRequest) SetTaskInstanceId

func (r *AliexpressInteractiveTaskCompleteRequest) SetTaskInstanceId(taskInstanceId int64) error

type AliexpressInteractiveTaskCompleteResponse

type AliexpressInteractiveTaskCompleteResponse struct {
	XMLName xml.Name `xml:"aliexpress_interactive_task_complete_response"`

	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Result *AliexpressInteractiveTaskCompleteResult `json:"result,omitempty" xml:"result,omitempty"`
}

type AliexpressInteractiveTaskCompleteResult

type AliexpressInteractiveTaskCompleteResult struct {
	Result string `json:"result,omitempty" xml:"result,omitempty"`

	Success bool `json:"success,omitempty" xml:"success,omitempty"`

	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`

	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`

	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`

	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

AliexpressInteractiveTaskCompleteResult

type AliexpressInteractiveTaskDeliveryQueryAPIResponse

type AliexpressInteractiveTaskDeliveryQueryAPIResponse struct {
	model.CommonResponse
	AliexpressInteractiveTaskDeliveryQueryResponse
}

AE互动任务投放 APIResponse aliexpress.interactive.task.delivery.query

将内部配置好的任务,如浏览商品,店铺投放给外部ISV

type AliexpressInteractiveTaskDeliveryQueryRequest

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

AE互动任务投放 APIRequest aliexpress.interactive.task.delivery.query

将内部配置好的任务,如浏览商品,店铺投放给外部ISV

func NewAliexpressInteractiveTaskDeliveryQueryRequest

func NewAliexpressInteractiveTaskDeliveryQueryRequest() *AliexpressInteractiveTaskDeliveryQueryRequest

func (AliexpressInteractiveTaskDeliveryQueryRequest) GetApiMethodName

func (AliexpressInteractiveTaskDeliveryQueryRequest) GetApiParams

func (AliexpressInteractiveTaskDeliveryQueryRequest) GetRequestDto

func (*AliexpressInteractiveTaskDeliveryQueryRequest) SetRequestDto

type AliexpressInteractiveTaskDeliveryQueryResponse

type AliexpressInteractiveTaskDeliveryQueryResponse struct {
	XMLName xml.Name `xml:"aliexpress_interactive_task_delivery_query_response"`

	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Results []AliexpressInteractiveTaskDeliveryQueryResult `json:"results,omitempty" xml:"results>aliexpress_interactive_task_delivery_query_result,omitempty"`

	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`

	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
}

type AliexpressInteractiveTaskDeliveryQueryResult

type AliexpressInteractiveTaskDeliveryQueryResult struct {
	DateBegin string `json:"date_begin,omitempty" xml:"date_begin,omitempty"`

	PreDisplay bool `json:"pre_display,omitempty" xml:"pre_display,omitempty"`

	SecurityLevel string `json:"security_level,omitempty" xml:"security_level,omitempty"`

	OrderDelivery int64 `json:"order_delivery,omitempty" xml:"order_delivery,omitempty"`

	Materials []Materials `json:"materials,omitempty" xml:"materials,omitempty"`

	GroupId int64 `json:"group_id,omitempty" xml:"group_id,omitempty"`

	DateEnd int64 `json:"date_end,omitempty" xml:"date_end,omitempty"`
}

AliexpressInteractiveTaskDeliveryQueryResult

type Materials

type Materials struct {
	MaterialUrlType string `json:"material_url_type,omitempty" xml:"material_url_type,omitempty"`

	MaterialUrl string `json:"material_url,omitempty" xml:"material_url,omitempty"`

	UnIssueRecord string `json:"un_issue_record,omitempty" xml:"un_issue_record,omitempty"`

	InterestNum int64 `json:"interest_num,omitempty" xml:"interest_num,omitempty"`

	DetailIds string `json:"detail_ids,omitempty" xml:"detail_ids,omitempty"`

	BrowseZeroFlag bool `json:"browse_zero_flag,omitempty" xml:"browse_zero_flag,omitempty"`

	IdempotentId string `json:"idempotent_id,omitempty" xml:"idempotent_id,omitempty"`

	Icon4UnFinish string `json:"icon4_un_finish,omitempty" xml:"icon4_un_finish,omitempty"`

	TaskInstanceId int64 `json:"task_instance_id,omitempty" xml:"task_instance_id,omitempty"`

	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`

	Type int64 `json:"type,omitempty" xml:"type,omitempty"`

	InstanceStatus int64 `json:"instance_status,omitempty" xml:"instance_status,omitempty"`

	Icon4Finished string `json:"icon4_finished,omitempty" xml:"icon4_finished,omitempty"`

	BehaviorConfig string `json:"behavior_config,omitempty" xml:"behavior_config,omitempty"`

	Trace string `json:"trace,omitempty" xml:"trace,omitempty"`

	OrderGroup int64 `json:"order_group,omitempty" xml:"order_group,omitempty"`

	TimesJoined int64 `json:"times_joined,omitempty" xml:"times_joined,omitempty"`

	MaterialConfigId int64 `json:"material_config_id,omitempty" xml:"material_config_id,omitempty"`

	MainTitle string `json:"main_title,omitempty" xml:"main_title,omitempty"`

	SecondTitle string `json:"second_title,omitempty" xml:"second_title,omitempty"`

	IconUrl string `json:"icon_url,omitempty" xml:"icon_url,omitempty"`

	TimesLimit int64 `json:"times_limit,omitempty" xml:"times_limit,omitempty"`

	TaskId int64 `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

Materials

type QueryDeliveryRequestDto

type QueryDeliveryRequestDto struct {
	PreDisplay int64 `json:"pre_display,omitempty" xml:"pre_display,omitempty"`

	SceneId int64 `json:"scene_id,omitempty" xml:"scene_id,omitempty"`

	Ttid string `json:"ttid,omitempty" xml:"ttid,omitempty"`

	Language string `json:"language,omitempty" xml:"language,omitempty"`

	Country string `json:"country,omitempty" xml:"country,omitempty"`

	ProjectAppKey string `json:"project_app_key,omitempty" xml:"project_app_key,omitempty"`
}

QueryDeliveryRequestDto

Jump to

Keyboard shortcuts

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