miniappopen

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 miniappopen 包含miniapp开放API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DistributionOrderBindBaseDto

type DistributionOrderBindBaseDto struct {
	// 商品id
	TargetEntityId string `json:"target_entity_id,omitempty" xml:"target_entity_id,omitempty"`
	// 失败的原因
	FailMsg string `json:"fail_msg,omitempty" xml:"fail_msg,omitempty"`
	// 绑定是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

DistributionOrderBindBaseDto 结构体

type DistributionOrderBindTargetEntityOpenRequestV2

type DistributionOrderBindTargetEntityOpenRequestV2 struct {
	// 绑定/解绑的投放计划id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// true:绑定; false: 解绑
	AddBind bool `json:"add_bind,omitempty" xml:"add_bind,omitempty"`
}

DistributionOrderBindTargetEntityOpenRequestV2 结构体

type DistributionOrderBindTargetEntityOpenResultDto added in v1.2.0

type DistributionOrderBindTargetEntityOpenResultDto struct {
	// 商品列表的绑定结果
	BindResultList []DistributionOrderBindBaseDto `json:"bind_result_list,omitempty" xml:"bind_result_list>distribution_order_bind_base_dto,omitempty"`
	// 绑定的目标url
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 绑定投放的场景
	SceneName string `json:"scene_name,omitempty" xml:"scene_name,omitempty"`
	// 绑定的投放计划id
	DistributeId int64 `json:"distribute_id,omitempty" xml:"distribute_id,omitempty"`
}

DistributionOrderBindTargetEntityOpenResultDto 结构体

type DistributionOrderOpenBizDto

type DistributionOrderOpenBizDto struct {
	// 关联的小部件版本号
	WidgetVersion string `json:"widget_version,omitempty" xml:"widget_version,omitempty"`
	// 投放的小程序url
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 结束时间,订购期有效的投放计划无该返回值
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 开始时间,订购期有效的情况无该返回值
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 关联的小部件id
	WidgetId int64 `json:"widget_id,omitempty" xml:"widget_id,omitempty"`
	// 时效类型.0: 商家自定义时效,1:订购期内有效
	TimeType *model.File `json:"time_type,omitempty" xml:"time_type,omitempty"`
	// 小程序id
	AppId int64 `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 状态,0:未开始, 1:进行中,2/3:已结束,其他为平台状态
	Status *model.File `json:"status,omitempty" xml:"status,omitempty"`
	// 唯一标识的id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

DistributionOrderOpenBizDto 结构体

type DistributionOrderQueryByIdOpenRequest

type DistributionOrderQueryByIdOpenRequest struct {
	// 投放计划的id列表
	OrderIdList []int64 `json:"order_id_list,omitempty" xml:"order_id_list>int64,omitempty"`
}

DistributionOrderQueryByIdOpenRequest 结构体

type DistributionOrderSaveOpenRequest

type DistributionOrderSaveOpenRequest struct {
	// 投放的小程序链接
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 时效类型 0:自定义时效; 1:订购期有效;为0时,开始时间和结束时间必传
	TimeType string `json:"time_type,omitempty" xml:"time_type,omitempty"`
	// 投放计划名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 卡片对应的动态表单字段信息
	CardData string `json:"card_data,omitempty" xml:"card_data,omitempty"`
	// 投放的小程序id
	AppId int64 `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 要投放的卡片id
	CardId int64 `json:"card_id,omitempty" xml:"card_id,omitempty"`
	// 要投放的场景id
	SceneId int64 `json:"scene_id,omitempty" xml:"scene_id,omitempty"`
	// 投放计划开始时间
	StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 投放计划结束时间
	EndTime int64 `json:"end_time,omitempty" xml:"end_time,omitempty"`
}

DistributionOrderSaveOpenRequest 结构体

type MiniAppEntityDto

type MiniAppEntityDto struct {
	// appkey
	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`
	// 小程序appId
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 小程序名称
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// 小程序描述
	AppDescription string `json:"app_description,omitempty" xml:"app_description,omitempty"`
	// icon
	AppIcon string `json:"app_icon,omitempty" xml:"app_icon,omitempty"`
	// 当前版本
	OnlineVersion string `json:"online_version,omitempty" xml:"online_version,omitempty"`
	// 线上码
	OnlineCode string `json:"online_code,omitempty" xml:"online_code,omitempty"`
}

MiniAppEntityDto 结构体

type MiniAppEntityTemplateDto

type MiniAppEntityTemplateDto struct {
	// 小程序描述
	AppDescription string `json:"app_description,omitempty" xml:"app_description,omitempty"`
	// 小程序名称
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// appkey
	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`
	// 小程序app_id
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 小程序icon
	AppIcon string `json:"app_icon,omitempty" xml:"app_icon,omitempty"`
	// 线上正式版本的链接,所有消费者可访问。
	OnlineUrl string `json:"online_url,omitempty" xml:"online_url,omitempty"`
	// 应用简称
	AppAlias string `json:"app_alias,omitempty" xml:"app_alias,omitempty"`
	// 应用id
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 线上码
	OnlineCode string `json:"online_code,omitempty" xml:"online_code,omitempty"`
	// 线上版本
	OnlineVersion string `json:"online_version,omitempty" xml:"online_version,omitempty"`
	// 预览码
	PreViewUrl string `json:"pre_view_url,omitempty" xml:"pre_view_url,omitempty"`
	// 小部件版本
	NewVersion string `json:"new_version,omitempty" xml:"new_version,omitempty"`
}

MiniAppEntityTemplateDto 结构体

type MiniAppEntranceMaterialBizOpenDto added in v1.2.5

type MiniAppEntranceMaterialBizOpenDto struct {
	// 素材id列表
	MaterialIdList []int64 `json:"material_id_list,omitempty" xml:"material_id_list>int64,omitempty"`
	// 场景入口对应的素材动态表单值,必须符合表单的要求。每个场景、入口卡片都拥有不同的限制,请通过开发者控制台查看具体的表单字段要求。如果没有任何参数值,请传入空map
	DataStr string `json:"data_str,omitempty" xml:"data_str,omitempty"`
	// 对应页面的页面参数值map,如果没有任何参数值,请传入空map
	PParamsValueStr string `json:"p_params_value_str,omitempty" xml:"p_params_value_str,omitempty"`
	// 当前素材,对应的页面路径。必须为已经在开发者控制台-页面录入菜单下,已经录入过的页面路径之一。
	Path string `json:"path,omitempty" xml:"path,omitempty"`
	// 对应页面的全局参数值map,如果没有任何参数值,请传入空map
	QParamsValueStr string `json:"q_params_value_str,omitempty" xml:"q_params_value_str,omitempty"`
	// 素材的名字,主要用于方便商家辨识素材
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 对应的可投放的小程序id
	AppId int64 `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 素材适用的入口样式卡片id
	CardId int64 `json:"card_id,omitempty" xml:"card_id,omitempty"`
	// 素材适用的入口场景id
	SceneId int64 `json:"scene_id,omitempty" xml:"scene_id,omitempty"`
	// 素材id
	MaterialId int64 `json:"material_id,omitempty" xml:"material_id,omitempty"`
	// 要修改的素材id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

MiniAppEntranceMaterialBizOpenDto 结构体

type MiniAppInstanceVersionDto

type MiniAppInstanceVersionDto struct {
	// 小程序版本号
	AppVersion string `json:"app_version,omitempty" xml:"app_version,omitempty"`
	// 发布端
	Client string `json:"client,omitempty" xml:"client,omitempty"`
	// 小程序app_id
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 版本状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 模板id
	TemplateId string `json:"template_id,omitempty" xml:"template_id,omitempty"`
	// 模板版本
	TemplateVersion string `json:"template_version,omitempty" xml:"template_version,omitempty"`
	// 扩展信息
	ExtJson string `json:"ext_json,omitempty" xml:"ext_json,omitempty"`
	// 版本链接。上线状态为线上地址,预览状态为预览地址,下线状态为空。
	AppUrl string `json:"app_url,omitempty" xml:"app_url,omitempty"`
	// 实例版本
	Version string `json:"version,omitempty" xml:"version,omitempty"`
}

MiniAppInstanceVersionDto 结构体

type MiniAppInstantiateAppOpenQuery added in v1.2.5

type MiniAppInstantiateAppOpenQuery struct {
	// 模版id
	TemplateId string `json:"template_id,omitempty" xml:"template_id,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 分页
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
}

MiniAppInstantiateAppOpenQuery 结构体

type MiniAppInstantiateTemplateAppSimpleRequest added in v1.2.5

type MiniAppInstantiateTemplateAppSimpleRequest struct {
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 小部件模版id
	TemplateId string `json:"template_id,omitempty" xml:"template_id,omitempty"`
	// 小部件模版版本
	TemplateVersion string `json:"template_version,omitempty" xml:"template_version,omitempty"`
}

MiniAppInstantiateTemplateAppSimpleRequest 结构体

type MiniAppInstantiateTemplateAppUpdateRequest added in v1.2.5

type MiniAppInstantiateTemplateAppUpdateRequest struct {
	// 小部件实例id
	EntityId string `json:"entity_id,omitempty" xml:"entity_id,omitempty"`
	// 小部件模版id
	TemplateId string `json:"template_id,omitempty" xml:"template_id,omitempty"`
	// 小部件模版版本
	TemplateVersion string `json:"template_version,omitempty" xml:"template_version,omitempty"`
}

MiniAppInstantiateTemplateAppUpdateRequest 结构体

type MiniAppShortUrlDto

type MiniAppShortUrlDto struct {
	// 短链接地址【特别注意:短链接有效期为30天,超过时效短链接将无法正常跳转到原始链接地址,请勿将短链接投放或装修到长期存在的入口】
	ShortUrl string `json:"short_url,omitempty" xml:"short_url,omitempty"`
}

MiniAppShortUrlDto 结构体

type MiniappInstanceAppAllVersionsDto

type MiniappInstanceAppAllVersionsDto struct {
	// 数据可能延迟,查不到隔会儿再查。
	AppVersionList []MiniAppInstanceVersionDto `json:"app_version_list,omitempty" xml:"app_version_list>mini_app_instance_version_dto,omitempty"`
	// 小程序信息
	AppInfo *MiniAppEntityTemplateDto `json:"app_info,omitempty" xml:"app_info,omitempty"`
	// 实体信息
	MiniAppEntityTemplateDto *MiniAppEntityTemplateDto `json:"mini_app_entity_template_dto,omitempty" xml:"mini_app_entity_template_dto,omitempty"`
}

MiniappInstanceAppAllVersionsDto 结构体

type MiniappInstanceAppOfflineDto

type MiniappInstanceAppOfflineDto struct {
	// 端信息
	Client string `json:"client,omitempty" xml:"client,omitempty"`
	// 错误信息
	FailMsg string `json:"fail_msg,omitempty" xml:"fail_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

MiniappInstanceAppOfflineDto 结构体

type MiniappInstanceAppOnlineDto

type MiniappInstanceAppOnlineDto struct {
	// 端信息
	Client string `json:"client,omitempty" xml:"client,omitempty"`
	// 错误信息
	FailMsg string `json:"fail_msg,omitempty" xml:"fail_msg,omitempty"`
	// 是否成功
	Success string `json:"success,omitempty" xml:"success,omitempty"`
}

MiniappInstanceAppOnlineDto 结构体

type MiniappItemDto added in v1.2.9

type MiniappItemDto struct {
	// 主图
	MainPicUrl string `json:"main_pic_url,omitempty" xml:"main_pic_url,omitempty"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 外部商品id
	OutItemId string `json:"out_item_id,omitempty" xml:"out_item_id,omitempty"`
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 一口价,单位【分】
	ReservePrice int64 `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"`
	// 0-正常,其他均为不正常
	AuctionStatus int64 `json:"auction_status,omitempty" xml:"auction_status,omitempty"`
}

MiniappItemDto 结构体

type MiniappItemRequest added in v1.2.9

type MiniappItemRequest struct {
	// 商品id列表
	ItemIds []int64 `json:"item_ids,omitempty" xml:"item_ids>int64,omitempty"`
	// 小程序小游戏appId
	AppId int64 `json:"app_id,omitempty" xml:"app_id,omitempty"`
}

MiniappItemRequest 结构体

type SellerStrategyBenefitItemBindOpenRequest added in v1.2.8

type SellerStrategyBenefitItemBindOpenRequest struct {
	// C小程序id
	AppId int64 `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 策略中,实物权益对应的奖池id
	PoolId int64 `json:"pool_id,omitempty" xml:"pool_id,omitempty"`
}

SellerStrategyBenefitItemBindOpenRequest 结构体

type TaobaominiappappsellerconfigcompleteAPIRequest added in v1.3.1

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

TaobaominiappappsellerconfigcompleteAPIRequest 商家完成小程序相关配置 API请求 taobao.miniapp.app.seller.config.complete

通过该接口告知平台商家已经完成小程序相关的必要设置,可进行后续操作。主要用于小部件、客服插件等场景。

func NewTaobaominiappappsellerconfigcompleteRequest added in v1.3.1

func NewTaobaominiappappsellerconfigcompleteRequest() *TaobaominiappappsellerconfigcompleteAPIRequest

NewTaobaominiappappsellerconfigcompleteRequest 初始化TaobaominiappappsellerconfigcompleteAPIRequest对象

func (TaobaominiappappsellerconfigcompleteAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappappsellerconfigcompleteAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappappsellerconfigcompleteAPIRequest) GetAppId added in v1.3.1

GetAppId AppId Getter

func (TaobaominiappappsellerconfigcompleteAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiappappsellerconfigcompleteAPIRequest) GetVersion added in v1.3.1

GetVersion Version Getter

func (*TaobaominiappappsellerconfigcompleteAPIRequest) SetAppId added in v1.3.1

SetAppId is AppId Setter 商家已完成配置的小部件/B端插件的appid

func (*TaobaominiappappsellerconfigcompleteAPIRequest) SetVersion added in v1.3.1

SetVersion is Version Setter 小部件必传,B端插件不用传。与app_id对应的已完成配置的版本号

type TaobaominiappappsellerconfigcompleteAPIResponse added in v1.3.1

type TaobaominiappappsellerconfigcompleteAPIResponse struct {
	model.CommonResponse
	TaobaominiappappsellerconfigcompleteAPIResponseModel
}

TaobaominiappappsellerconfigcompleteAPIResponse 商家完成小程序相关配置 API返回值 taobao.miniapp.app.seller.config.complete

通过该接口告知平台商家已经完成小程序相关的必要设置,可进行后续操作。主要用于小部件、客服插件等场景。

type TaobaominiappappsellerconfigcompleteAPIResponseModel added in v1.3.1

type TaobaominiappappsellerconfigcompleteAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_app_seller_config_complete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 操作成功与否
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaominiappappsellerconfigcompleteAPIResponseModel is 商家完成小程序相关配置 成功返回结果

type TaobaominiappdistributionitemsbindAPIRequest added in v1.3.1

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

TaobaominiappdistributionitemsbindAPIRequest 【已废弃】小程序投放-商品绑定/解绑 API请求 taobao.miniapp.distribution.items.bind

【已废弃,请使用 taobao.miniapp.distribution.order.items.bind 接口】提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。

func NewTaobaominiappdistributionitemsbindRequest added in v1.3.1

func NewTaobaominiappdistributionitemsbindRequest() *TaobaominiappdistributionitemsbindAPIRequest

NewTaobaominiappdistributionitemsbindRequest 初始化TaobaominiappdistributionitemsbindAPIRequest对象

func (TaobaominiappdistributionitemsbindAPIRequest) GetAddBind added in v1.3.1

GetAddBind AddBind Getter

func (TaobaominiappdistributionitemsbindAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappdistributionitemsbindAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappdistributionitemsbindAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiappdistributionitemsbindAPIRequest) GetTargetEntityList added in v1.3.1

func (r TaobaominiappdistributionitemsbindAPIRequest) GetTargetEntityList() []string

GetTargetEntityList TargetEntityList Getter

func (TaobaominiappdistributionitemsbindAPIRequest) GetUrl added in v1.3.1

GetUrl Url Getter

func (*TaobaominiappdistributionitemsbindAPIRequest) SetAddBind added in v1.3.1

SetAddBind is AddBind Setter true表示新增绑定,false表示解绑

func (*TaobaominiappdistributionitemsbindAPIRequest) SetTargetEntityList added in v1.3.1

func (r *TaobaominiappdistributionitemsbindAPIRequest) SetTargetEntityList(_targetEntityList []string) error

SetTargetEntityList is TargetEntityList Setter 商品id列表

func (*TaobaominiappdistributionitemsbindAPIRequest) SetUrl added in v1.3.1

SetUrl is Url Setter 投放的商家应用完整链接

type TaobaominiappdistributionitemsbindAPIResponse added in v1.3.1

type TaobaominiappdistributionitemsbindAPIResponse struct {
	model.CommonResponse
	TaobaominiappdistributionitemsbindAPIResponseModel
}

TaobaominiappdistributionitemsbindAPIResponse 【已废弃】小程序投放-商品绑定/解绑 API返回值 taobao.miniapp.distribution.items.bind

【已废弃,请使用 taobao.miniapp.distribution.order.items.bind 接口】提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。

type TaobaominiappdistributionitemsbindAPIResponseModel added in v1.3.1

type TaobaominiappdistributionitemsbindAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_distribution_items_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 绑定的结果列表
	ModelList []DistributionOrderBindTargetEntityOpenResultDto `json:"model_list,omitempty" xml:"model_list>distribution_order_bind_target_entity_open_result_dto,omitempty"`
}

TaobaominiappdistributionitemsbindAPIResponseModel is 【已废弃】小程序投放-商品绑定/解绑 成功返回结果

type TaobaominiappdistributionmaterialcreateAPIRequest added in v1.3.1

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

TaobaominiappdistributionmaterialcreateAPIRequest 小程序投放--新建投放素材 API请求 taobao.miniapp.distribution.material.create

为可投放的小程序,增加入口的素材信息,比如图片、引导文案等等。

func NewTaobaominiappdistributionmaterialcreateRequest added in v1.3.1

func NewTaobaominiappdistributionmaterialcreateRequest() *TaobaominiappdistributionmaterialcreateAPIRequest

NewTaobaominiappdistributionmaterialcreateRequest 初始化TaobaominiappdistributionmaterialcreateAPIRequest对象

func (TaobaominiappdistributionmaterialcreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappdistributionmaterialcreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappdistributionmaterialcreateAPIRequest) GetMaterialRequest added in v1.3.1

GetMaterialRequest MaterialRequest Getter

func (TaobaominiappdistributionmaterialcreateAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappdistributionmaterialcreateAPIRequest) SetMaterialRequest added in v1.3.1

SetMaterialRequest is MaterialRequest Setter 投放入口素材信息

type TaobaominiappdistributionmaterialcreateAPIResponse added in v1.3.1

type TaobaominiappdistributionmaterialcreateAPIResponse struct {
	model.CommonResponse
	TaobaominiappdistributionmaterialcreateAPIResponseModel
}

TaobaominiappdistributionmaterialcreateAPIResponse 小程序投放--新建投放素材 API返回值 taobao.miniapp.distribution.material.create

为可投放的小程序,增加入口的素材信息,比如图片、引导文案等等。

type TaobaominiappdistributionmaterialcreateAPIResponseModel added in v1.3.1

type TaobaominiappdistributionmaterialcreateAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_distribution_material_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	MaterialErrorCode string `json:"material_error_code,omitempty" xml:"material_error_code,omitempty"`
	// 错误信息
	MaterialErrorMessage string `json:"material_error_message,omitempty" xml:"material_error_message,omitempty"`
	// 创建成功的素材id
	Model int64 `json:"model,omitempty" xml:"model,omitempty"`
	// 调用是否成功
	MaterialSuccess bool `json:"material_success,omitempty" xml:"material_success,omitempty"`
}

TaobaominiappdistributionmaterialcreateAPIResponseModel is 小程序投放--新建投放素材 成功返回结果

type TaobaominiappdistributionmaterialdeleteAPIRequest added in v1.3.1

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

TaobaominiappdistributionmaterialdeleteAPIRequest 小程序投放 --- 删除投放素材 API请求 taobao.miniapp.distribution.material.delete

删除已录入的投放入口素材信息。

func NewTaobaominiappdistributionmaterialdeleteRequest added in v1.3.1

func NewTaobaominiappdistributionmaterialdeleteRequest() *TaobaominiappdistributionmaterialdeleteAPIRequest

NewTaobaominiappdistributionmaterialdeleteRequest 初始化TaobaominiappdistributionmaterialdeleteAPIRequest对象

func (TaobaominiappdistributionmaterialdeleteAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappdistributionmaterialdeleteAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappdistributionmaterialdeleteAPIRequest) GetMaterialRequest added in v1.3.1

GetMaterialRequest MaterialRequest Getter

func (TaobaominiappdistributionmaterialdeleteAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappdistributionmaterialdeleteAPIRequest) SetMaterialRequest added in v1.3.1

SetMaterialRequest is MaterialRequest Setter 投放入口素材信息

type TaobaominiappdistributionmaterialdeleteAPIResponse added in v1.3.1

type TaobaominiappdistributionmaterialdeleteAPIResponse struct {
	model.CommonResponse
	TaobaominiappdistributionmaterialdeleteAPIResponseModel
}

TaobaominiappdistributionmaterialdeleteAPIResponse 小程序投放 --- 删除投放素材 API返回值 taobao.miniapp.distribution.material.delete

删除已录入的投放入口素材信息。

type TaobaominiappdistributionmaterialdeleteAPIResponseModel added in v1.3.1

type TaobaominiappdistributionmaterialdeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_distribution_material_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	MaterialErrorCode string `json:"material_error_code,omitempty" xml:"material_error_code,omitempty"`
	// 错误信息
	MaterialErrorMessage string `json:"material_error_message,omitempty" xml:"material_error_message,omitempty"`
	// 调用是否成功
	MaterialSuccess bool `json:"material_success,omitempty" xml:"material_success,omitempty"`
	// 操作结果
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaominiappdistributionmaterialdeleteAPIResponseModel is 小程序投放 --- 删除投放素材 成功返回结果

type TaobaominiappdistributionmaterialgetAPIRequest added in v1.3.1

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

TaobaominiappdistributionmaterialgetAPIRequest 小程序投放---读取投放入口素材信息 API请求 taobao.miniapp.distribution.material.get

读取已录入的投放入口素材信息。

func NewTaobaominiappdistributionmaterialgetRequest added in v1.3.1

func NewTaobaominiappdistributionmaterialgetRequest() *TaobaominiappdistributionmaterialgetAPIRequest

NewTaobaominiappdistributionmaterialgetRequest 初始化TaobaominiappdistributionmaterialgetAPIRequest对象

func (TaobaominiappdistributionmaterialgetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappdistributionmaterialgetAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappdistributionmaterialgetAPIRequest) GetMaterialRequest added in v1.3.1

GetMaterialRequest MaterialRequest Getter

func (TaobaominiappdistributionmaterialgetAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappdistributionmaterialgetAPIRequest) SetMaterialRequest added in v1.3.1

SetMaterialRequest is MaterialRequest Setter 投放入口素材信息

type TaobaominiappdistributionmaterialgetAPIResponse added in v1.3.1

type TaobaominiappdistributionmaterialgetAPIResponse struct {
	model.CommonResponse
	TaobaominiappdistributionmaterialgetAPIResponseModel
}

TaobaominiappdistributionmaterialgetAPIResponse 小程序投放---读取投放入口素材信息 API返回值 taobao.miniapp.distribution.material.get

读取已录入的投放入口素材信息。

type TaobaominiappdistributionmaterialgetAPIResponseModel added in v1.3.1

type TaobaominiappdistributionmaterialgetAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_distribution_material_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 素材信息
	Model []TaobaominiappdistributionmaterialgetModel `json:"model,omitempty" xml:"model>taobaominiappdistributionmaterialget_model,omitempty"`
	// 错误码
	MaterialErrorCode string `json:"material_error_code,omitempty" xml:"material_error_code,omitempty"`
	// 错误信息
	MaterialErrorMessage string `json:"material_error_message,omitempty" xml:"material_error_message,omitempty"`
	// 调用是否成功
	MaterialSuccess bool `json:"material_success,omitempty" xml:"material_success,omitempty"`
}

TaobaominiappdistributionmaterialgetAPIResponseModel is 小程序投放---读取投放入口素材信息 成功返回结果

type TaobaominiappdistributionmaterialgetModel added in v1.3.1

type TaobaominiappdistributionmaterialgetModel struct {
	// 素材名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 场景卡片对应的动态表单内容
	DataStr string `json:"data_str,omitempty" xml:"data_str,omitempty"`
	// 素材对应的页面路径
	Path string `json:"path,omitempty" xml:"path,omitempty"`
	// 素材对应的页面参数值:全局参数值
	QParamsValueStr string `json:"q_params_value_str,omitempty" xml:"q_params_value_str,omitempty"`
	// 素材对应的页面参数值:页面参数值
	PParamsValueStr string `json:"p_params_value_str,omitempty" xml:"p_params_value_str,omitempty"`
	// 素材id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 小程序appid
	AppId int64 `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 支持的投放入口卡片id
	CardId int64 `json:"card_id,omitempty" xml:"card_id,omitempty"`
	// 支持的投放入口场景id
	SceneId int64 `json:"scene_id,omitempty" xml:"scene_id,omitempty"`
}

TaobaominiappdistributionmaterialgetModel 结构体

type TaobaominiappdistributionmaterialupdateAPIRequest added in v1.3.1

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

TaobaominiappdistributionmaterialupdateAPIRequest 小程序投放 --- 更新投放素材 API请求 taobao.miniapp.distribution.material.update

修改已录入的投放素材信息。

func NewTaobaominiappdistributionmaterialupdateRequest added in v1.3.1

func NewTaobaominiappdistributionmaterialupdateRequest() *TaobaominiappdistributionmaterialupdateAPIRequest

NewTaobaominiappdistributionmaterialupdateRequest 初始化TaobaominiappdistributionmaterialupdateAPIRequest对象

func (TaobaominiappdistributionmaterialupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappdistributionmaterialupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappdistributionmaterialupdateAPIRequest) GetMaterialRequest added in v1.3.1

GetMaterialRequest MaterialRequest Getter

func (TaobaominiappdistributionmaterialupdateAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappdistributionmaterialupdateAPIRequest) SetMaterialRequest added in v1.3.1

SetMaterialRequest is MaterialRequest Setter 投放入口素材信息

type TaobaominiappdistributionmaterialupdateAPIResponse added in v1.3.1

type TaobaominiappdistributionmaterialupdateAPIResponse struct {
	model.CommonResponse
	TaobaominiappdistributionmaterialupdateAPIResponseModel
}

TaobaominiappdistributionmaterialupdateAPIResponse 小程序投放 --- 更新投放素材 API返回值 taobao.miniapp.distribution.material.update

修改已录入的投放素材信息。

type TaobaominiappdistributionmaterialupdateAPIResponseModel added in v1.3.1

type TaobaominiappdistributionmaterialupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_distribution_material_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	MaterialErrorCode string `json:"material_error_code,omitempty" xml:"material_error_code,omitempty"`
	// 错误信息
	MaterialErrorMessage string `json:"material_error_message,omitempty" xml:"material_error_message,omitempty"`
	// 调用是否成功
	MaterialSuccess bool `json:"material_success,omitempty" xml:"material_success,omitempty"`
	// 是否修改成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaominiappdistributionmaterialupdateAPIResponseModel is 小程序投放 --- 更新投放素材 成功返回结果

type TaobaominiappdistributionordercreateAPIRequest added in v1.3.1

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

TaobaominiappdistributionordercreateAPIRequest 创建小程序投放计划 API请求 taobao.miniapp.distribution.order.create

帮助商家,创建小程序的投放计划。该api,仅针对特定场景开放,目前仅支持客服场景,具体支持的场景列表请联系技术支持或业务对接人确认。

func NewTaobaominiappdistributionordercreateRequest added in v1.3.1

func NewTaobaominiappdistributionordercreateRequest() *TaobaominiappdistributionordercreateAPIRequest

NewTaobaominiappdistributionordercreateRequest 初始化TaobaominiappdistributionordercreateAPIRequest对象

func (TaobaominiappdistributionordercreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappdistributionordercreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappdistributionordercreateAPIRequest) GetOrderRequest added in v1.3.1

GetOrderRequest OrderRequest Getter

func (TaobaominiappdistributionordercreateAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappdistributionordercreateAPIRequest) SetOrderRequest added in v1.3.1

SetOrderRequest is OrderRequest Setter 投放计划信息

type TaobaominiappdistributionordercreateAPIResponse added in v1.3.1

type TaobaominiappdistributionordercreateAPIResponse struct {
	model.CommonResponse
	TaobaominiappdistributionordercreateAPIResponseModel
}

TaobaominiappdistributionordercreateAPIResponse 创建小程序投放计划 API返回值 taobao.miniapp.distribution.order.create

帮助商家,创建小程序的投放计划。该api,仅针对特定场景开放,目前仅支持客服场景,具体支持的场景列表请联系技术支持或业务对接人确认。

type TaobaominiappdistributionordercreateAPIResponseModel added in v1.3.1

type TaobaominiappdistributionordercreateAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_distribution_order_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	OrderErrorInfo string `json:"order_error_info,omitempty" xml:"order_error_info,omitempty"`
	// 错误码
	OrderErrorCode int64 `json:"order_error_code,omitempty" xml:"order_error_code,omitempty"`
	// 创建成功的投放计划id
	Model int64 `json:"model,omitempty" xml:"model,omitempty"`
	// 调用是否成功
	OrderSuccess bool `json:"order_success,omitempty" xml:"order_success,omitempty"`
}

