miniappopen

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 DistributionOrderBindBaseDto

type DistributionOrderBindBaseDto struct {
	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 {
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`

	AddBind bool `json:"add_bind,omitempty" xml:"add_bind,omitempty"`
}

DistributionOrderBindTargetEntityOpenRequestV2

type DistributionOrderBindTargetEntityOpenResultDTO

type DistributionOrderBindTargetEntityOpenResultDTO struct {
	Url string `json:"url,omitempty" xml:"url,omitempty"`

	SceneName string `json:"scene_name,omitempty" xml:"scene_name,omitempty"`

	BindResultList []DistributionOrderBindBaseDto `json:"bind_result_list,omitempty" xml:"bind_result_list,omitempty"`

	DistributeId int64 `json:"distribute_id,omitempty" xml:"distribute_id,omitempty"`
}

DistributionOrderBindTargetEntityOpenResultDTO

type DistributionOrderOpenBizDto

type DistributionOrderOpenBizDto struct {
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`

	Name string `json:"name,omitempty" xml:"name,omitempty"`

	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`

	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`

	Status *model.File `json:"status,omitempty" xml:"status,omitempty"`

	Url string `json:"url,omitempty" xml:"url,omitempty"`

	AppId int64 `json:"app_id,omitempty" xml:"app_id,omitempty"`

	TimeType *model.File `json:"time_type,omitempty" xml:"time_type,omitempty"`

	WidgetId int64 `json:"widget_id,omitempty" xml:"widget_id,omitempty"`

	WidgetVersion string `json:"widget_version,omitempty" xml:"widget_version,omitempty"`
}

DistributionOrderOpenBizDto

type DistributionOrderQueryByIdOpenRequest

type DistributionOrderQueryByIdOpenRequest struct {
	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"`

	TimeType string `json:"time_type,omitempty" xml:"time_type,omitempty"`

	AppId int64 `json:"app_id,omitempty" xml:"app_id,omitempty"`

	CardId int64 `json:"card_id,omitempty" xml:"card_id,omitempty"`

	Name string `json:"name,omitempty" xml:"name,omitempty"`

	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 string `json:"appkey,omitempty" xml:"appkey,omitempty"`

	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"`

	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 string `json:"appkey,omitempty" xml:"appkey,omitempty"`

	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`

	AppIcon string `json:"app_icon,omitempty" xml:"app_icon,omitempty"`

	OnlineUrl string `json:"online_url,omitempty" xml:"online_url,omitempty"`

	Id string `json:"id,omitempty" xml:"id,omitempty"`

	OnlineVersion string `json:"online_version,omitempty" xml:"online_version,omitempty"`

	OnlineCode string `json:"online_code,omitempty" xml:"online_code,omitempty"`
}

MiniAppEntityTemplateDto

type MiniAppInstanceVersionDto

type MiniAppInstanceVersionDto struct {
	AppVersion string `json:"app_version,omitempty" xml:"app_version,omitempty"`

	Client string `json:"client,omitempty" xml:"client,omitempty"`

	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`

	Status string `json:"status,omitempty" xml:"status,omitempty"`

	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"`
}

MiniAppInstanceVersionDto

type MiniAppShortUrlDto

type MiniAppShortUrlDto struct {
	ShortUrl string `json:"short_url,omitempty" xml:"short_url,omitempty"`
}

MiniAppShortUrlDto

type MiniappInstanceAppAllVersionsDto

type MiniappInstanceAppAllVersionsDto struct {
	AppInfo *MiniAppEntityTemplateDto `json:"app_info,omitempty" xml:"app_info,omitempty"`

	AppVersionList []MiniAppInstanceVersionDto `json:"app_version_list,omitempty" xml:"app_version_list,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 TaobaoMiniappAppSellerConfigCompleteAPIResponse

type TaobaoMiniappAppSellerConfigCompleteAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappAppSellerConfigCompleteResponse
}

商家完成小程序相关配置 APIResponse taobao.miniapp.app.seller.config.complete

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

type TaobaoMiniappAppSellerConfigCompleteRequest

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

商家完成小程序相关配置 APIRequest taobao.miniapp.app.seller.config.complete

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

func NewTaobaoMiniappAppSellerConfigCompleteRequest

func NewTaobaoMiniappAppSellerConfigCompleteRequest() *TaobaoMiniappAppSellerConfigCompleteRequest

func (TaobaoMiniappAppSellerConfigCompleteRequest) GetApiMethodName

func (TaobaoMiniappAppSellerConfigCompleteRequest) GetApiParams

func (TaobaoMiniappAppSellerConfigCompleteRequest) GetAppId

func (TaobaoMiniappAppSellerConfigCompleteRequest) GetVersion

func (*TaobaoMiniappAppSellerConfigCompleteRequest) SetAppId

func (*TaobaoMiniappAppSellerConfigCompleteRequest) SetVersion

type TaobaoMiniappAppSellerConfigCompleteResponse

type TaobaoMiniappAppSellerConfigCompleteResponse 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"`
}

type TaobaoMiniappDistributionItemsBindAPIResponse

type TaobaoMiniappDistributionItemsBindAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappDistributionItemsBindResponse
}

小程序投放-商品绑定/解绑 APIResponse taobao.miniapp.distribution.items.bind

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

type TaobaoMiniappDistributionItemsBindRequest

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

小程序投放-商品绑定/解绑 APIRequest taobao.miniapp.distribution.items.bind

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

func NewTaobaoMiniappDistributionItemsBindRequest

func NewTaobaoMiniappDistributionItemsBindRequest() *TaobaoMiniappDistributionItemsBindRequest

func (TaobaoMiniappDistributionItemsBindRequest) GetAddBind

func (TaobaoMiniappDistributionItemsBindRequest) GetApiMethodName

func (TaobaoMiniappDistributionItemsBindRequest) GetApiParams

func (TaobaoMiniappDistributionItemsBindRequest) GetTargetEntityList

func (r TaobaoMiniappDistributionItemsBindRequest) GetTargetEntityList() []string

func (TaobaoMiniappDistributionItemsBindRequest) GetUrl

func (*TaobaoMiniappDistributionItemsBindRequest) SetAddBind

func (r *TaobaoMiniappDistributionItemsBindRequest) SetAddBind(addBind bool) error

func (*TaobaoMiniappDistributionItemsBindRequest) SetTargetEntityList

func (r *TaobaoMiniappDistributionItemsBindRequest) SetTargetEntityList(targetEntityList []string) error

func (*TaobaoMiniappDistributionItemsBindRequest) SetUrl

type TaobaoMiniappDistributionItemsBindResponse

type TaobaoMiniappDistributionItemsBindResponse 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"`
}

type TaobaoMiniappDistributionOrderCreateAPIResponse

type TaobaoMiniappDistributionOrderCreateAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappDistributionOrderCreateResponse
}

创建小程序投放计划 APIResponse taobao.miniapp.distribution.order.create

帮助商家,创建小程序的投放计划。

type TaobaoMiniappDistributionOrderCreateRequest

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

创建小程序投放计划 APIRequest taobao.miniapp.distribution.order.create

帮助商家,创建小程序的投放计划。

func NewTaobaoMiniappDistributionOrderCreateRequest

func NewTaobaoMiniappDistributionOrderCreateRequest() *TaobaoMiniappDistributionOrderCreateRequest

func (TaobaoMiniappDistributionOrderCreateRequest) GetApiMethodName

func (TaobaoMiniappDistributionOrderCreateRequest) GetApiParams

func (TaobaoMiniappDistributionOrderCreateRequest) GetOrderRequest

func (*TaobaoMiniappDistributionOrderCreateRequest) SetOrderRequest

type TaobaoMiniappDistributionOrderCreateResponse

type TaobaoMiniappDistributionOrderCreateResponse struct {
	XMLName xml.Name `xml:"miniapp_distribution_order_create_response"`

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

	OrderSuccess bool `json:"order_success,omitempty" xml:"order_success,omitempty"`

	OrderErrorCode int64 `json:"order_error_code,omitempty" xml:"order_error_code,omitempty"`

	OrderErrorInfo string `json:"order_error_info,omitempty" xml:"order_error_info,omitempty"`

	Model int64 `json:"model,omitempty" xml:"model,omitempty"`
}

type TaobaoMiniappDistributionOrderGetAPIResponse

type TaobaoMiniappDistributionOrderGetAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappDistributionOrderGetResponse
}

小程序投放-查询小程序投放计划信息 APIResponse taobao.miniapp.distribution.order.get

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

type TaobaoMiniappDistributionOrderGetRequest

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