TaobaominiappdistributionordercreateAPIResponseModel is 创建小程序投放计划 成功返回结果

type TaobaominiappdistributionordergetAPIRequest added in v1.3.1

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

TaobaominiappdistributionordergetAPIRequest 小程序投放-查询小程序投放计划信息 API请求 taobao.miniapp.distribution.order.get

服务商可通过该API,读取自己开发的小程序对应的投放计划的相关信息

func NewTaobaominiappdistributionordergetRequest added in v1.3.1

func NewTaobaominiappdistributionordergetRequest() *TaobaominiappdistributionordergetAPIRequest

NewTaobaominiappdistributionordergetRequest 初始化TaobaominiappdistributionordergetAPIRequest对象

func (TaobaominiappdistributionordergetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappdistributionordergetAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappdistributionordergetAPIRequest) GetOrderIdRequest added in v1.3.1

GetOrderIdRequest OrderIdRequest Getter

func (TaobaominiappdistributionordergetAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappdistributionordergetAPIRequest) SetOrderIdRequest added in v1.3.1

SetOrderIdRequest is OrderIdRequest Setter 查询入参

type TaobaominiappdistributionordergetAPIResponse added in v1.3.1

type TaobaominiappdistributionordergetAPIResponse struct {
	model.CommonResponse
	TaobaominiappdistributionordergetAPIResponseModel
}

TaobaominiappdistributionordergetAPIResponse 小程序投放-查询小程序投放计划信息 API返回值 taobao.miniapp.distribution.order.get

服务商可通过该API,读取自己开发的小程序对应的投放计划的相关信息

type TaobaominiappdistributionordergetAPIResponseModel added in v1.3.1

type TaobaominiappdistributionordergetAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_distribution_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 投放计划列表的详细信息
	Model []DistributionOrderOpenBizDto `json:"model,omitempty" xml:"model>distribution_order_open_biz_dto,omitempty"`
}

TaobaominiappdistributionordergetAPIResponseModel is 小程序投放-查询小程序投放计划信息 成功返回结果

type TaobaominiappdistributionorderitemsallbindAPIRequest added in v1.3.1

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

TaobaominiappdistributionorderitemsallbindAPIRequest 小程序投放-基于投放计划绑定/解绑全店商品 API请求 taobao.miniapp.distribution.order.items.all.bind

提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。该接口对应的能力是全店投放,表示店铺里的所有商品均会透出对应的投放计划(并且对于新上架的商品,系统也会每天凌晨进行一次补充投放,始终保持全店商品都有悬浮窗入口),该能力的使用,需要联系平台运营进行人工申请,申请通过以后方可调用成功。

func NewTaobaominiappdistributionorderitemsallbindRequest added in v1.3.1