小程序投放-查询小程序投放计划信息 APIRequest taobao.miniapp.distribution.order.get

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

func NewTaobaoMiniappDistributionOrderGetRequest

func NewTaobaoMiniappDistributionOrderGetRequest() *TaobaoMiniappDistributionOrderGetRequest

func (TaobaoMiniappDistributionOrderGetRequest) GetApiMethodName

func (r TaobaoMiniappDistributionOrderGetRequest) GetApiMethodName() string

func (TaobaoMiniappDistributionOrderGetRequest) GetApiParams

func (TaobaoMiniappDistributionOrderGetRequest) GetOrderIdRequest

func (*TaobaoMiniappDistributionOrderGetRequest) SetOrderIdRequest

type TaobaoMiniappDistributionOrderGetResponse

type TaobaoMiniappDistributionOrderGetResponse 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"`
}

type TaobaoMiniappDistributionOrderItemsAllBindAPIResponse

type TaobaoMiniappDistributionOrderItemsAllBindAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappDistributionOrderItemsAllBindResponse
}

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

提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。该接口对应的能力是全店投放,该能力的使用,需要联系平台运营进行人工申请,申请通过以后方可调用成功。

type TaobaoMiniappDistributionOrderItemsAllBindRequest

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

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

提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。该接口对应的能力是全店投放,该能力的使用,需要联系平台运营进行人工申请,申请通过以后方可调用成功。

func NewTaobaoMiniappDistributionOrderItemsAllBindRequest

func NewTaobaoMiniappDistributionOrderItemsAllBindRequest() *TaobaoMiniappDistributionOrderItemsAllBindRequest

func (TaobaoMiniappDistributionOrderItemsAllBindRequest) GetAllItemBindRequest

func (TaobaoMiniappDistributionOrderItemsAllBindRequest) GetApiMethodName

func (TaobaoMiniappDistributionOrderItemsAllBindRequest) GetApiParams

func (*TaobaoMiniappDistributionOrderItemsAllBindRequest) SetAllItemBindRequest

type TaobaoMiniappDistributionOrderItemsAllBindResponse

type TaobaoMiniappDistributionOrderItemsAllBindResponse 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"`
}

type TaobaoMiniappDistributionOrderItemsBindAPIResponse

type TaobaoMiniappDistributionOrderItemsBindAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappDistributionOrderItemsBindResponse
}

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

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

type TaobaoMiniappDistributionOrderItemsBindRequest

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

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

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

func NewTaobaoMiniappDistributionOrderItemsBindRequest

func NewTaobaoMiniappDistributionOrderItemsBindRequest() *TaobaoMiniappDistributionOrderItemsBindRequest

func (TaobaoMiniappDistributionOrderItemsBindRequest) GetAddBind

func (TaobaoMiniappDistributionOrderItemsBindRequest) GetApiMethodName

func (TaobaoMiniappDistributionOrderItemsBindRequest) GetApiParams

func (TaobaoMiniappDistributionOrderItemsBindRequest) GetDistributeId

func (TaobaoMiniappDistributionOrderItemsBindRequest) GetTargetEntityList

func (r TaobaoMiniappDistributionOrderItemsBindRequest) GetTargetEntityList() []string

func (*TaobaoMiniappDistributionOrderItemsBindRequest) SetAddBind

func (*TaobaoMiniappDistributionOrderItemsBindRequest) SetDistributeId

func (r *TaobaoMiniappDistributionOrderItemsBindRequest) SetDistributeId(distributeId int64) error

func (*TaobaoMiniappDistributionOrderItemsBindRequest) SetTargetEntityList

func (r *TaobaoMiniappDistributionOrderItemsBindRequest) SetTargetEntityList(targetEntityList []string) error

type TaobaoMiniappDistributionOrderItemsBindResponse

type TaobaoMiniappDistributionOrderItemsBindResponse 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"`
}

type TaobaoMiniappShorturlCreateAPIResponse

type TaobaoMiniappShorturlCreateAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappShorturlCreateResponse
}

生成淘宝小程序短链接 APIResponse taobao.miniapp.shorturl.create

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

type TaobaoMiniappShorturlCreateRequest

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

生成淘宝小程序短链接 APIRequest taobao.miniapp.shorturl.create

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

func NewTaobaoMiniappShorturlCreateRequest

func NewTaobaoMiniappShorturlCreateRequest() *TaobaoMiniappShorturlCreateRequest