func NewTaobaominiappdistributionorderitemsallbindRequest() *TaobaominiappdistributionorderitemsallbindAPIRequest

NewTaobaominiappdistributionorderitemsallbindRequest 初始化TaobaominiappdistributionorderitemsallbindAPIRequest对象

func (TaobaominiappdistributionorderitemsallbindAPIRequest) GetAllItemBindRequest added in v1.3.1

GetAllItemBindRequest AllItemBindRequest Getter

func (TaobaominiappdistributionorderitemsallbindAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappdistributionorderitemsallbindAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappdistributionorderitemsallbindAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappdistributionorderitemsallbindAPIRequest) SetAllItemBindRequest added in v1.3.1

SetAllItemBindRequest is AllItemBindRequest Setter 绑定/解绑的入参信息

type TaobaominiappdistributionorderitemsallbindAPIResponse added in v1.3.1

type TaobaominiappdistributionorderitemsallbindAPIResponse struct {
	model.CommonResponse
	TaobaominiappdistributionorderitemsallbindAPIResponseModel
}

TaobaominiappdistributionorderitemsallbindAPIResponse 小程序投放-基于投放计划绑定/解绑全店商品 API返回值 taobao.miniapp.distribution.order.items.all.bind

提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。该接口对应的能力是全店投放,表示店铺里的所有商品均会透出对应的投放计划(并且对于新上架的商品,系统也会每天凌晨进行一次补充投放,始终保持全店商品都有悬浮窗入口),该能力的使用,需要联系平台运营进行人工申请,申请通过以后方可调用成功。

type TaobaominiappdistributionorderitemsallbindAPIResponseModel added in v1.3.1

type TaobaominiappdistributionorderitemsallbindAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_distribution_order_items_all_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否绑定/解绑成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaominiappdistributionorderitemsallbindAPIResponseModel is 小程序投放-基于投放计划绑定/解绑全店商品 成功返回结果

type TaobaominiappdistributionorderitemsbindAPIRequest added in v1.3.1

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

TaobaominiappdistributionorderitemsbindAPIRequest 小程序投放-基于投放计划绑定/解绑商品 API请求 taobao.miniapp.distribution.order.items.bind

提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。

func NewTaobaominiappdistributionorderitemsbindRequest added in v1.3.1

func NewTaobaominiappdistributionorderitemsbindRequest() *TaobaominiappdistributionorderitemsbindAPIRequest

NewTaobaominiappdistributionorderitemsbindRequest 初始化TaobaominiappdistributionorderitemsbindAPIRequest对象

func (TaobaominiappdistributionorderitemsbindAPIRequest) GetAddBind added in v1.3.1

GetAddBind AddBind Getter

func (TaobaominiappdistributionorderitemsbindAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappdistributionorderitemsbindAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappdistributionorderitemsbindAPIRequest) GetDistributeId added in v1.3.1

GetDistributeId DistributeId Getter

func (TaobaominiappdistributionorderitemsbindAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiappdistributionorderitemsbindAPIRequest) GetTargetEntityList added in v1.3.1

GetTargetEntityList TargetEntityList Getter

func (*TaobaominiappdistributionorderitemsbindAPIRequest) SetAddBind added in v1.3.1

SetAddBind is AddBind Setter true表示新增绑定,false表示解绑

func (*TaobaominiappdistributionorderitemsbindAPIRequest) SetDistributeId added in v1.3.1

func (r *TaobaominiappdistributionorderitemsbindAPIRequest) SetDistributeId(_distributeId int64) error

SetDistributeId is DistributeId Setter 投放计划标识id

func (*TaobaominiappdistributionorderitemsbindAPIRequest) SetTargetEntityList added in v1.3.1

func (r *TaobaominiappdistributionorderitemsbindAPIRequest) SetTargetEntityList(_targetEntityList []string) error

SetTargetEntityList is TargetEntityList Setter 商品id列表

type TaobaominiappdistributionorderitemsbindAPIResponse added in v1.3.1

type TaobaominiappdistributionorderitemsbindAPIResponse struct {
	model.CommonResponse
	TaobaominiappdistributionorderitemsbindAPIResponseModel
}

TaobaominiappdistributionorderitemsbindAPIResponse 小程序投放-基于投放计划绑定/解绑商品 API返回值 taobao.miniapp.distribution.order.items.bind

提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。

type TaobaominiappdistributionorderitemsbindAPIResponseModel added in v1.3.1

type TaobaominiappdistributionorderitemsbindAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_distribution_order_items_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 绑定的结果
	Model *DistributionOrderBindTargetEntityOpenResultDto `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaominiappdistributionorderitemsbindAPIResponseModel is 小程序投放-基于投放计划绑定/解绑商品 成功返回结果

type TaobaominiappdistributionorderprecreateAPIRequest added in v1.3.1

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

TaobaominiappdistributionorderprecreateAPIRequest 代商家预创建投放计划 API请求 taobao.miniapp.distribution.order.precreate

帮助商家,预创建小程序的投放计划,预创建的投放计划,在商家确认以后,则会生效可用。

func NewTaobaominiappdistributionorderprecreateRequest added in v1.3.1

func NewTaobaominiappdistributionorderprecreateRequest() *TaobaominiappdistributionorderprecreateAPIRequest

NewTaobaominiappdistributionorderprecreateRequest 初始化TaobaominiappdistributionorderprecreateAPIRequest对象

func (TaobaominiappdistributionorderprecreateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappdistributionorderprecreateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappdistributionorderprecreateAPIRequest) GetOrderRequest added in v1.3.1

GetOrderRequest OrderRequest Getter

func (TaobaominiappdistributionorderprecreateAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappdistributionorderprecreateAPIRequest) SetOrderRequest added in v1.3.1

SetOrderRequest is OrderRequest Setter 投放计划信息

type TaobaominiappdistributionorderprecreateAPIResponse added in v1.3.1

type TaobaominiappdistributionorderprecreateAPIResponse struct {
	model.CommonResponse
	TaobaominiappdistributionorderprecreateAPIResponseModel
}

TaobaominiappdistributionorderprecreateAPIResponse 代商家预创建投放计划 API返回值 taobao.miniapp.distribution.order.precreate

帮助商家,预创建小程序的投放计划,预创建的投放计划,在商家确认以后,则会生效可用。

type TaobaominiappdistributionorderprecreateAPIResponseModel added in v1.3.1

type TaobaominiappdistributionorderprecreateAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_distribution_order_precreate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	OrderErrorInfo string `json:"order_error_info,omitempty" xml:"order_error_info,omitempty"`
	// 错误码
	OrderErrorCode int64 `json:"order_error_code,omitempty" xml:"order_error_code,omitempty"`
	// 预创建成功的投放计划id
	Model int64 `json:"model,omitempty" xml:"model,omitempty"`
	// 调用是否成功
	OrderSuccess bool `json:"order_success,omitempty" xml:"order_success,omitempty"`
}

TaobaominiappdistributionorderprecreateAPIResponseModel is 代商家预创建投放计划 成功返回结果

type TaobaominiappinteractbenefititemgetAPIRequest added in v1.3.1

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

TaobaominiappinteractbenefititemgetAPIRequest 读取实物权益奖池对应绑定的专属下单商品 API请求 taobao.miniapp.interact.benefit.item.get

读取实物权益奖池对应绑定的专属下单商品

func NewTaobaominiappinteractbenefititemgetRequest added in v1.3.1

func NewTaobaominiappinteractbenefititemgetRequest() *TaobaominiappinteractbenefititemgetAPIRequest

NewTaobaominiappinteractbenefititemgetRequest 初始化TaobaominiappinteractbenefititemgetAPIRequest对象

func (TaobaominiappinteractbenefititemgetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappinteractbenefititemgetAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappinteractbenefititemgetAPIRequest) GetMiniAppSellerStrategyBenefitItemBindRequest added in v1.3.1

func (r TaobaominiappinteractbenefititemgetAPIRequest) GetMiniAppSellerStrategyBenefitItemBindRequest() *SellerStrategyBenefitItemBindOpenRequest

GetMiniAppSellerStrategyBenefitItemBindRequest MiniAppSellerStrategyBenefitItemBindRequest Getter

func (TaobaominiappinteractbenefititemgetAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappinteractbenefititemgetAPIRequest) SetMiniAppSellerStrategyBenefitItemBindRequest added in v1.3.1

func (r *TaobaominiappinteractbenefititemgetAPIRequest) SetMiniAppSellerStrategyBenefitItemBindRequest(_miniAppSellerStrategyBenefitItemBindRequest *SellerStrategyBenefitItemBindOpenRequest) error

SetMiniAppSellerStrategyBenefitItemBindRequest is MiniAppSellerStrategyBenefitItemBindRequest Setter 查询条件

type TaobaominiappinteractbenefititemgetAPIResponse added in v1.3.1

type TaobaominiappinteractbenefititemgetAPIResponse struct {
	model.CommonResponse
	TaobaominiappinteractbenefititemgetAPIResponseModel
}

TaobaominiappinteractbenefititemgetAPIResponse 读取实物权益奖池对应绑定的专属下单商品 API返回值 taobao.miniapp.interact.benefit.item.get

读取实物权益奖池对应绑定的专属下单商品

type TaobaominiappinteractbenefititemgetAPIResponseModel added in v1.3.1

type TaobaominiappinteractbenefititemgetAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_interact_benefit_item_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 失败时,对应的错误码
	InvokeErrCode string `json:"invoke_err_code,omitempty" xml:"invoke_err_code,omitempty"`
	// 失败时,对应的错误信息
	InvokeErrMessage string `json:"invoke_err_message,omitempty" xml:"invoke_err_message,omitempty"`
	// 对应绑定的商品id
	Model int64 `json:"model,omitempty" xml:"model,omitempty"`
	// 是否成功
	InvokeSuccess bool `json:"invoke_success,omitempty" xml:"invoke_success,omitempty"`
}

TaobaominiappinteractbenefititemgetAPIResponseModel is 读取实物权益奖池对应绑定的专属下单商品 成功返回结果

type TaobaominiappptemplateinstantiateAPIRequest added in v1.3.1

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

TaobaominiappptemplateinstantiateAPIRequest (已废弃)构建实例化应用 API请求 taobao.miniappp.template.instantiate

实例化saas化的小程序

func NewTaobaominiappptemplateinstantiateRequest added in v1.3.1

func NewTaobaominiappptemplateinstantiateRequest() *TaobaominiappptemplateinstantiateAPIRequest

NewTaobaominiappptemplateinstantiateRequest 初始化TaobaominiappptemplateinstantiateAPIRequest对象

func (TaobaominiappptemplateinstantiateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappptemplateinstantiateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappptemplateinstantiateAPIRequest) GetClients added in v1.3.1

GetClients Clients Getter

func (TaobaominiappptemplateinstantiateAPIRequest) GetDescription added in v1.3.1

GetDescription Description Getter

func (TaobaominiappptemplateinstantiateAPIRequest) GetExtJson added in v1.3.1

GetExtJson ExtJson Getter

func (TaobaominiappptemplateinstantiateAPIRequest) GetIcon added in v1.3.1

GetIcon Icon Getter

func (TaobaominiappptemplateinstantiateAPIRequest) GetName added in v1.3.1

GetName Name Getter

func (TaobaominiappptemplateinstantiateAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiappptemplateinstantiateAPIRequest) GetTemplateId added in v1.3.1

GetTemplateId TemplateId Getter

func (TaobaominiappptemplateinstantiateAPIRequest) GetTemplateVersion added in v1.3.1

func (r TaobaominiappptemplateinstantiateAPIRequest) GetTemplateVersion() string

GetTemplateVersion TemplateVersion Getter

func (*TaobaominiappptemplateinstantiateAPIRequest) SetClients added in v1.3.1

func (r *TaobaominiappptemplateinstantiateAPIRequest) SetClients(_clients []string) error

SetClients is Clients Setter 投放端,目前可投放: taobao(淘宝),tmall(天猫)

func (*TaobaominiappptemplateinstantiateAPIRequest) SetDescription added in v1.3.1

func (r *TaobaominiappptemplateinstantiateAPIRequest) SetDescription(_description string) error

SetDescription is Description Setter 描述长度(9~200)

func (*TaobaominiappptemplateinstantiateAPIRequest) SetExtJson added in v1.3.1

SetExtJson is ExtJson Setter schemadata, json字符串

func (*TaobaominiappptemplateinstantiateAPIRequest) SetIcon added in v1.3.1

SetIcon is Icon Setter 小程序icon

func (*TaobaominiappptemplateinstantiateAPIRequest) SetName added in v1.3.1

SetName is Name Setter 小程序名称

func (*TaobaominiappptemplateinstantiateAPIRequest) SetTemplateId added in v1.3.1

func (r *TaobaominiappptemplateinstantiateAPIRequest) SetTemplateId(_templateId string) error

SetTemplateId is TemplateId Setter 模板id

func (*TaobaominiappptemplateinstantiateAPIRequest) SetTemplateVersion added in v1.3.1

func (r *TaobaominiappptemplateinstantiateAPIRequest) SetTemplateVersion(_templateVersion string) error

SetTemplateVersion is TemplateVersion Setter 模板版本

type TaobaominiappptemplateinstantiateAPIResponse added in v1.3.1

type TaobaominiappptemplateinstantiateAPIResponse struct {
	model.CommonResponse
	TaobaominiappptemplateinstantiateAPIResponseModel
}

TaobaominiappptemplateinstantiateAPIResponse (已废弃)构建实例化应用 API返回值 taobao.miniappp.template.instantiate

实例化saas化的小程序

type TaobaominiappptemplateinstantiateAPIResponseModel added in v1.3.1

type TaobaominiappptemplateinstantiateAPIResponseModel struct {
	XMLName xml.Name `xml:"miniappp_template_instantiate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaominiappptemplateinstantiateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaominiappptemplateinstantiateAPIResponseModel is (已废弃)构建实例化应用 成功返回结果