func (TaobaoMiniappShorturlCreateRequest) GetApiMethodName

func (r TaobaoMiniappShorturlCreateRequest) GetApiMethodName() string

func (TaobaoMiniappShorturlCreateRequest) GetApiParams

func (TaobaoMiniappShorturlCreateRequest) GetMiniappUrl

func (r TaobaoMiniappShorturlCreateRequest) GetMiniappUrl() string

func (*TaobaoMiniappShorturlCreateRequest) SetMiniappUrl

func (r *TaobaoMiniappShorturlCreateRequest) SetMiniappUrl(miniappUrl string) error

type TaobaoMiniappShorturlCreateResponse

type TaobaoMiniappShorturlCreateResponse struct {
	XMLName xml.Name `xml:"miniapp_shorturl_create_response"`

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

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

type TaobaoMiniappShorturlCreateResult

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

TaobaoMiniappShorturlCreateResult

type TaobaoMiniappTemplateInstantiateAPIResponse

type TaobaoMiniappTemplateInstantiateAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappTemplateInstantiateResponse
}

构建实例化应用 APIResponse taobao.miniapp.template.instantiate

实例化saas化的小程序

type TaobaoMiniappTemplateInstantiateRequest

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

构建实例化应用 APIRequest taobao.miniapp.template.instantiate

实例化saas化的小程序

func NewTaobaoMiniappTemplateInstantiateRequest

func NewTaobaoMiniappTemplateInstantiateRequest() *TaobaoMiniappTemplateInstantiateRequest

func (TaobaoMiniappTemplateInstantiateRequest) GetAlias

func (TaobaoMiniappTemplateInstantiateRequest) GetApiMethodName

func (r TaobaoMiniappTemplateInstantiateRequest) GetApiMethodName() string

func (TaobaoMiniappTemplateInstantiateRequest) GetApiParams

func (TaobaoMiniappTemplateInstantiateRequest) GetClients

func (TaobaoMiniappTemplateInstantiateRequest) GetDescription

func (TaobaoMiniappTemplateInstantiateRequest) GetExtJson

func (TaobaoMiniappTemplateInstantiateRequest) GetIcon

func (TaobaoMiniappTemplateInstantiateRequest) GetName

func (TaobaoMiniappTemplateInstantiateRequest) GetTemplateId

func (TaobaoMiniappTemplateInstantiateRequest) GetTemplateVersion

func (r TaobaoMiniappTemplateInstantiateRequest) GetTemplateVersion() string

func (*TaobaoMiniappTemplateInstantiateRequest) SetAlias

func (*TaobaoMiniappTemplateInstantiateRequest) SetClients

func (r *TaobaoMiniappTemplateInstantiateRequest) SetClients(clients []string) error

func (*TaobaoMiniappTemplateInstantiateRequest) SetDescription

func (r *TaobaoMiniappTemplateInstantiateRequest) SetDescription(description string) error

func (*TaobaoMiniappTemplateInstantiateRequest) SetExtJson

func (r *TaobaoMiniappTemplateInstantiateRequest) SetExtJson(extJson string) error

func (*TaobaoMiniappTemplateInstantiateRequest) SetIcon

func (*TaobaoMiniappTemplateInstantiateRequest) SetName

func (*TaobaoMiniappTemplateInstantiateRequest) SetTemplateId

func (r *TaobaoMiniappTemplateInstantiateRequest) SetTemplateId(templateId string) error

func (*TaobaoMiniappTemplateInstantiateRequest) SetTemplateVersion

func (r *TaobaoMiniappTemplateInstantiateRequest) SetTemplateVersion(templateVersion string) error

type TaobaoMiniappTemplateInstantiateResponse

type TaobaoMiniappTemplateInstantiateResponse struct {
	XMLName xml.Name `xml:"miniapp_template_instantiate_response"`

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

	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`

	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"`

	AppIcon string `json:"app_icon,omitempty" xml:"app_icon,omitempty"`

	PreViewUrl string `json:"pre_view_url,omitempty" xml:"pre_view_url,omitempty"`

	AppVersion string `json:"app_version,omitempty" xml:"app_version,omitempty"`

	AppAlias string `json:"app_alias,omitempty" xml:"app_alias,omitempty"`
}

type TaobaoMiniappTemplateOfflineappAPIResponse

type TaobaoMiniappTemplateOfflineappAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappTemplateOfflineappResponse
}

下线实例化应用 APIResponse taobao.miniapp.template.offlineapp

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

type TaobaoMiniappTemplateOfflineappRequest

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

下线实例化应用 APIRequest taobao.miniapp.template.offlineapp

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

func NewTaobaoMiniappTemplateOfflineappRequest

func NewTaobaoMiniappTemplateOfflineappRequest() *TaobaoMiniappTemplateOfflineappRequest

func (TaobaoMiniappTemplateOfflineappRequest) GetApiMethodName

func (r TaobaoMiniappTemplateOfflineappRequest) GetApiMethodName() string

func (TaobaoMiniappTemplateOfflineappRequest) GetApiParams

func (TaobaoMiniappTemplateOfflineappRequest) GetAppId

func (TaobaoMiniappTemplateOfflineappRequest) GetAppVersion

func (TaobaoMiniappTemplateOfflineappRequest) GetClients

func (TaobaoMiniappTemplateOfflineappRequest) GetTemplateId

func (*TaobaoMiniappTemplateOfflineappRequest) SetAppId

func (*TaobaoMiniappTemplateOfflineappRequest) SetAppVersion

func (r *TaobaoMiniappTemplateOfflineappRequest) SetAppVersion(appVersion string) error

func (*TaobaoMiniappTemplateOfflineappRequest) SetClients

func (r *TaobaoMiniappTemplateOfflineappRequest) SetClients(clients []string) error

func (*TaobaoMiniappTemplateOfflineappRequest) SetTemplateId

func (r *TaobaoMiniappTemplateOfflineappRequest) SetTemplateId(templateId string) error

type TaobaoMiniappTemplateOfflineappResponse

type TaobaoMiniappTemplateOfflineappResponse 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 string `json:"app_id,omitempty" xml:"app_id,omitempty"`
}

type TaobaoMiniappTemplateOnlineappAPIResponse

type TaobaoMiniappTemplateOnlineappAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappTemplateOnlineappResponse
}

上线实例化应用 APIResponse taobao.miniapp.template.onlineapp

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

type TaobaoMiniappTemplateOnlineappRequest

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

上线实例化应用 APIRequest taobao.miniapp.template.onlineapp

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

func NewTaobaoMiniappTemplateOnlineappRequest

func NewTaobaoMiniappTemplateOnlineappRequest() *TaobaoMiniappTemplateOnlineappRequest

func (TaobaoMiniappTemplateOnlineappRequest) GetApiMethodName

func (r TaobaoMiniappTemplateOnlineappRequest) GetApiMethodName() string

func (TaobaoMiniappTemplateOnlineappRequest) GetApiParams

func (TaobaoMiniappTemplateOnlineappRequest) GetAppId

func (TaobaoMiniappTemplateOnlineappRequest) GetAppVersion

func (TaobaoMiniappTemplateOnlineappRequest) GetClients

func (TaobaoMiniappTemplateOnlineappRequest) GetTemplateId

func (TaobaoMiniappTemplateOnlineappRequest) GetTemplateVersion

func (r TaobaoMiniappTemplateOnlineappRequest) GetTemplateVersion() string

func (*TaobaoMiniappTemplateOnlineappRequest) SetAppId

func (*TaobaoMiniappTemplateOnlineappRequest) SetAppVersion

func (r *TaobaoMiniappTemplateOnlineappRequest) SetAppVersion(appVersion string) error

func (*TaobaoMiniappTemplateOnlineappRequest) SetClients

func (r *TaobaoMiniappTemplateOnlineappRequest) SetClients(clients []string) error

func (*TaobaoMiniappTemplateOnlineappRequest) SetTemplateId

func (r *TaobaoMiniappTemplateOnlineappRequest) SetTemplateId(templateId string) error

func (*TaobaoMiniappTemplateOnlineappRequest) SetTemplateVersion

func (r *TaobaoMiniappTemplateOnlineappRequest) SetTemplateVersion(templateVersion string) error

type TaobaoMiniappTemplateOnlineappResponse

type TaobaoMiniappTemplateOnlineappResponse 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"`
}

type TaobaoMiniappTemplateQueryappAPIResponse

type TaobaoMiniappTemplateQueryappAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappTemplateQueryappResponse
}

查询实例化应用版本 APIResponse taobao.miniapp.template.queryapp

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