type TaobaominiappptemplateinstantiateResult added in v1.3.1

type TaobaominiappptemplateinstantiateResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// model
	Model *MiniAppEntityDto `json:"model,omitempty" xml:"model,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaominiappptemplateinstantiateResult 结构体

type TaobaominiappshorturlcreateAPIRequest added in v1.3.1

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

TaobaominiappshorturlcreateAPIRequest 生成淘宝小程序短链接 API请求 taobao.miniapp.shorturl.create

提供淘宝小程序短链接生成的能力,只允许对淘宝小程序对应的域名:https://m.duanqu.com/ 生成对应的短链接,其他域名无效 【特别注意:短链接有效期为30天,超过时效短链接将无法正常跳转到原始链接地址,请勿将短链接投放或装修到长期存在的入口】

func NewTaobaominiappshorturlcreateRequest added in v1.3.1

func NewTaobaominiappshorturlcreateRequest() *TaobaominiappshorturlcreateAPIRequest

NewTaobaominiappshorturlcreateRequest 初始化TaobaominiappshorturlcreateAPIRequest对象

func (TaobaominiappshorturlcreateAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaominiappshorturlcreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappshorturlcreateAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappshorturlcreateAPIRequest) GetMiniappUrl added in v1.3.1

GetMiniappUrl MiniappUrl Getter

func (TaobaominiappshorturlcreateAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappshorturlcreateAPIRequest) SetMiniappUrl added in v1.3.1

func (r *TaobaominiappshorturlcreateAPIRequest) SetMiniappUrl(_miniappUrl string) error

SetMiniappUrl is MiniappUrl Setter 小程序链接地址。说明:链接地址,只允许https协议,域名只支持m.duanqu.com,链接必须包含_ariver_appid参数,链接不能够包含spm、short_name、app、tb_url_time_stamp这些系统保留参数

type TaobaominiappshorturlcreateAPIResponse added in v1.3.1

type TaobaominiappshorturlcreateAPIResponse struct {
	model.CommonResponse
	TaobaominiappshorturlcreateAPIResponseModel
}

TaobaominiappshorturlcreateAPIResponse 生成淘宝小程序短链接 API返回值 taobao.miniapp.shorturl.create

提供淘宝小程序短链接生成的能力,只允许对淘宝小程序对应的域名:https://m.duanqu.com/ 生成对应的短链接,其他域名无效 【特别注意:短链接有效期为30天,超过时效短链接将无法正常跳转到原始链接地址,请勿将短链接投放或装修到长期存在的入口】

type TaobaominiappshorturlcreateAPIResponseModel added in v1.3.1

type TaobaominiappshorturlcreateAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_shorturl_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaominiappshorturlcreateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaominiappshorturlcreateAPIResponseModel is 生成淘宝小程序短链接 成功返回结果

type TaobaominiappshorturlcreateResult added in v1.3.1

type TaobaominiappshorturlcreateResult struct {
	// model
	Model *MiniAppShortUrlDto `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaominiappshorturlcreateResult 结构体

type TaobaominiapptemplateinstantiateAPIRequest added in v1.3.1

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

TaobaominiapptemplateinstantiateAPIRequest 构建实例化应用 API请求 taobao.miniapp.template.instantiate

实例化saas化的小程序

func NewTaobaominiapptemplateinstantiateRequest added in v1.3.1

func NewTaobaominiapptemplateinstantiateRequest() *TaobaominiapptemplateinstantiateAPIRequest

NewTaobaominiapptemplateinstantiateRequest 初始化TaobaominiapptemplateinstantiateAPIRequest对象

func (TaobaominiapptemplateinstantiateAPIRequest) GetAlias added in v1.3.1

GetAlias Alias Getter

func (TaobaominiapptemplateinstantiateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiapptemplateinstantiateAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiapptemplateinstantiateAPIRequest) GetClients added in v1.3.1

GetClients Clients Getter

func (TaobaominiapptemplateinstantiateAPIRequest) GetDescription added in v1.3.1

GetDescription Description Getter

func (TaobaominiapptemplateinstantiateAPIRequest) GetExtJson added in v1.3.1

GetExtJson ExtJson Getter

func (TaobaominiapptemplateinstantiateAPIRequest) GetIcon added in v1.3.1

GetIcon Icon Getter

func (TaobaominiapptemplateinstantiateAPIRequest) GetName added in v1.3.1

GetName Name Getter

func (TaobaominiapptemplateinstantiateAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiapptemplateinstantiateAPIRequest) GetTemplateId added in v1.3.1

GetTemplateId TemplateId Getter

func (TaobaominiapptemplateinstantiateAPIRequest) GetTemplateVersion added in v1.3.1

func (r TaobaominiapptemplateinstantiateAPIRequest) GetTemplateVersion() string

GetTemplateVersion TemplateVersion Getter

func (*TaobaominiapptemplateinstantiateAPIRequest) SetAlias added in v1.3.1

SetAlias is Alias Setter 小程序简称【1-16】字符,可重名

func (*TaobaominiapptemplateinstantiateAPIRequest) SetClients added in v1.3.1

func (r *TaobaominiapptemplateinstantiateAPIRequest) SetClients(_clients []string) error

SetClients is Clients Setter 投放端,目前可投放: taobao(淘宝),tmall(天猫),taobao为必填,需要模板在这些端上已经发布上线

func (*TaobaominiapptemplateinstantiateAPIRequest) SetDescription added in v1.3.1

func (r *TaobaominiapptemplateinstantiateAPIRequest) SetDescription(_description string) error

SetDescription is Description Setter 描述长度(9~200)

func (*TaobaominiapptemplateinstantiateAPIRequest) SetExtJson added in v1.3.1

SetExtJson is ExtJson Setter 扩展信息,JSON格式。

func (*TaobaominiapptemplateinstantiateAPIRequest) SetIcon added in v1.3.1

SetIcon is Icon Setter 小程序icon

func (*TaobaominiapptemplateinstantiateAPIRequest) SetName added in v1.3.1

SetName is Name Setter 小程序名称按平台规则自动生成,该字段仅做兜底使用。

func (*TaobaominiapptemplateinstantiateAPIRequest) SetTemplateId added in v1.3.1

func (r *TaobaominiapptemplateinstantiateAPIRequest) SetTemplateId(_templateId string) error

SetTemplateId is TemplateId Setter 模板id

func (*TaobaominiapptemplateinstantiateAPIRequest) SetTemplateVersion added in v1.3.1

func (r *TaobaominiapptemplateinstantiateAPIRequest) SetTemplateVersion(_templateVersion string) error

SetTemplateVersion is TemplateVersion Setter 模板版本

type TaobaominiapptemplateinstantiateAPIResponse added in v1.3.1

type TaobaominiapptemplateinstantiateAPIResponse struct {
	model.CommonResponse
	TaobaominiapptemplateinstantiateAPIResponseModel
}

TaobaominiapptemplateinstantiateAPIResponse 构建实例化应用 API返回值 taobao.miniapp.template.instantiate

实例化saas化的小程序

type TaobaominiapptemplateinstantiateAPIResponseModel added in v1.3.1

type TaobaominiapptemplateinstantiateAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_template_instantiate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// appkey
	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`
	// 小程序app_id
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 小程序名称按平台规则自动生成。在授权弹窗标题、「关于」页面展示名称。
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// 小程序描述
	AppDescription string `json:"app_description,omitempty" xml:"app_description,omitempty"`
	// 小程序icon
	AppIcon string `json:"app_icon,omitempty" xml:"app_icon,omitempty"`
	// 当前新生成的预览版本号
	AppVersion string `json:"app_version,omitempty" xml:"app_version,omitempty"`
	// 当前新生成的预览版本的链接,仅当前商家有权限预览。
	PreViewUrl string `json:"pre_view_url,omitempty" xml:"pre_view_url,omitempty"`
	// 小程序简称。在小程序Loading动画、首页标题、「更多」菜单标题上优先展示简称。
	AppAlias string `json:"app_alias,omitempty" xml:"app_alias,omitempty"`
}

TaobaominiapptemplateinstantiateAPIResponseModel is 构建实例化应用 成功返回结果

type TaobaominiapptemplateofflineappAPIRequest added in v1.3.1

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

TaobaominiapptemplateofflineappAPIRequest 下线实例化应用 API请求 taobao.miniapp.template.offlineapp

对指定的实例化小程序进行下线,需要指定clients和app_version

func NewTaobaominiapptemplateofflineappRequest added in v1.3.1

func NewTaobaominiapptemplateofflineappRequest() *TaobaominiapptemplateofflineappAPIRequest

NewTaobaominiapptemplateofflineappRequest 初始化TaobaominiapptemplateofflineappAPIRequest对象

func (TaobaominiapptemplateofflineappAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiapptemplateofflineappAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiapptemplateofflineappAPIRequest) GetAppId added in v1.3.1

GetAppId AppId Getter

func (TaobaominiapptemplateofflineappAPIRequest) GetAppVersion added in v1.3.1

GetAppVersion AppVersion Getter

func (TaobaominiapptemplateofflineappAPIRequest) GetClients added in v1.3.1

GetClients Clients Getter

func (TaobaominiapptemplateofflineappAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiapptemplateofflineappAPIRequest) GetTemplateId added in v1.3.1

GetTemplateId TemplateId Getter

func (*TaobaominiapptemplateofflineappAPIRequest) SetAppId added in v1.3.1

SetAppId is AppId Setter 要下线的小程序app_id

func (*TaobaominiapptemplateofflineappAPIRequest) SetAppVersion added in v1.3.1

func (r *TaobaominiapptemplateofflineappAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 要下线的小程序版本号

func (*TaobaominiapptemplateofflineappAPIRequest) SetClients added in v1.3.1

func (r *TaobaominiapptemplateofflineappAPIRequest) SetClients(_clients []string) error

SetClients is Clients Setter 要下线的投放端,目前可投放: taobao(淘宝),tmall(天猫)

func (*TaobaominiapptemplateofflineappAPIRequest) SetTemplateId added in v1.3.1

func (r *TaobaominiapptemplateofflineappAPIRequest) SetTemplateId(_templateId string) error

SetTemplateId is TemplateId Setter 模板id

type TaobaominiapptemplateofflineappAPIResponse added in v1.3.1

type TaobaominiapptemplateofflineappAPIResponse struct {
	model.CommonResponse
	TaobaominiapptemplateofflineappAPIResponseModel
}

TaobaominiapptemplateofflineappAPIResponse 下线实例化应用 API返回值 taobao.miniapp.template.offlineapp

对指定的实例化小程序进行下线,需要指定clients和app_version

type TaobaominiapptemplateofflineappAPIResponseModel added in v1.3.1

type TaobaominiapptemplateofflineappAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_template_offlineapp_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 各端的下线结果
	OfflineResults []MiniappInstanceAppOfflineDto `json:"offline_results,omitempty" xml:"offline_results>miniapp_instance_app_offline_dto,omitempty"`
	// 下线的appId
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
}

TaobaominiapptemplateofflineappAPIResponseModel is 下线实例化应用 成功返回结果

type TaobaominiapptemplateonlineappAPIRequest added in v1.3.1

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

TaobaominiapptemplateonlineappAPIRequest 上线实例化应用 API请求 taobao.miniapp.template.onlineapp

将指定的预览版本发布上线,预览版本号由构建实例化或更新实例化接口返回。

func NewTaobaominiapptemplateonlineappRequest added in v1.3.1

func NewTaobaominiapptemplateonlineappRequest() *TaobaominiapptemplateonlineappAPIRequest

NewTaobaominiapptemplateonlineappRequest 初始化TaobaominiapptemplateonlineappAPIRequest对象

func (TaobaominiapptemplateonlineappAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaominiapptemplateonlineappAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiapptemplateonlineappAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiapptemplateonlineappAPIRequest) GetAppId added in v1.3.1

GetAppId AppId Getter

func (TaobaominiapptemplateonlineappAPIRequest) GetAppVersion added in v1.3.1

GetAppVersion AppVersion Getter

func (TaobaominiapptemplateonlineappAPIRequest) GetClients added in v1.3.1

GetClients Clients Getter

func (TaobaominiapptemplateonlineappAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiapptemplateonlineappAPIRequest) GetTemplateId added in v1.3.1

GetTemplateId TemplateId Getter

func (TaobaominiapptemplateonlineappAPIRequest) GetTemplateVersion added in v1.3.1

func (r TaobaominiapptemplateonlineappAPIRequest) GetTemplateVersion() string

GetTemplateVersion TemplateVersion Getter

func (*TaobaominiapptemplateonlineappAPIRequest) SetAppId added in v1.3.1

SetAppId is AppId Setter 小程序app_id

func (*TaobaominiapptemplateonlineappAPIRequest) SetAppVersion added in v1.3.1

func (r *TaobaominiapptemplateonlineappAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 待上线的预览版本号

func (*TaobaominiapptemplateonlineappAPIRequest) SetClients added in v1.3.1

func (r *TaobaominiapptemplateonlineappAPIRequest) SetClients(_clients []string) error

SetClients is Clients Setter 要更新的投放端,目前可投放: taobao(淘宝),tmall(天猫)

func (*TaobaominiapptemplateonlineappAPIRequest) SetTemplateId added in v1.3.1

func (r *TaobaominiapptemplateonlineappAPIRequest) SetTemplateId(_templateId string) error

SetTemplateId is TemplateId Setter 模板id

func (*TaobaominiapptemplateonlineappAPIRequest) SetTemplateVersion added in v1.3.1

func (r *TaobaominiapptemplateonlineappAPIRequest) SetTemplateVersion(_templateVersion string) error

SetTemplateVersion is TemplateVersion Setter 模板版本

type TaobaominiapptemplateonlineappAPIResponse added in v1.3.1

type TaobaominiapptemplateonlineappAPIResponse struct {
	model.CommonResponse
	TaobaominiapptemplateonlineappAPIResponseModel
}

TaobaominiapptemplateonlineappAPIResponse 上线实例化应用 API返回值 taobao.miniapp.template.onlineapp

将指定的预览版本发布上线,预览版本号由构建实例化或更新实例化接口返回。

type TaobaominiapptemplateonlineappAPIResponseModel added in v1.3.1

type TaobaominiapptemplateonlineappAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_template_onlineapp_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 分端上线结果
	OnlineResults []MiniappInstanceAppOnlineDto `json:"online_results,omitempty" xml:"online_results>miniapp_instance_app_online_dto,omitempty"`
	// 基本信息
	AppInfo *MiniAppEntityTemplateDto `json:"app_info,omitempty" xml:"app_info,omitempty"`
}

TaobaominiapptemplateonlineappAPIResponseModel is 上线实例化应用 成功返回结果

type TaobaominiapptemplatequeryappAPIRequest added in v1.3.1

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

TaobaominiapptemplatequeryappAPIRequest 查询实例化应用版本 API请求 taobao.miniapp.template.queryapp

根据模板id和商家信息,查询实例化小程序版本查询

func NewTaobaominiapptemplatequeryappRequest added in v1.3.1

func NewTaobaominiapptemplatequeryappRequest() *TaobaominiapptemplatequeryappAPIRequest

NewTaobaominiapptemplatequeryappRequest 初始化TaobaominiapptemplatequeryappAPIRequest对象

func (TaobaominiapptemplatequeryappAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaominiapptemplatequeryappAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiapptemplatequeryappAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiapptemplatequeryappAPIRequest) GetPageNum added in v1.3.1

GetPageNum PageNum Getter

func (TaobaominiapptemplatequeryappAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (TaobaominiapptemplatequeryappAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiapptemplatequeryappAPIRequest) GetTemplateId added in v1.3.1

GetTemplateId TemplateId Getter

func (*TaobaominiapptemplatequeryappAPIRequest) SetPageNum added in v1.3.1

func (r *TaobaominiapptemplatequeryappAPIRequest) SetPageNum(_pageNum int64) error

SetPageNum is PageNum Setter 分页号,>=1

func (*TaobaominiapptemplatequeryappAPIRequest) SetPageSize added in v1.3.1

func (r *TaobaominiapptemplatequeryappAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 分页大小,最大50,按照小程序Id倒序

func (*TaobaominiapptemplatequeryappAPIRequest) SetTemplateId added in v1.3.1

func (r *TaobaominiapptemplatequeryappAPIRequest) SetTemplateId(_templateId string) error

SetTemplateId is TemplateId Setter 模板id

type TaobaominiapptemplatequeryappAPIResponse added in v1.3.1

type TaobaominiapptemplatequeryappAPIResponse struct {
	model.CommonResponse
	TaobaominiapptemplatequeryappAPIResponseModel
}

TaobaominiapptemplatequeryappAPIResponse 查询实例化应用版本 API返回值 taobao.miniapp.template.queryapp

根据模板id和商家信息,查询实例化小程序版本查询

type TaobaominiapptemplatequeryappAPIResponseModel added in v1.3.1

type TaobaominiapptemplatequeryappAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_template_queryapp_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 所有版本信息
	AllVersionInfos []MiniappInstanceAppAllVersionsDto `json:"all_version_infos,omitempty" xml:"all_version_infos>miniapp_instance_app_all_versions_dto,omitempty"`
}

TaobaominiapptemplatequeryappAPIResponseModel is 查询实例化应用版本 成功返回结果

type TaobaominiapptemplaterollbackAPIRequest added in v1.3.1

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

TaobaominiapptemplaterollbackAPIRequest 回滚实例化应用 API请求 taobao.miniapp.template.rollback

将实例化小程序回滚到指定版本

func NewTaobaominiapptemplaterollbackRequest added in v1.3.1

func NewTaobaominiapptemplaterollbackRequest() *TaobaominiapptemplaterollbackAPIRequest

NewTaobaominiapptemplaterollbackRequest 初始化TaobaominiapptemplaterollbackAPIRequest对象

func (TaobaominiapptemplaterollbackAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaominiapptemplaterollbackAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiapptemplaterollbackAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiapptemplaterollbackAPIRequest) GetAppId added in v1.3.1

GetAppId AppId Getter

func (TaobaominiapptemplaterollbackAPIRequest) GetAppVersion added in v1.3.1

GetAppVersion AppVersion Getter

func (TaobaominiapptemplaterollbackAPIRequest) GetClients added in v1.3.1

GetClients Clients Getter

func (TaobaominiapptemplaterollbackAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiapptemplaterollbackAPIRequest) GetTemplateId added in v1.3.1

GetTemplateId TemplateId Getter

func (TaobaominiapptemplaterollbackAPIRequest) GetTemplateVersion added in v1.3.1

func (r TaobaominiapptemplaterollbackAPIRequest) GetTemplateVersion() string

GetTemplateVersion TemplateVersion Getter

func (*TaobaominiapptemplaterollbackAPIRequest) SetAppId added in v1.3.1

SetAppId is AppId Setter 小程序app_id

func (*TaobaominiapptemplaterollbackAPIRequest) SetAppVersion added in v1.3.1

func (r *TaobaominiapptemplaterollbackAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 回到到该app_version

func (*TaobaominiapptemplaterollbackAPIRequest) SetClients added in v1.3.1

func (r *TaobaominiapptemplaterollbackAPIRequest) SetClients(_clients []string) error

SetClients is Clients Setter 要回滚的投放端,目前可投放: taobao,tmall

func (*TaobaominiapptemplaterollbackAPIRequest) SetTemplateId added in v1.3.1

func (r *TaobaominiapptemplaterollbackAPIRequest) SetTemplateId(_templateId string) error

SetTemplateId is TemplateId Setter 实例化小程序对应的模板id

func (*TaobaominiapptemplaterollbackAPIRequest) SetTemplateVersion added in v1.3.1

func (r *TaobaominiapptemplaterollbackAPIRequest) SetTemplateVersion(_templateVersion string) error

SetTemplateVersion is TemplateVersion Setter 与app_version对应的模板版本

type TaobaominiapptemplaterollbackAPIResponse added in v1.3.1

type TaobaominiapptemplaterollbackAPIResponse struct {
	model.CommonResponse
	TaobaominiapptemplaterollbackAPIResponseModel
}

TaobaominiapptemplaterollbackAPIResponse 回滚实例化应用 API返回值 taobao.miniapp.template.rollback

将实例化小程序回滚到指定版本

type TaobaominiapptemplaterollbackAPIResponseModel added in v1.3.1

type TaobaominiapptemplaterollbackAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_template_rollback_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 分端回滚结果
	OnlineResults []MiniappInstanceAppOnlineDto `json:"online_results,omitempty" xml:"online_results>miniapp_instance_app_online_dto,omitempty"`
	// 基本信息
	AppInfo *MiniAppEntityTemplateDto `json:"app_info,omitempty" xml:"app_info,omitempty"`
}

TaobaominiapptemplaterollbackAPIResponseModel is 回滚实例化应用 成功返回结果

type TaobaominiapptemplateupdateAPIRequest added in v1.3.1

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

TaobaominiapptemplateupdateAPIRequest (已废弃)更新实例化应用 API请求 taobao.miniapp.template.update

商家应用c端模板实例化小程序更新

func NewTaobaominiapptemplateupdateRequest added in v1.3.1

func NewTaobaominiapptemplateupdateRequest() *TaobaominiapptemplateupdateAPIRequest

NewTaobaominiapptemplateupdateRequest 初始化TaobaominiapptemplateupdateAPIRequest对象

func (TaobaominiapptemplateupdateAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaominiapptemplateupdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiapptemplateupdateAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiapptemplateupdateAPIRequest) GetClients added in v1.3.1

GetClients Clients Getter

func (TaobaominiapptemplateupdateAPIRequest) GetExtJson added in v1.3.1

GetExtJson ExtJson Getter

func (TaobaominiapptemplateupdateAPIRequest) GetId added in v1.3.1

GetId Id Getter

func (TaobaominiapptemplateupdateAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiapptemplateupdateAPIRequest) GetTemplateId added in v1.3.1

GetTemplateId TemplateId Getter

func (TaobaominiapptemplateupdateAPIRequest) GetTemplateVersion added in v1.3.1

func (r TaobaominiapptemplateupdateAPIRequest) GetTemplateVersion() string

GetTemplateVersion TemplateVersion Getter

func (*TaobaominiapptemplateupdateAPIRequest) SetClients added in v1.3.1

func (r *TaobaominiapptemplateupdateAPIRequest) SetClients(_clients []string) error

SetClients is Clients Setter 要更新的投放端,目前可投放: taobao(淘宝),tmall(天猫)

func (*TaobaominiapptemplateupdateAPIRequest) SetExtJson added in v1.3.1

func (r *TaobaominiapptemplateupdateAPIRequest) SetExtJson(_extJson string) error

SetExtJson is ExtJson Setter schema信息,不填且 应用线上版本使用的templateId与传入的templateId不一致,则会报错; 一致,则复用线上版本的schema。

func (*TaobaominiapptemplateupdateAPIRequest) SetId added in v1.3.1

SetId is Id Setter 应用id

func (*TaobaominiapptemplateupdateAPIRequest) SetTemplateId added in v1.3.1

func (r *TaobaominiapptemplateupdateAPIRequest) SetTemplateId(_templateId string) error

SetTemplateId is TemplateId Setter 模板id

func (*TaobaominiapptemplateupdateAPIRequest) SetTemplateVersion added in v1.3.1

func (r *TaobaominiapptemplateupdateAPIRequest) SetTemplateVersion(_templateVersion string) error

SetTemplateVersion is TemplateVersion Setter 模板版本

type TaobaominiapptemplateupdateAPIResponse added in v1.3.1

type TaobaominiapptemplateupdateAPIResponse struct {
	model.CommonResponse
	TaobaominiapptemplateupdateAPIResponseModel
}

TaobaominiapptemplateupdateAPIResponse (已废弃)更新实例化应用 API返回值 taobao.miniapp.template.update

商家应用c端模板实例化小程序更新

type TaobaominiapptemplateupdateAPIResponseModel added in v1.3.1

type TaobaominiapptemplateupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_template_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaominiapptemplateupdateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaominiapptemplateupdateAPIResponseModel is (已废弃)更新实例化应用 成功返回结果

type TaobaominiapptemplateupdateResult added in v1.3.1

type TaobaominiapptemplateupdateResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// model
	Model *MiniAppEntityTemplateDto `json:"model,omitempty" xml:"model,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaominiapptemplateupdateResult 结构体

type TaobaominiapptemplateupdateappAPIRequest added in v1.3.1

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

TaobaominiapptemplateupdateappAPIRequest 更新实例化应用 API请求 taobao.miniapp.template.updateapp

商家应用c端模板实例化小程序更新,生成新的版本,但不会自动上线新版本

func NewTaobaominiapptemplateupdateappRequest added in v1.3.1

func NewTaobaominiapptemplateupdateappRequest() *TaobaominiapptemplateupdateappAPIRequest

NewTaobaominiapptemplateupdateappRequest 初始化TaobaominiapptemplateupdateappAPIRequest对象

func (TaobaominiapptemplateupdateappAPIRequest) GetAlias added in v1.3.1

GetAlias Alias Getter

func (TaobaominiapptemplateupdateappAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaominiapptemplateupdateappAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiapptemplateupdateappAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiapptemplateupdateappAPIRequest) GetAppId added in v1.3.1

GetAppId AppId Getter

func (TaobaominiapptemplateupdateappAPIRequest) GetClients added in v1.3.1

GetClients Clients Getter

func (TaobaominiapptemplateupdateappAPIRequest) GetDesc added in v1.3.1

GetDesc Desc Getter

func (TaobaominiapptemplateupdateappAPIRequest) GetExtJson added in v1.3.1

GetExtJson ExtJson Getter

func (TaobaominiapptemplateupdateappAPIRequest) GetIcon added in v1.3.1

GetIcon Icon Getter

func (TaobaominiapptemplateupdateappAPIRequest) GetRawParams added in v1.3.1

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

func (TaobaominiapptemplateupdateappAPIRequest) GetTemplateId added in v1.3.1

GetTemplateId TemplateId Getter

func (TaobaominiapptemplateupdateappAPIRequest) GetTemplateVersion added in v1.3.1

func (r TaobaominiapptemplateupdateappAPIRequest) GetTemplateVersion() string

GetTemplateVersion TemplateVersion Getter

func (*TaobaominiapptemplateupdateappAPIRequest) SetAlias added in v1.3.1

SetAlias is Alias Setter 简称更新,1年5次

func (*TaobaominiapptemplateupdateappAPIRequest) SetAppId added in v1.3.1

SetAppId is AppId Setter 应用id,如果应用在对应端上已有的最新版本所使用的模板id,模板version和extjson,与本次入参一致,则认为不需要更新,返回已有的版本。

func (*TaobaominiapptemplateupdateappAPIRequest) SetClients added in v1.3.1

func (r *TaobaominiapptemplateupdateappAPIRequest) SetClients(_clients []string) error

SetClients is Clients Setter 要更新的投放端,目前可投放: taobao(淘宝),tmall(天猫)

func (*TaobaominiapptemplateupdateappAPIRequest) SetDesc added in v1.3.1

SetDesc is Desc Setter 描述更新,1年5次

func (*TaobaominiapptemplateupdateappAPIRequest) SetExtJson added in v1.3.1

func (r *TaobaominiapptemplateupdateappAPIRequest) SetExtJson(_extJson string) error

SetExtJson is ExtJson Setter 扩展信息。线上版本使用的template_id与传入的template_id一致时,可不填。

func (*TaobaominiapptemplateupdateappAPIRequest) SetIcon added in v1.3.1

SetIcon is Icon Setter Logo更新,1月5次

func (*TaobaominiapptemplateupdateappAPIRequest) SetTemplateId added in v1.3.1

func (r *TaobaominiapptemplateupdateappAPIRequest) SetTemplateId(_templateId string) error

SetTemplateId is TemplateId Setter 模板id

func (*TaobaominiapptemplateupdateappAPIRequest) SetTemplateVersion added in v1.3.1

func (r *TaobaominiapptemplateupdateappAPIRequest) SetTemplateVersion(_templateVersion string) error

SetTemplateVersion is TemplateVersion Setter 模板版本

type TaobaominiapptemplateupdateappAPIResponse added in v1.3.1

type TaobaominiapptemplateupdateappAPIResponse struct {
	model.CommonResponse
	TaobaominiapptemplateupdateappAPIResponseModel
}

TaobaominiapptemplateupdateappAPIResponse 更新实例化应用 API返回值 taobao.miniapp.template.updateapp

商家应用c端模板实例化小程序更新,生成新的版本,但不会自动上线新版本

type TaobaominiapptemplateupdateappAPIResponseModel added in v1.3.1

type TaobaominiapptemplateupdateappAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_template_updateapp_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 小程序描述
	AppDescription string `json:"app_description,omitempty" xml:"app_description,omitempty"`
	// 小程序icon
	AppIcon string `json:"app_icon,omitempty" xml:"app_icon,omitempty"`
	// 小程序名称
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
	// top appkey
	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`
	// 小程序app_id
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 当前新生成的预览版本号
	AppVersion string `json:"app_version,omitempty" xml:"app_version,omitempty"`
	// 当前新生成的预览版本的链接,仅当前商家有权限预览。
	PreViewUrl string `json:"pre_view_url,omitempty" xml:"pre_view_url,omitempty"`
	// 小程序简称
	AppAlias string `json:"app_alias,omitempty" xml:"app_alias,omitempty"`
}

TaobaominiapptemplateupdateappAPIResponseModel is 更新实例化应用 成功返回结果

type TaobaominiappvirtualitemgetAPIRequest added in v1.3.1

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

TaobaominiappvirtualitemgetAPIRequest 小程序关联虚拟商品查询 API请求 taobao.miniapp.virtual.item.get

小程序关联虚拟商品查询

func NewTaobaominiappvirtualitemgetRequest added in v1.3.1

func NewTaobaominiappvirtualitemgetRequest() *TaobaominiappvirtualitemgetAPIRequest

NewTaobaominiappvirtualitemgetRequest 初始化TaobaominiappvirtualitemgetAPIRequest对象

func (TaobaominiappvirtualitemgetAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaominiappvirtualitemgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappvirtualitemgetAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappvirtualitemgetAPIRequest) GetItemRequest added in v1.3.1

GetItemRequest ItemRequest Getter

func (TaobaominiappvirtualitemgetAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappvirtualitemgetAPIRequest) SetItemRequest added in v1.3.1

func (r *TaobaominiappvirtualitemgetAPIRequest) SetItemRequest(_itemRequest *MiniappItemRequest) error

SetItemRequest is ItemRequest Setter 请求

type TaobaominiappvirtualitemgetAPIResponse added in v1.3.1

type TaobaominiappvirtualitemgetAPIResponse struct {
	model.CommonResponse
	TaobaominiappvirtualitemgetAPIResponseModel
}

TaobaominiappvirtualitemgetAPIResponse 小程序关联虚拟商品查询 API返回值 taobao.miniapp.virtual.item.get

小程序关联虚拟商品查询

type TaobaominiappvirtualitemgetAPIResponseModel added in v1.3.1

type TaobaominiappvirtualitemgetAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_virtual_item_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回列表
	Model []MiniappItemDto `json:"model,omitempty" xml:"model>miniapp_item_dto,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 业务错误信息
	ECode int64 `json:"e_code,omitempty" xml:"e_code,omitempty"`
	// 是否成功
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
}

TaobaominiappvirtualitemgetAPIResponseModel is 小程序关联虚拟商品查询 成功返回结果

type TaobaominiappwidgettemplateinstancequeryAPIRequest added in v1.3.1

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

TaobaominiappwidgettemplateinstancequeryAPIRequest 小部件实例化版本查询 API请求 taobao.miniapp.widget.template.instance.query

小部件实例化版本查询

func NewTaobaominiappwidgettemplateinstancequeryRequest added in v1.3.1

func NewTaobaominiappwidgettemplateinstancequeryRequest() *TaobaominiappwidgettemplateinstancequeryAPIRequest

NewTaobaominiappwidgettemplateinstancequeryRequest 初始化TaobaominiappwidgettemplateinstancequeryAPIRequest对象

func (TaobaominiappwidgettemplateinstancequeryAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappwidgettemplateinstancequeryAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappwidgettemplateinstancequeryAPIRequest) GetParam0 added in v1.3.1

GetParam0 Param0 Getter

func (TaobaominiappwidgettemplateinstancequeryAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappwidgettemplateinstancequeryAPIRequest) SetParam0 added in v1.3.1

SetParam0 is Param0 Setter 入参

type TaobaominiappwidgettemplateinstancequeryAPIResponse added in v1.3.1

type TaobaominiappwidgettemplateinstancequeryAPIResponse struct {
	model.CommonResponse
	TaobaominiappwidgettemplateinstancequeryAPIResponseModel
}

TaobaominiappwidgettemplateinstancequeryAPIResponse 小部件实例化版本查询 API返回值 taobao.miniapp.widget.template.instance.query

小部件实例化版本查询

type TaobaominiappwidgettemplateinstancequeryAPIResponseModel added in v1.3.1

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

TaobaominiappwidgettemplateinstancequeryAPIResponseModel is 小部件实例化版本查询 成功返回结果

type TaobaominiappwidgettemplateinstancequeryResult added in v1.3.1

type TaobaominiappwidgettemplateinstancequeryResult struct {
	// 返回结果
	Model []MiniappInstanceAppAllVersionsDto `json:"model,omitempty" xml:"model>miniapp_instance_app_all_versions_dto,omitempty"`
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 是否成功
	Success string `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaominiappwidgettemplateinstancequeryResult 结构体

type TaobaominiappwidgettemplateinstanceupdateAPIRequest added in v1.3.1

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

TaobaominiappwidgettemplateinstanceupdateAPIRequest 小部件实例化版本更新 API请求 taobao.miniapp.widget.template.instance.update

小部件版本更新

func NewTaobaominiappwidgettemplateinstanceupdateRequest added in v1.3.1

func NewTaobaominiappwidgettemplateinstanceupdateRequest() *TaobaominiappwidgettemplateinstanceupdateAPIRequest

NewTaobaominiappwidgettemplateinstanceupdateRequest 初始化TaobaominiappwidgettemplateinstanceupdateAPIRequest对象

func (TaobaominiappwidgettemplateinstanceupdateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappwidgettemplateinstanceupdateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappwidgettemplateinstanceupdateAPIRequest) GetParamMiniAppInstantiateTemplateAppUpdateRequest added in v1.3.1

func (r TaobaominiappwidgettemplateinstanceupdateAPIRequest) GetParamMiniAppInstantiateTemplateAppUpdateRequest() *MiniAppInstantiateTemplateAppUpdateRequest

GetParamMiniAppInstantiateTemplateAppUpdateRequest ParamMiniAppInstantiateTemplateAppUpdateRequest Getter

func (TaobaominiappwidgettemplateinstanceupdateAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappwidgettemplateinstanceupdateAPIRequest) SetParamMiniAppInstantiateTemplateAppUpdateRequest added in v1.3.1

func (r *TaobaominiappwidgettemplateinstanceupdateAPIRequest) SetParamMiniAppInstantiateTemplateAppUpdateRequest(_paramMiniAppInstantiateTemplateAppUpdateRequest *MiniAppInstantiateTemplateAppUpdateRequest) error

SetParamMiniAppInstantiateTemplateAppUpdateRequest is ParamMiniAppInstantiateTemplateAppUpdateRequest Setter 参数信息

type TaobaominiappwidgettemplateinstanceupdateAPIResponse added in v1.3.1

type TaobaominiappwidgettemplateinstanceupdateAPIResponse struct {
	model.CommonResponse
	TaobaominiappwidgettemplateinstanceupdateAPIResponseModel
}

TaobaominiappwidgettemplateinstanceupdateAPIResponse 小部件实例化版本更新 API返回值 taobao.miniapp.widget.template.instance.update

小部件版本更新

type TaobaominiappwidgettemplateinstanceupdateAPIResponseModel added in v1.3.1

type TaobaominiappwidgettemplateinstanceupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_widget_template_instance_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回信息
	Result *TaobaominiappwidgettemplateinstanceupdateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaominiappwidgettemplateinstanceupdateAPIResponseModel is 小部件实例化版本更新 成功返回结果

type TaobaominiappwidgettemplateinstanceupdateResult added in v1.3.1

type TaobaominiappwidgettemplateinstanceupdateResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 返回结果
	Success string `json:"success,omitempty" xml:"success,omitempty"`
	// 实体信息
	Model *MiniAppEntityTemplateDto `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaominiappwidgettemplateinstanceupdateResult 结构体

type TaobaominiappwidgettemplateinstantiateAPIRequest added in v1.3.1

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

TaobaominiappwidgettemplateinstantiateAPIRequest 小部件实例化接口 API请求 taobao.miniapp.widget.template.instantiate

小部件实例化接口

func NewTaobaominiappwidgettemplateinstantiateRequest added in v1.3.1

func NewTaobaominiappwidgettemplateinstantiateRequest() *TaobaominiappwidgettemplateinstantiateAPIRequest

NewTaobaominiappwidgettemplateinstantiateRequest 初始化TaobaominiappwidgettemplateinstantiateAPIRequest对象

func (TaobaominiappwidgettemplateinstantiateAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaominiappwidgettemplateinstantiateAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaominiappwidgettemplateinstantiateAPIRequest) GetParamMiniAppInstantiateTemplateAppSimpleRequest added in v1.3.1

func (r TaobaominiappwidgettemplateinstantiateAPIRequest) GetParamMiniAppInstantiateTemplateAppSimpleRequest() *MiniAppInstantiateTemplateAppSimpleRequest

GetParamMiniAppInstantiateTemplateAppSimpleRequest ParamMiniAppInstantiateTemplateAppSimpleRequest Getter

func (TaobaominiappwidgettemplateinstantiateAPIRequest) GetRawParams added in v1.3.1

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

func (*TaobaominiappwidgettemplateinstantiateAPIRequest) SetParamMiniAppInstantiateTemplateAppSimpleRequest added in v1.3.1

func (r *TaobaominiappwidgettemplateinstantiateAPIRequest) SetParamMiniAppInstantiateTemplateAppSimpleRequest(_paramMiniAppInstantiateTemplateAppSimpleRequest *MiniAppInstantiateTemplateAppSimpleRequest) error

SetParamMiniAppInstantiateTemplateAppSimpleRequest is ParamMiniAppInstantiateTemplateAppSimpleRequest Setter 实例化数据

type TaobaominiappwidgettemplateinstantiateAPIResponse added in v1.3.1

type TaobaominiappwidgettemplateinstantiateAPIResponse struct {
	model.CommonResponse
	TaobaominiappwidgettemplateinstantiateAPIResponseModel
}

TaobaominiappwidgettemplateinstantiateAPIResponse 小部件实例化接口 API返回值 taobao.miniapp.widget.template.instantiate

小部件实例化接口

type TaobaominiappwidgettemplateinstantiateAPIResponseModel added in v1.3.1

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

TaobaominiappwidgettemplateinstantiateAPIResponseModel is 小部件实例化接口 成功返回结果

type TaobaominiappwidgettemplateinstantiateResult added in v1.3.1

type TaobaominiappwidgettemplateinstantiateResult struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`
	// 返回实体信息
	Model *MiniAppEntityTemplateDto `json:"model,omitempty" xml:"model,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaominiappwidgettemplateinstantiateResult 结构体

Source Files

Jump to

Keyboard shortcuts

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