type TaobaoMiniappTemplateQueryappRequest

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

查询实例化应用版本 APIRequest taobao.miniapp.template.queryapp

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

func NewTaobaoMiniappTemplateQueryappRequest

func NewTaobaoMiniappTemplateQueryappRequest() *TaobaoMiniappTemplateQueryappRequest

func (TaobaoMiniappTemplateQueryappRequest) GetApiMethodName

func (r TaobaoMiniappTemplateQueryappRequest) GetApiMethodName() string

func (TaobaoMiniappTemplateQueryappRequest) GetApiParams

func (TaobaoMiniappTemplateQueryappRequest) GetPageNum

func (TaobaoMiniappTemplateQueryappRequest) GetPageSize

func (TaobaoMiniappTemplateQueryappRequest) GetTemplateId

func (r TaobaoMiniappTemplateQueryappRequest) GetTemplateId() string

func (*TaobaoMiniappTemplateQueryappRequest) SetPageNum

func (r *TaobaoMiniappTemplateQueryappRequest) SetPageNum(pageNum int64) error

func (*TaobaoMiniappTemplateQueryappRequest) SetPageSize

func (r *TaobaoMiniappTemplateQueryappRequest) SetPageSize(pageSize int64) error

func (*TaobaoMiniappTemplateQueryappRequest) SetTemplateId

func (r *TaobaoMiniappTemplateQueryappRequest) SetTemplateId(templateId string) error

type TaobaoMiniappTemplateQueryappResponse

type TaobaoMiniappTemplateQueryappResponse 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"`
}

type TaobaoMiniappTemplateRollbackAPIResponse

type TaobaoMiniappTemplateRollbackAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappTemplateRollbackResponse
}

回滚实例化应用 APIResponse taobao.miniapp.template.rollback

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

type TaobaoMiniappTemplateRollbackRequest

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

回滚实例化应用 APIRequest taobao.miniapp.template.rollback

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

func NewTaobaoMiniappTemplateRollbackRequest

func NewTaobaoMiniappTemplateRollbackRequest() *TaobaoMiniappTemplateRollbackRequest

func (TaobaoMiniappTemplateRollbackRequest) GetApiMethodName

func (r TaobaoMiniappTemplateRollbackRequest) GetApiMethodName() string

func (TaobaoMiniappTemplateRollbackRequest) GetApiParams

func (TaobaoMiniappTemplateRollbackRequest) GetAppId

func (TaobaoMiniappTemplateRollbackRequest) GetAppVersion

func (r TaobaoMiniappTemplateRollbackRequest) GetAppVersion() string

func (TaobaoMiniappTemplateRollbackRequest) GetClients

func (TaobaoMiniappTemplateRollbackRequest) GetTemplateId

func (r TaobaoMiniappTemplateRollbackRequest) GetTemplateId() string

func (TaobaoMiniappTemplateRollbackRequest) GetTemplateVersion

func (r TaobaoMiniappTemplateRollbackRequest) GetTemplateVersion() string

func (*TaobaoMiniappTemplateRollbackRequest) SetAppId

func (*TaobaoMiniappTemplateRollbackRequest) SetAppVersion

func (r *TaobaoMiniappTemplateRollbackRequest) SetAppVersion(appVersion string) error

func (*TaobaoMiniappTemplateRollbackRequest) SetClients

func (r *TaobaoMiniappTemplateRollbackRequest) SetClients(clients []string) error

func (*TaobaoMiniappTemplateRollbackRequest) SetTemplateId

func (r *TaobaoMiniappTemplateRollbackRequest) SetTemplateId(templateId string) error

func (*TaobaoMiniappTemplateRollbackRequest) SetTemplateVersion

func (r *TaobaoMiniappTemplateRollbackRequest) SetTemplateVersion(templateVersion string) error

type TaobaoMiniappTemplateRollbackResponse

type TaobaoMiniappTemplateRollbackResponse 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"`
}

type TaobaoMiniappTemplateUpdateAPIResponse

type TaobaoMiniappTemplateUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappTemplateUpdateResponse
}

(已废弃)更新实例化应用 APIResponse taobao.miniapp.template.update

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

type TaobaoMiniappTemplateUpdateRequest

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

(已废弃)更新实例化应用 APIRequest taobao.miniapp.template.update

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

func NewTaobaoMiniappTemplateUpdateRequest

func NewTaobaoMiniappTemplateUpdateRequest() *TaobaoMiniappTemplateUpdateRequest

func (TaobaoMiniappTemplateUpdateRequest) GetApiMethodName

func (r TaobaoMiniappTemplateUpdateRequest) GetApiMethodName() string

func (TaobaoMiniappTemplateUpdateRequest) GetApiParams

func (TaobaoMiniappTemplateUpdateRequest) GetClients

func (r TaobaoMiniappTemplateUpdateRequest) GetClients() []string

func (TaobaoMiniappTemplateUpdateRequest) GetExtJson

func (TaobaoMiniappTemplateUpdateRequest) GetId

func (TaobaoMiniappTemplateUpdateRequest) GetTemplateId

func (r TaobaoMiniappTemplateUpdateRequest) GetTemplateId() string

func (TaobaoMiniappTemplateUpdateRequest) GetTemplateVersion

func (r TaobaoMiniappTemplateUpdateRequest) GetTemplateVersion() string

func (*TaobaoMiniappTemplateUpdateRequest) SetClients

func (r *TaobaoMiniappTemplateUpdateRequest) SetClients(clients []string) error

func (*TaobaoMiniappTemplateUpdateRequest) SetExtJson

func (r *TaobaoMiniappTemplateUpdateRequest) SetExtJson(extJson string) error

func (*TaobaoMiniappTemplateUpdateRequest) SetId

func (*TaobaoMiniappTemplateUpdateRequest) SetTemplateId

func (r *TaobaoMiniappTemplateUpdateRequest) SetTemplateId(templateId string) error

func (*TaobaoMiniappTemplateUpdateRequest) SetTemplateVersion

func (r *TaobaoMiniappTemplateUpdateRequest) SetTemplateVersion(templateVersion string) error

type TaobaoMiniappTemplateUpdateResponse

type TaobaoMiniappTemplateUpdateResponse struct {
	XMLName xml.Name `xml:"miniapp_template_update_response"`

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

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

type TaobaoMiniappTemplateUpdateResult

type TaobaoMiniappTemplateUpdateResult 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"`
}

TaobaoMiniappTemplateUpdateResult

type TaobaoMiniappTemplateUpdateappAPIResponse

type TaobaoMiniappTemplateUpdateappAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappTemplateUpdateappResponse
}

更新实例化应用 APIResponse taobao.miniapp.template.updateapp

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

type TaobaoMiniappTemplateUpdateappRequest

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

更新实例化应用 APIRequest taobao.miniapp.template.updateapp

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

func NewTaobaoMiniappTemplateUpdateappRequest

func NewTaobaoMiniappTemplateUpdateappRequest() *TaobaoMiniappTemplateUpdateappRequest

func (TaobaoMiniappTemplateUpdateappRequest) GetAlias

func (TaobaoMiniappTemplateUpdateappRequest) GetApiMethodName

func (r TaobaoMiniappTemplateUpdateappRequest) GetApiMethodName() string

func (TaobaoMiniappTemplateUpdateappRequest) GetApiParams

func (TaobaoMiniappTemplateUpdateappRequest) GetAppId

func (TaobaoMiniappTemplateUpdateappRequest) GetClients

func (TaobaoMiniappTemplateUpdateappRequest) GetDesc

func (TaobaoMiniappTemplateUpdateappRequest) GetExtJson

func (TaobaoMiniappTemplateUpdateappRequest) GetIcon

func (TaobaoMiniappTemplateUpdateappRequest) GetTemplateId

func (TaobaoMiniappTemplateUpdateappRequest) GetTemplateVersion

func (r TaobaoMiniappTemplateUpdateappRequest) GetTemplateVersion() string

func (*TaobaoMiniappTemplateUpdateappRequest) SetAlias

func (*TaobaoMiniappTemplateUpdateappRequest) SetAppId

func (*TaobaoMiniappTemplateUpdateappRequest) SetClients

func (r *TaobaoMiniappTemplateUpdateappRequest) SetClients(clients []string) error

func (*TaobaoMiniappTemplateUpdateappRequest) SetDesc

func (*TaobaoMiniappTemplateUpdateappRequest) SetExtJson

func (r *TaobaoMiniappTemplateUpdateappRequest) SetExtJson(extJson string) error

func (*TaobaoMiniappTemplateUpdateappRequest) SetIcon

func (*TaobaoMiniappTemplateUpdateappRequest) SetTemplateId

func (r *TaobaoMiniappTemplateUpdateappRequest) SetTemplateId(templateId string) error

func (*TaobaoMiniappTemplateUpdateappRequest) SetTemplateVersion

func (r *TaobaoMiniappTemplateUpdateappRequest) SetTemplateVersion(templateVersion string) error

type TaobaoMiniappTemplateUpdateappResponse

type TaobaoMiniappTemplateUpdateappResponse 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"`

	AppIcon string `json:"app_icon,omitempty" xml:"app_icon,omitempty"`

	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`

	Appkey string `json:"appkey,omitempty" xml:"appkey,omitempty"`

	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`

	PreViewUrl string `json:"pre_view_url,omitempty" xml:"pre_view_url,omitempty"`

	AppVersion string `json:"app_version,omitempty" xml:"app_version,omitempty"`

	AppAlias string `json:"app_alias,omitempty" xml:"app_alias,omitempty"`
}

type TaobaoMiniapppTemplateInstantiateAPIResponse

type TaobaoMiniapppTemplateInstantiateAPIResponse struct {
	model.CommonResponse
	TaobaoMiniapppTemplateInstantiateResponse
}

(已废弃)构建实例化应用 APIResponse taobao.miniappp.template.instantiate

实例化saas化的小程序

type TaobaoMiniapppTemplateInstantiateRequest

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

(已废弃)构建实例化应用 APIRequest taobao.miniappp.template.instantiate

实例化saas化的小程序

func NewTaobaoMiniapppTemplateInstantiateRequest

func NewTaobaoMiniapppTemplateInstantiateRequest() *TaobaoMiniapppTemplateInstantiateRequest

func (TaobaoMiniapppTemplateInstantiateRequest) GetApiMethodName

func (r TaobaoMiniapppTemplateInstantiateRequest) GetApiMethodName() string

func (TaobaoMiniapppTemplateInstantiateRequest) GetApiParams

func (TaobaoMiniapppTemplateInstantiateRequest) GetClients

func (TaobaoMiniapppTemplateInstantiateRequest) GetDescription

func (TaobaoMiniapppTemplateInstantiateRequest) GetExtJson

func (TaobaoMiniapppTemplateInstantiateRequest) GetIcon

func (TaobaoMiniapppTemplateInstantiateRequest) GetName

func (TaobaoMiniapppTemplateInstantiateRequest) GetTemplateId

func (TaobaoMiniapppTemplateInstantiateRequest) GetTemplateVersion

func (r TaobaoMiniapppTemplateInstantiateRequest) GetTemplateVersion() string

func (*TaobaoMiniapppTemplateInstantiateRequest) SetClients

func (r *TaobaoMiniapppTemplateInstantiateRequest) SetClients(clients []string) error

func (*TaobaoMiniapppTemplateInstantiateRequest) SetDescription

func (r *TaobaoMiniapppTemplateInstantiateRequest) SetDescription(description string) error

func (*TaobaoMiniapppTemplateInstantiateRequest) SetExtJson

func (r *TaobaoMiniapppTemplateInstantiateRequest) SetExtJson(extJson string) error

func (*TaobaoMiniapppTemplateInstantiateRequest) SetIcon

func (*TaobaoMiniapppTemplateInstantiateRequest) SetName

func (*TaobaoMiniapppTemplateInstantiateRequest) SetTemplateId

func (r *TaobaoMiniapppTemplateInstantiateRequest) SetTemplateId(templateId string) error

func (*TaobaoMiniapppTemplateInstantiateRequest) SetTemplateVersion

func (r *TaobaoMiniapppTemplateInstantiateRequest) SetTemplateVersion(templateVersion string) error

type TaobaoMiniapppTemplateInstantiateResponse

type TaobaoMiniapppTemplateInstantiateResponse struct {
	XMLName xml.Name `xml:"miniappp_template_instantiate_response"`

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

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

type TaobaoMiniapppTemplateInstantiateResult

type TaobaoMiniapppTemplateInstantiateResult struct {
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`

	ErrMessage string `json:"err_message,omitempty" xml:"err_message,omitempty"`

	Model *MiniAppEntityDto `json:"model,omitempty" xml:"model,omitempty"`

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

TaobaoMiniapppTemplateInstantiateResult

Source Files

Jump to

Keyboard shortcuts

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