Documentation ¶
Overview ¶
Package miniappopen 包含miniapp开放API相关结构体
Index ¶
- type DistributionOrderBindBaseDto
- type DistributionOrderBindTargetEntityOpenRequestV2
- type DistributionOrderBindTargetEntityOpenResultDto
- type DistributionOrderOpenBizDto
- type DistributionOrderQueryByIdOpenRequest
- type DistributionOrderSaveOpenRequest
- type MiniAppEntityDto
- type MiniAppEntityTemplateDto
- type MiniAppEntranceMaterialBizOpenDto
- type MiniAppInstanceVersionDto
- type MiniAppInstantiateAppOpenQuery
- type MiniAppInstantiateTemplateAppSimpleRequest
- type MiniAppInstantiateTemplateAppUpdateRequest
- type MiniAppShortUrlDto
- type MiniappInstanceAppAllVersionsDto
- type MiniappInstanceAppOfflineDto
- type MiniappInstanceAppOnlineDto
- type TaobaoMiniappAppSellerConfigCompleteAPIRequest
- func (r TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetAppId() int64
- func (r TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetVersion() string
- func (r *TaobaoMiniappAppSellerConfigCompleteAPIRequest) SetAppId(_appId int64) error
- func (r *TaobaoMiniappAppSellerConfigCompleteAPIRequest) SetVersion(_version string) error
- type TaobaoMiniappAppSellerConfigCompleteAPIResponse
- type TaobaoMiniappAppSellerConfigCompleteAPIResponseModel
- type TaobaoMiniappDistributionItemsBindAPIRequest
- func (r TaobaoMiniappDistributionItemsBindAPIRequest) GetAddBind() bool
- func (r TaobaoMiniappDistributionItemsBindAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappDistributionItemsBindAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappDistributionItemsBindAPIRequest) GetTargetEntityList() []string
- func (r TaobaoMiniappDistributionItemsBindAPIRequest) GetUrl() string
- func (r *TaobaoMiniappDistributionItemsBindAPIRequest) SetAddBind(_addBind bool) error
- func (r *TaobaoMiniappDistributionItemsBindAPIRequest) SetTargetEntityList(_targetEntityList []string) error
- func (r *TaobaoMiniappDistributionItemsBindAPIRequest) SetUrl(_url string) error
- type TaobaoMiniappDistributionItemsBindAPIResponse
- type TaobaoMiniappDistributionItemsBindAPIResponseModel
- type TaobaoMiniappDistributionMaterialCreateAPIRequest
- func (r TaobaoMiniappDistributionMaterialCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappDistributionMaterialCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappDistributionMaterialCreateAPIRequest) GetMaterialRequest() *MiniAppEntranceMaterialBizOpenDto
- func (r *TaobaoMiniappDistributionMaterialCreateAPIRequest) SetMaterialRequest(_materialRequest *MiniAppEntranceMaterialBizOpenDto) error
- type TaobaoMiniappDistributionMaterialCreateAPIResponse
- type TaobaoMiniappDistributionMaterialCreateAPIResponseModel
- type TaobaoMiniappDistributionMaterialDeleteAPIRequest
- func (r TaobaoMiniappDistributionMaterialDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappDistributionMaterialDeleteAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappDistributionMaterialDeleteAPIRequest) GetMaterialRequest() *MiniAppEntranceMaterialBizOpenDto
- func (r *TaobaoMiniappDistributionMaterialDeleteAPIRequest) SetMaterialRequest(_materialRequest *MiniAppEntranceMaterialBizOpenDto) error
- type TaobaoMiniappDistributionMaterialDeleteAPIResponse
- type TaobaoMiniappDistributionMaterialDeleteAPIResponseModel
- type TaobaoMiniappDistributionMaterialGetAPIRequest
- func (r TaobaoMiniappDistributionMaterialGetAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappDistributionMaterialGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappDistributionMaterialGetAPIRequest) GetMaterialRequest() *MiniAppEntranceMaterialBizOpenDto
- func (r *TaobaoMiniappDistributionMaterialGetAPIRequest) SetMaterialRequest(_materialRequest *MiniAppEntranceMaterialBizOpenDto) error
- type TaobaoMiniappDistributionMaterialGetAPIResponse
- type TaobaoMiniappDistributionMaterialGetAPIResponseModel
- type TaobaoMiniappDistributionMaterialGetModel
- type TaobaoMiniappDistributionMaterialUpdateAPIRequest
- func (r TaobaoMiniappDistributionMaterialUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappDistributionMaterialUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappDistributionMaterialUpdateAPIRequest) GetMaterialRequest() *MiniAppEntranceMaterialBizOpenDto
- func (r *TaobaoMiniappDistributionMaterialUpdateAPIRequest) SetMaterialRequest(_materialRequest *MiniAppEntranceMaterialBizOpenDto) error
- type TaobaoMiniappDistributionMaterialUpdateAPIResponse
- type TaobaoMiniappDistributionMaterialUpdateAPIResponseModel
- type TaobaoMiniappDistributionOrderCreateAPIRequest
- func (r TaobaoMiniappDistributionOrderCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappDistributionOrderCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappDistributionOrderCreateAPIRequest) GetOrderRequest() *DistributionOrderSaveOpenRequest
- func (r *TaobaoMiniappDistributionOrderCreateAPIRequest) SetOrderRequest(_orderRequest *DistributionOrderSaveOpenRequest) error
- type TaobaoMiniappDistributionOrderCreateAPIResponse
- type TaobaoMiniappDistributionOrderCreateAPIResponseModel
- type TaobaoMiniappDistributionOrderGetAPIRequest
- func (r TaobaoMiniappDistributionOrderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappDistributionOrderGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappDistributionOrderGetAPIRequest) GetOrderIdRequest() *DistributionOrderQueryByIdOpenRequest
- func (r *TaobaoMiniappDistributionOrderGetAPIRequest) SetOrderIdRequest(_orderIdRequest *DistributionOrderQueryByIdOpenRequest) error
- type TaobaoMiniappDistributionOrderGetAPIResponse
- type TaobaoMiniappDistributionOrderGetAPIResponseModel
- type TaobaoMiniappDistributionOrderItemsAllBindAPIRequest
- func (r TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) GetAllItemBindRequest() *DistributionOrderBindTargetEntityOpenRequestV2
- func (r TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) GetApiParams() url.Values
- func (r *TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) SetAllItemBindRequest(_allItemBindRequest *DistributionOrderBindTargetEntityOpenRequestV2) error
- type TaobaoMiniappDistributionOrderItemsAllBindAPIResponse
- type TaobaoMiniappDistributionOrderItemsAllBindAPIResponseModel
- type TaobaoMiniappDistributionOrderItemsBindAPIRequest
- func (r TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetAddBind() bool
- func (r TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetDistributeId() int64
- func (r TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetTargetEntityList() []string
- func (r *TaobaoMiniappDistributionOrderItemsBindAPIRequest) SetAddBind(_addBind bool) error
- func (r *TaobaoMiniappDistributionOrderItemsBindAPIRequest) SetDistributeId(_distributeId int64) error
- func (r *TaobaoMiniappDistributionOrderItemsBindAPIRequest) SetTargetEntityList(_targetEntityList []string) error
- type TaobaoMiniappDistributionOrderItemsBindAPIResponse
- type TaobaoMiniappDistributionOrderItemsBindAPIResponseModel
- type TaobaoMiniappDistributionOrderPrecreateAPIRequest
- func (r TaobaoMiniappDistributionOrderPrecreateAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappDistributionOrderPrecreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappDistributionOrderPrecreateAPIRequest) GetOrderRequest() *DistributionOrderSaveOpenRequest
- func (r *TaobaoMiniappDistributionOrderPrecreateAPIRequest) SetOrderRequest(_orderRequest *DistributionOrderSaveOpenRequest) error
- type TaobaoMiniappDistributionOrderPrecreateAPIResponse
- type TaobaoMiniappDistributionOrderPrecreateAPIResponseModel
- type TaobaoMiniappShorturlCreateAPIRequest
- func (r TaobaoMiniappShorturlCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappShorturlCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappShorturlCreateAPIRequest) GetMiniappUrl() string
- func (r *TaobaoMiniappShorturlCreateAPIRequest) SetMiniappUrl(_miniappUrl string) error
- type TaobaoMiniappShorturlCreateAPIResponse
- type TaobaoMiniappShorturlCreateAPIResponseModel
- type TaobaoMiniappShorturlCreateResult
- type TaobaoMiniappTemplateInstantiateAPIRequest
- func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetAlias() string
- func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetClients() []string
- func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetDescription() string
- func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetExtJson() string
- func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetIcon() string
- func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetName() string
- func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetTemplateId() string
- func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetTemplateVersion() string
- func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetAlias(_alias string) error
- func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetClients(_clients []string) error
- func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetDescription(_description string) error
- func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetExtJson(_extJson string) error
- func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetIcon(_icon string) error
- func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetName(_name string) error
- func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetTemplateId(_templateId string) error
- func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetTemplateVersion(_templateVersion string) error
- type TaobaoMiniappTemplateInstantiateAPIResponse
- type TaobaoMiniappTemplateInstantiateAPIResponseModel
- type TaobaoMiniappTemplateOfflineappAPIRequest
- func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetAppId() string
- func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetAppVersion() string
- func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetClients() []string
- func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetTemplateId() string
- func (r *TaobaoMiniappTemplateOfflineappAPIRequest) SetAppId(_appId string) error
- func (r *TaobaoMiniappTemplateOfflineappAPIRequest) SetAppVersion(_appVersion string) error
- func (r *TaobaoMiniappTemplateOfflineappAPIRequest) SetClients(_clients []string) error
- func (r *TaobaoMiniappTemplateOfflineappAPIRequest) SetTemplateId(_templateId string) error
- type TaobaoMiniappTemplateOfflineappAPIResponse
- type TaobaoMiniappTemplateOfflineappAPIResponseModel
- type TaobaoMiniappTemplateOnlineappAPIRequest
- func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetAppId() string
- func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetAppVersion() string
- func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetClients() []string
- func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetTemplateId() string
- func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetTemplateVersion() string
- func (r *TaobaoMiniappTemplateOnlineappAPIRequest) SetAppId(_appId string) error
- func (r *TaobaoMiniappTemplateOnlineappAPIRequest) SetAppVersion(_appVersion string) error
- func (r *TaobaoMiniappTemplateOnlineappAPIRequest) SetClients(_clients []string) error
- func (r *TaobaoMiniappTemplateOnlineappAPIRequest) SetTemplateId(_templateId string) error
- func (r *TaobaoMiniappTemplateOnlineappAPIRequest) SetTemplateVersion(_templateVersion string) error
- type TaobaoMiniappTemplateOnlineappAPIResponse
- type TaobaoMiniappTemplateOnlineappAPIResponseModel
- type TaobaoMiniappTemplateQueryappAPIRequest
- func (r TaobaoMiniappTemplateQueryappAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappTemplateQueryappAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappTemplateQueryappAPIRequest) GetPageNum() int64
- func (r TaobaoMiniappTemplateQueryappAPIRequest) GetPageSize() int64
- func (r TaobaoMiniappTemplateQueryappAPIRequest) GetTemplateId() string
- func (r *TaobaoMiniappTemplateQueryappAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoMiniappTemplateQueryappAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoMiniappTemplateQueryappAPIRequest) SetTemplateId(_templateId string) error
- type TaobaoMiniappTemplateQueryappAPIResponse
- type TaobaoMiniappTemplateQueryappAPIResponseModel
- type TaobaoMiniappTemplateRollbackAPIRequest
- func (r TaobaoMiniappTemplateRollbackAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappTemplateRollbackAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappTemplateRollbackAPIRequest) GetAppId() string
- func (r TaobaoMiniappTemplateRollbackAPIRequest) GetAppVersion() string
- func (r TaobaoMiniappTemplateRollbackAPIRequest) GetClients() []string
- func (r TaobaoMiniappTemplateRollbackAPIRequest) GetTemplateId() string
- func (r TaobaoMiniappTemplateRollbackAPIRequest) GetTemplateVersion() string
- func (r *TaobaoMiniappTemplateRollbackAPIRequest) SetAppId(_appId string) error
- func (r *TaobaoMiniappTemplateRollbackAPIRequest) SetAppVersion(_appVersion string) error
- func (r *TaobaoMiniappTemplateRollbackAPIRequest) SetClients(_clients []string) error
- func (r *TaobaoMiniappTemplateRollbackAPIRequest) SetTemplateId(_templateId string) error
- func (r *TaobaoMiniappTemplateRollbackAPIRequest) SetTemplateVersion(_templateVersion string) error
- type TaobaoMiniappTemplateRollbackAPIResponse
- type TaobaoMiniappTemplateRollbackAPIResponseModel
- type TaobaoMiniappTemplateUpdateAPIRequest
- func (r TaobaoMiniappTemplateUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappTemplateUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappTemplateUpdateAPIRequest) GetClients() []string
- func (r TaobaoMiniappTemplateUpdateAPIRequest) GetExtJson() string
- func (r TaobaoMiniappTemplateUpdateAPIRequest) GetId() string
- func (r TaobaoMiniappTemplateUpdateAPIRequest) GetTemplateId() string
- func (r TaobaoMiniappTemplateUpdateAPIRequest) GetTemplateVersion() string
- func (r *TaobaoMiniappTemplateUpdateAPIRequest) SetClients(_clients []string) error
- func (r *TaobaoMiniappTemplateUpdateAPIRequest) SetExtJson(_extJson string) error
- func (r *TaobaoMiniappTemplateUpdateAPIRequest) SetId(_id string) error
- func (r *TaobaoMiniappTemplateUpdateAPIRequest) SetTemplateId(_templateId string) error
- func (r *TaobaoMiniappTemplateUpdateAPIRequest) SetTemplateVersion(_templateVersion string) error
- type TaobaoMiniappTemplateUpdateAPIResponse
- type TaobaoMiniappTemplateUpdateAPIResponseModel
- type TaobaoMiniappTemplateUpdateResult
- type TaobaoMiniappTemplateUpdateappAPIRequest
- func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetAlias() string
- func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetAppId() string
- func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetClients() []string
- func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetDesc() string
- func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetExtJson() string
- func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetIcon() string
- func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetTemplateId() string
- func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetTemplateVersion() string
- func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetAlias(_alias string) error
- func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetAppId(_appId string) error
- func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetClients(_clients []string) error
- func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetExtJson(_extJson string) error
- func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetIcon(_icon string) error
- func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetTemplateId(_templateId string) error
- func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetTemplateVersion(_templateVersion string) error
- type TaobaoMiniappTemplateUpdateappAPIResponse
- type TaobaoMiniappTemplateUpdateappAPIResponseModel
- type TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest
- func (r TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) GetParam0() *MiniAppInstantiateAppOpenQuery
- func (r *TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) SetParam0(_param0 *MiniAppInstantiateAppOpenQuery) error
- type TaobaoMiniappWidgetTemplateInstanceQueryAPIResponse
- type TaobaoMiniappWidgetTemplateInstanceQueryAPIResponseModel
- type TaobaoMiniappWidgetTemplateInstanceQueryResult
- type TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest
- func (r TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) GetParamMiniAppInstantiateTemplateAppUpdateRequest() *MiniAppInstantiateTemplateAppUpdateRequest
- func (r *TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) SetParamMiniAppInstantiateTemplateAppUpdateRequest(...) error
- type TaobaoMiniappWidgetTemplateInstanceUpdateAPIResponse
- type TaobaoMiniappWidgetTemplateInstanceUpdateAPIResponseModel
- type TaobaoMiniappWidgetTemplateInstanceUpdateResult
- type TaobaoMiniappWidgetTemplateInstantiateAPIRequest
- func (r TaobaoMiniappWidgetTemplateInstantiateAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniappWidgetTemplateInstantiateAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniappWidgetTemplateInstantiateAPIRequest) GetParamMiniAppInstantiateTemplateAppSimpleRequest() *MiniAppInstantiateTemplateAppSimpleRequest
- func (r *TaobaoMiniappWidgetTemplateInstantiateAPIRequest) SetParamMiniAppInstantiateTemplateAppSimpleRequest(...) error
- type TaobaoMiniappWidgetTemplateInstantiateAPIResponse
- type TaobaoMiniappWidgetTemplateInstantiateAPIResponseModel
- type TaobaoMiniappWidgetTemplateInstantiateResult
- type TaobaoMiniapppTemplateInstantiateAPIRequest
- func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetApiMethodName() string
- func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetApiParams() url.Values
- func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetClients() []string
- func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetDescription() string
- func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetExtJson() string
- func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetIcon() string
- func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetName() string
- func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetTemplateId() string
- func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetTemplateVersion() string
- func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetClients(_clients []string) error
- func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetDescription(_description string) error
- func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetExtJson(_extJson string) error
- func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetIcon(_icon string) error
- func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetName(_name string) error
- func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetTemplateId(_templateId string) error
- func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetTemplateVersion(_templateVersion string) error
- type TaobaoMiniapppTemplateInstantiateAPIResponse
- type TaobaoMiniapppTemplateInstantiateAPIResponseModel
- type TaobaoMiniapppTemplateInstantiateResult
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"` // 应用id 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"` // 小部件别名 AppAlias string `json:"app_alias,omitempty" xml:"app_alias,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"` // 场景入口对应的素材动态表单值,必须符合表单的要求。每个场景、入口卡片都拥有不同的限制,请通过开发者控制台查看具体的表单字段要求。 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 TaobaoMiniappAppSellerConfigCompleteAPIRequest ¶ added in v1.2.0
type TaobaoMiniappAppSellerConfigCompleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappAppSellerConfigCompleteAPIRequest 商家完成小程序相关配置 API请求 taobao.miniapp.app.seller.config.complete
通过该接口告知平台商家已经完成小程序相关的必要设置,可进行后续操作。主要用于小部件、客服插件等场景。
func NewTaobaoMiniappAppSellerConfigCompleteRequest ¶
func NewTaobaoMiniappAppSellerConfigCompleteRequest() *TaobaoMiniappAppSellerConfigCompleteAPIRequest
NewTaobaoMiniappAppSellerConfigCompleteRequest 初始化TaobaoMiniappAppSellerConfigCompleteAPIRequest对象
func (TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetAppId ¶ added in v1.2.0
func (r TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetAppId() int64
GetAppId AppId Getter
func (TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetVersion ¶ added in v1.2.0
func (r TaobaoMiniappAppSellerConfigCompleteAPIRequest) GetVersion() string
GetVersion Version Getter
func (*TaobaoMiniappAppSellerConfigCompleteAPIRequest) SetAppId ¶ added in v1.2.0
func (r *TaobaoMiniappAppSellerConfigCompleteAPIRequest) SetAppId(_appId int64) error
SetAppId is AppId Setter 商家已完成配置的小部件/B端插件的appid
func (*TaobaoMiniappAppSellerConfigCompleteAPIRequest) SetVersion ¶ added in v1.2.0
func (r *TaobaoMiniappAppSellerConfigCompleteAPIRequest) SetVersion(_version string) error
SetVersion is Version Setter 小部件必传,B端插件不用传。与app_id对应的已完成配置的版本号
type TaobaoMiniappAppSellerConfigCompleteAPIResponse ¶
type TaobaoMiniappAppSellerConfigCompleteAPIResponse struct { model.CommonResponse TaobaoMiniappAppSellerConfigCompleteAPIResponseModel }
TaobaoMiniappAppSellerConfigCompleteAPIResponse 商家完成小程序相关配置 API返回值 taobao.miniapp.app.seller.config.complete
通过该接口告知平台商家已经完成小程序相关的必要设置,可进行后续操作。主要用于小部件、客服插件等场景。
type TaobaoMiniappAppSellerConfigCompleteAPIResponseModel ¶ added in v1.2.0
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.2.0
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 ¶
func NewTaobaoMiniappDistributionItemsBindRequest() *TaobaoMiniappDistributionItemsBindAPIRequest
NewTaobaoMiniappDistributionItemsBindRequest 初始化TaobaoMiniappDistributionItemsBindAPIRequest对象
func (TaobaoMiniappDistributionItemsBindAPIRequest) GetAddBind ¶ added in v1.2.0
func (r TaobaoMiniappDistributionItemsBindAPIRequest) GetAddBind() bool
GetAddBind AddBind Getter
func (TaobaoMiniappDistributionItemsBindAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappDistributionItemsBindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappDistributionItemsBindAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappDistributionItemsBindAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappDistributionItemsBindAPIRequest) GetTargetEntityList ¶ added in v1.2.0
func (r TaobaoMiniappDistributionItemsBindAPIRequest) GetTargetEntityList() []string
GetTargetEntityList TargetEntityList Getter
func (TaobaoMiniappDistributionItemsBindAPIRequest) GetUrl ¶ added in v1.2.0
func (r TaobaoMiniappDistributionItemsBindAPIRequest) GetUrl() string
GetUrl Url Getter
func (*TaobaoMiniappDistributionItemsBindAPIRequest) SetAddBind ¶ added in v1.2.0
func (r *TaobaoMiniappDistributionItemsBindAPIRequest) SetAddBind(_addBind bool) error
SetAddBind is AddBind Setter true表示新增绑定,false表示解绑
func (*TaobaoMiniappDistributionItemsBindAPIRequest) SetTargetEntityList ¶ added in v1.2.0
func (r *TaobaoMiniappDistributionItemsBindAPIRequest) SetTargetEntityList(_targetEntityList []string) error
SetTargetEntityList is TargetEntityList Setter 商品id列表
func (*TaobaoMiniappDistributionItemsBindAPIRequest) SetUrl ¶ added in v1.2.0
func (r *TaobaoMiniappDistributionItemsBindAPIRequest) SetUrl(_url string) error
SetUrl is Url Setter 投放的商家应用完整链接
type TaobaoMiniappDistributionItemsBindAPIResponse ¶
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.2.0
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.2.5
type TaobaoMiniappDistributionMaterialCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappDistributionMaterialCreateAPIRequest 小程序投放--新建投放素材 API请求 taobao.miniapp.distribution.material.create
为可投放的小程序,增加入口的素材信息,比如图片、引导文案等等。
func NewTaobaoMiniappDistributionMaterialCreateRequest ¶ added in v1.2.5
func NewTaobaoMiniappDistributionMaterialCreateRequest() *TaobaoMiniappDistributionMaterialCreateAPIRequest
NewTaobaoMiniappDistributionMaterialCreateRequest 初始化TaobaoMiniappDistributionMaterialCreateAPIRequest对象
func (TaobaoMiniappDistributionMaterialCreateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappDistributionMaterialCreateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappDistributionMaterialCreateAPIRequest) GetMaterialRequest ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialCreateAPIRequest) GetMaterialRequest() *MiniAppEntranceMaterialBizOpenDto
GetMaterialRequest MaterialRequest Getter
func (*TaobaoMiniappDistributionMaterialCreateAPIRequest) SetMaterialRequest ¶ added in v1.2.5
func (r *TaobaoMiniappDistributionMaterialCreateAPIRequest) SetMaterialRequest(_materialRequest *MiniAppEntranceMaterialBizOpenDto) error
SetMaterialRequest is MaterialRequest Setter 投放入口素材信息
type TaobaoMiniappDistributionMaterialCreateAPIResponse ¶ added in v1.2.5
type TaobaoMiniappDistributionMaterialCreateAPIResponse struct { model.CommonResponse TaobaoMiniappDistributionMaterialCreateAPIResponseModel }
TaobaoMiniappDistributionMaterialCreateAPIResponse 小程序投放--新建投放素材 API返回值 taobao.miniapp.distribution.material.create
为可投放的小程序,增加入口的素材信息,比如图片、引导文案等等。
type TaobaoMiniappDistributionMaterialCreateAPIResponseModel ¶ added in v1.2.5
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.2.5
type TaobaoMiniappDistributionMaterialDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappDistributionMaterialDeleteAPIRequest 小程序投放 --- 删除投放素材 API请求 taobao.miniapp.distribution.material.delete
删除已录入的投放入口素材信息。
func NewTaobaoMiniappDistributionMaterialDeleteRequest ¶ added in v1.2.5
func NewTaobaoMiniappDistributionMaterialDeleteRequest() *TaobaoMiniappDistributionMaterialDeleteAPIRequest
NewTaobaoMiniappDistributionMaterialDeleteRequest 初始化TaobaoMiniappDistributionMaterialDeleteAPIRequest对象
func (TaobaoMiniappDistributionMaterialDeleteAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappDistributionMaterialDeleteAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialDeleteAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappDistributionMaterialDeleteAPIRequest) GetMaterialRequest ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialDeleteAPIRequest) GetMaterialRequest() *MiniAppEntranceMaterialBizOpenDto
GetMaterialRequest MaterialRequest Getter
func (*TaobaoMiniappDistributionMaterialDeleteAPIRequest) SetMaterialRequest ¶ added in v1.2.5
func (r *TaobaoMiniappDistributionMaterialDeleteAPIRequest) SetMaterialRequest(_materialRequest *MiniAppEntranceMaterialBizOpenDto) error
SetMaterialRequest is MaterialRequest Setter 投放入口素材信息
type TaobaoMiniappDistributionMaterialDeleteAPIResponse ¶ added in v1.2.5
type TaobaoMiniappDistributionMaterialDeleteAPIResponse struct { model.CommonResponse TaobaoMiniappDistributionMaterialDeleteAPIResponseModel }
TaobaoMiniappDistributionMaterialDeleteAPIResponse 小程序投放 --- 删除投放素材 API返回值 taobao.miniapp.distribution.material.delete
删除已录入的投放入口素材信息。
type TaobaoMiniappDistributionMaterialDeleteAPIResponseModel ¶ added in v1.2.5
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.2.5
type TaobaoMiniappDistributionMaterialGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappDistributionMaterialGetAPIRequest 小程序投放---读取投放入口素材信息 API请求 taobao.miniapp.distribution.material.get
读取已录入的投放入口素材信息。
func NewTaobaoMiniappDistributionMaterialGetRequest ¶ added in v1.2.5
func NewTaobaoMiniappDistributionMaterialGetRequest() *TaobaoMiniappDistributionMaterialGetAPIRequest
NewTaobaoMiniappDistributionMaterialGetRequest 初始化TaobaoMiniappDistributionMaterialGetAPIRequest对象
func (TaobaoMiniappDistributionMaterialGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappDistributionMaterialGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappDistributionMaterialGetAPIRequest) GetMaterialRequest ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialGetAPIRequest) GetMaterialRequest() *MiniAppEntranceMaterialBizOpenDto
GetMaterialRequest MaterialRequest Getter
func (*TaobaoMiniappDistributionMaterialGetAPIRequest) SetMaterialRequest ¶ added in v1.2.5
func (r *TaobaoMiniappDistributionMaterialGetAPIRequest) SetMaterialRequest(_materialRequest *MiniAppEntranceMaterialBizOpenDto) error
SetMaterialRequest is MaterialRequest Setter 投放入口素材信息
type TaobaoMiniappDistributionMaterialGetAPIResponse ¶ added in v1.2.5
type TaobaoMiniappDistributionMaterialGetAPIResponse struct { model.CommonResponse TaobaoMiniappDistributionMaterialGetAPIResponseModel }
TaobaoMiniappDistributionMaterialGetAPIResponse 小程序投放---读取投放入口素材信息 API返回值 taobao.miniapp.distribution.material.get
读取已录入的投放入口素材信息。
type TaobaoMiniappDistributionMaterialGetAPIResponseModel ¶ added in v1.2.5
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>taobao_miniapp_distribution_material_get_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.2.5
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.2.5
type TaobaoMiniappDistributionMaterialUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappDistributionMaterialUpdateAPIRequest 小程序投放 --- 更新投放素材 API请求 taobao.miniapp.distribution.material.update
修改已录入的投放素材信息。
func NewTaobaoMiniappDistributionMaterialUpdateRequest ¶ added in v1.2.5
func NewTaobaoMiniappDistributionMaterialUpdateRequest() *TaobaoMiniappDistributionMaterialUpdateAPIRequest
NewTaobaoMiniappDistributionMaterialUpdateRequest 初始化TaobaoMiniappDistributionMaterialUpdateAPIRequest对象
func (TaobaoMiniappDistributionMaterialUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappDistributionMaterialUpdateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappDistributionMaterialUpdateAPIRequest) GetMaterialRequest ¶ added in v1.2.5
func (r TaobaoMiniappDistributionMaterialUpdateAPIRequest) GetMaterialRequest() *MiniAppEntranceMaterialBizOpenDto
GetMaterialRequest MaterialRequest Getter
func (*TaobaoMiniappDistributionMaterialUpdateAPIRequest) SetMaterialRequest ¶ added in v1.2.5
func (r *TaobaoMiniappDistributionMaterialUpdateAPIRequest) SetMaterialRequest(_materialRequest *MiniAppEntranceMaterialBizOpenDto) error
SetMaterialRequest is MaterialRequest Setter 投放入口素材信息
type TaobaoMiniappDistributionMaterialUpdateAPIResponse ¶ added in v1.2.5
type TaobaoMiniappDistributionMaterialUpdateAPIResponse struct { model.CommonResponse TaobaoMiniappDistributionMaterialUpdateAPIResponseModel }
TaobaoMiniappDistributionMaterialUpdateAPIResponse 小程序投放 --- 更新投放素材 API返回值 taobao.miniapp.distribution.material.update
修改已录入的投放素材信息。
type TaobaoMiniappDistributionMaterialUpdateAPIResponseModel ¶ added in v1.2.5
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.2.0
type TaobaoMiniappDistributionOrderCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappDistributionOrderCreateAPIRequest 创建小程序投放计划 API请求 taobao.miniapp.distribution.order.create
帮助商家,创建小程序的投放计划。该api,仅针对特定场景开放,目前仅支持客服场景,具体支持的场景列表请联系技术支持或业务对接人确认。
func NewTaobaoMiniappDistributionOrderCreateRequest ¶
func NewTaobaoMiniappDistributionOrderCreateRequest() *TaobaoMiniappDistributionOrderCreateAPIRequest
NewTaobaoMiniappDistributionOrderCreateRequest 初始化TaobaoMiniappDistributionOrderCreateAPIRequest对象
func (TaobaoMiniappDistributionOrderCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappDistributionOrderCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappDistributionOrderCreateAPIRequest) GetOrderRequest ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderCreateAPIRequest) GetOrderRequest() *DistributionOrderSaveOpenRequest
GetOrderRequest OrderRequest Getter
func (*TaobaoMiniappDistributionOrderCreateAPIRequest) SetOrderRequest ¶ added in v1.2.0
func (r *TaobaoMiniappDistributionOrderCreateAPIRequest) SetOrderRequest(_orderRequest *DistributionOrderSaveOpenRequest) error
SetOrderRequest is OrderRequest Setter 投放计划信息
type TaobaoMiniappDistributionOrderCreateAPIResponse ¶
type TaobaoMiniappDistributionOrderCreateAPIResponse struct { model.CommonResponse TaobaoMiniappDistributionOrderCreateAPIResponseModel }
TaobaoMiniappDistributionOrderCreateAPIResponse 创建小程序投放计划 API返回值 taobao.miniapp.distribution.order.create
帮助商家,创建小程序的投放计划。该api,仅针对特定场景开放,目前仅支持客服场景,具体支持的场景列表请联系技术支持或业务对接人确认。
type TaobaoMiniappDistributionOrderCreateAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoMiniappDistributionOrderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappDistributionOrderGetAPIRequest 小程序投放-查询小程序投放计划信息 API请求 taobao.miniapp.distribution.order.get
服务商可通过该API,读取自己开发的小程序对应的投放计划的相关信息
func NewTaobaoMiniappDistributionOrderGetRequest ¶
func NewTaobaoMiniappDistributionOrderGetRequest() *TaobaoMiniappDistributionOrderGetAPIRequest
NewTaobaoMiniappDistributionOrderGetRequest 初始化TaobaoMiniappDistributionOrderGetAPIRequest对象
func (TaobaoMiniappDistributionOrderGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappDistributionOrderGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappDistributionOrderGetAPIRequest) GetOrderIdRequest ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderGetAPIRequest) GetOrderIdRequest() *DistributionOrderQueryByIdOpenRequest
GetOrderIdRequest OrderIdRequest Getter
func (*TaobaoMiniappDistributionOrderGetAPIRequest) SetOrderIdRequest ¶ added in v1.2.0
func (r *TaobaoMiniappDistributionOrderGetAPIRequest) SetOrderIdRequest(_orderIdRequest *DistributionOrderQueryByIdOpenRequest) error
SetOrderIdRequest is OrderIdRequest Setter 查询入参
type TaobaoMiniappDistributionOrderGetAPIResponse ¶
type TaobaoMiniappDistributionOrderGetAPIResponse struct { model.CommonResponse TaobaoMiniappDistributionOrderGetAPIResponseModel }
TaobaoMiniappDistributionOrderGetAPIResponse 小程序投放-查询小程序投放计划信息 API返回值 taobao.miniapp.distribution.order.get
服务商可通过该API,读取自己开发的小程序对应的投放计划的相关信息
type TaobaoMiniappDistributionOrderGetAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoMiniappDistributionOrderItemsAllBindAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappDistributionOrderItemsAllBindAPIRequest 小程序投放-基于投放计划绑定/解绑全店商品 API请求 taobao.miniapp.distribution.order.items.all.bind
提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。该接口对应的能力是全店投放,表示店铺里的所有商品均会透出对应的投放计划(并且对于新上架的商品,系统也会每天凌晨进行一次补充投放,始终保持全店商品都有悬浮窗入口),该能力的使用,需要联系平台运营进行人工申请,申请通过以后方可调用成功。
func NewTaobaoMiniappDistributionOrderItemsAllBindRequest ¶
func NewTaobaoMiniappDistributionOrderItemsAllBindRequest() *TaobaoMiniappDistributionOrderItemsAllBindAPIRequest
NewTaobaoMiniappDistributionOrderItemsAllBindRequest 初始化TaobaoMiniappDistributionOrderItemsAllBindAPIRequest对象
func (TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) GetAllItemBindRequest ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) GetAllItemBindRequest() *DistributionOrderBindTargetEntityOpenRequestV2
GetAllItemBindRequest AllItemBindRequest Getter
func (TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (*TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) SetAllItemBindRequest ¶ added in v1.2.0
func (r *TaobaoMiniappDistributionOrderItemsAllBindAPIRequest) SetAllItemBindRequest(_allItemBindRequest *DistributionOrderBindTargetEntityOpenRequestV2) error
SetAllItemBindRequest is AllItemBindRequest Setter 绑定/解绑的入参信息
type TaobaoMiniappDistributionOrderItemsAllBindAPIResponse ¶
type TaobaoMiniappDistributionOrderItemsAllBindAPIResponse struct { model.CommonResponse TaobaoMiniappDistributionOrderItemsAllBindAPIResponseModel }
TaobaoMiniappDistributionOrderItemsAllBindAPIResponse 小程序投放-基于投放计划绑定/解绑全店商品 API返回值 taobao.miniapp.distribution.order.items.all.bind
提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。该接口对应的能力是全店投放,表示店铺里的所有商品均会透出对应的投放计划(并且对于新上架的商品,系统也会每天凌晨进行一次补充投放,始终保持全店商品都有悬浮窗入口),该能力的使用,需要联系平台运营进行人工申请,申请通过以后方可调用成功。
type TaobaoMiniappDistributionOrderItemsAllBindAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoMiniappDistributionOrderItemsBindAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappDistributionOrderItemsBindAPIRequest 小程序投放-基于投放计划绑定/解绑商品 API请求 taobao.miniapp.distribution.order.items.bind
提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。
func NewTaobaoMiniappDistributionOrderItemsBindRequest ¶
func NewTaobaoMiniappDistributionOrderItemsBindRequest() *TaobaoMiniappDistributionOrderItemsBindAPIRequest
NewTaobaoMiniappDistributionOrderItemsBindRequest 初始化TaobaoMiniappDistributionOrderItemsBindAPIRequest对象
func (TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetAddBind ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetAddBind() bool
GetAddBind AddBind Getter
func (TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetDistributeId ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetDistributeId() int64
GetDistributeId DistributeId Getter
func (TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetTargetEntityList ¶ added in v1.2.0
func (r TaobaoMiniappDistributionOrderItemsBindAPIRequest) GetTargetEntityList() []string
GetTargetEntityList TargetEntityList Getter
func (*TaobaoMiniappDistributionOrderItemsBindAPIRequest) SetAddBind ¶ added in v1.2.0
func (r *TaobaoMiniappDistributionOrderItemsBindAPIRequest) SetAddBind(_addBind bool) error
SetAddBind is AddBind Setter true表示新增绑定,false表示解绑
func (*TaobaoMiniappDistributionOrderItemsBindAPIRequest) SetDistributeId ¶ added in v1.2.0
func (r *TaobaoMiniappDistributionOrderItemsBindAPIRequest) SetDistributeId(_distributeId int64) error
SetDistributeId is DistributeId Setter 投放计划标识id
func (*TaobaoMiniappDistributionOrderItemsBindAPIRequest) SetTargetEntityList ¶ added in v1.2.0
func (r *TaobaoMiniappDistributionOrderItemsBindAPIRequest) SetTargetEntityList(_targetEntityList []string) error
SetTargetEntityList is TargetEntityList Setter 商品id列表
type TaobaoMiniappDistributionOrderItemsBindAPIResponse ¶
type TaobaoMiniappDistributionOrderItemsBindAPIResponse struct { model.CommonResponse TaobaoMiniappDistributionOrderItemsBindAPIResponseModel }
TaobaoMiniappDistributionOrderItemsBindAPIResponse 小程序投放-基于投放计划绑定/解绑商品 API返回值 taobao.miniapp.distribution.order.items.bind
提供给使用了投放插件的服务商,可以调用该API实现帮助商家更新已创建的投放单中的绑定商品信息。
type TaobaoMiniappDistributionOrderItemsBindAPIResponseModel ¶ added in v1.2.0
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.2.5
type TaobaoMiniappDistributionOrderPrecreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappDistributionOrderPrecreateAPIRequest 代商家预创建投放计划 API请求 taobao.miniapp.distribution.order.precreate
帮助商家,预创建小程序的投放计划,预创建的投放计划,在商家确认以后,则会生效可用。
func NewTaobaoMiniappDistributionOrderPrecreateRequest ¶ added in v1.2.5
func NewTaobaoMiniappDistributionOrderPrecreateRequest() *TaobaoMiniappDistributionOrderPrecreateAPIRequest
NewTaobaoMiniappDistributionOrderPrecreateRequest 初始化TaobaoMiniappDistributionOrderPrecreateAPIRequest对象
func (TaobaoMiniappDistributionOrderPrecreateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoMiniappDistributionOrderPrecreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappDistributionOrderPrecreateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoMiniappDistributionOrderPrecreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappDistributionOrderPrecreateAPIRequest) GetOrderRequest ¶ added in v1.2.5
func (r TaobaoMiniappDistributionOrderPrecreateAPIRequest) GetOrderRequest() *DistributionOrderSaveOpenRequest
GetOrderRequest OrderRequest Getter
func (*TaobaoMiniappDistributionOrderPrecreateAPIRequest) SetOrderRequest ¶ added in v1.2.5
func (r *TaobaoMiniappDistributionOrderPrecreateAPIRequest) SetOrderRequest(_orderRequest *DistributionOrderSaveOpenRequest) error
SetOrderRequest is OrderRequest Setter 投放计划信息
type TaobaoMiniappDistributionOrderPrecreateAPIResponse ¶ added in v1.2.5
type TaobaoMiniappDistributionOrderPrecreateAPIResponse struct { model.CommonResponse TaobaoMiniappDistributionOrderPrecreateAPIResponseModel }
TaobaoMiniappDistributionOrderPrecreateAPIResponse 代商家预创建投放计划 API返回值 taobao.miniapp.distribution.order.precreate
帮助商家,预创建小程序的投放计划,预创建的投放计划,在商家确认以后,则会生效可用。
type TaobaoMiniappDistributionOrderPrecreateAPIResponseModel ¶ added in v1.2.5
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 TaobaoMiniappShorturlCreateAPIRequest ¶ added in v1.2.0
type TaobaoMiniappShorturlCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappShorturlCreateAPIRequest 生成淘宝小程序短链接 API请求 taobao.miniapp.shorturl.create
提供淘宝小程序短链接生成的能力,只允许对淘宝小程序对应的域名:https://m.duanqu.com/ 生成对应的短链接,其他域名无效 【特别注意:短链接有效期为30天,超过时效短链接将无法正常跳转到原始链接地址,请勿将短链接投放或装修到长期存在的入口】
func NewTaobaoMiniappShorturlCreateRequest ¶
func NewTaobaoMiniappShorturlCreateRequest() *TaobaoMiniappShorturlCreateAPIRequest
NewTaobaoMiniappShorturlCreateRequest 初始化TaobaoMiniappShorturlCreateAPIRequest对象
func (TaobaoMiniappShorturlCreateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappShorturlCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappShorturlCreateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappShorturlCreateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappShorturlCreateAPIRequest) GetMiniappUrl ¶ added in v1.2.0
func (r TaobaoMiniappShorturlCreateAPIRequest) GetMiniappUrl() string
GetMiniappUrl MiniappUrl Getter
func (*TaobaoMiniappShorturlCreateAPIRequest) SetMiniappUrl ¶ added in v1.2.0
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 ¶
type TaobaoMiniappShorturlCreateAPIResponse struct { model.CommonResponse TaobaoMiniappShorturlCreateAPIResponseModel }
TaobaoMiniappShorturlCreateAPIResponse 生成淘宝小程序短链接 API返回值 taobao.miniapp.shorturl.create
提供淘宝小程序短链接生成的能力,只允许对淘宝小程序对应的域名:https://m.duanqu.com/ 生成对应的短链接,其他域名无效 【特别注意:短链接有效期为30天,超过时效短链接将无法正常跳转到原始链接地址,请勿将短链接投放或装修到长期存在的入口】
type TaobaoMiniappShorturlCreateAPIResponseModel ¶ added in v1.2.0
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 ¶
type TaobaoMiniappShorturlCreateResult struct { // model Model *MiniAppShortUrlDto `json:"model,omitempty" xml:"model,omitempty"` }
TaobaoMiniappShorturlCreateResult 结构体
type TaobaoMiniappTemplateInstantiateAPIRequest ¶ added in v1.2.0
type TaobaoMiniappTemplateInstantiateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappTemplateInstantiateAPIRequest 构建实例化应用 API请求 taobao.miniapp.template.instantiate
实例化saas化的小程序
func NewTaobaoMiniappTemplateInstantiateRequest ¶
func NewTaobaoMiniappTemplateInstantiateRequest() *TaobaoMiniappTemplateInstantiateAPIRequest
NewTaobaoMiniappTemplateInstantiateRequest 初始化TaobaoMiniappTemplateInstantiateAPIRequest对象
func (TaobaoMiniappTemplateInstantiateAPIRequest) GetAlias ¶ added in v1.2.0
func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetAlias() string
GetAlias Alias Getter
func (TaobaoMiniappTemplateInstantiateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappTemplateInstantiateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappTemplateInstantiateAPIRequest) GetClients ¶ added in v1.2.0
func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetClients() []string
GetClients Clients Getter
func (TaobaoMiniappTemplateInstantiateAPIRequest) GetDescription ¶ added in v1.2.0
func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoMiniappTemplateInstantiateAPIRequest) GetExtJson ¶ added in v1.2.0
func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetExtJson() string
GetExtJson ExtJson Getter
func (TaobaoMiniappTemplateInstantiateAPIRequest) GetIcon ¶ added in v1.2.0
func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetIcon() string
GetIcon Icon Getter
func (TaobaoMiniappTemplateInstantiateAPIRequest) GetName ¶ added in v1.2.0
func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoMiniappTemplateInstantiateAPIRequest) GetTemplateId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetTemplateId() string
GetTemplateId TemplateId Getter
func (TaobaoMiniappTemplateInstantiateAPIRequest) GetTemplateVersion ¶ added in v1.2.0
func (r TaobaoMiniappTemplateInstantiateAPIRequest) GetTemplateVersion() string
GetTemplateVersion TemplateVersion Getter
func (*TaobaoMiniappTemplateInstantiateAPIRequest) SetAlias ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetAlias(_alias string) error
SetAlias is Alias Setter 小程序简称【1-16】字符,可重名
func (*TaobaoMiniappTemplateInstantiateAPIRequest) SetClients ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetClients(_clients []string) error
SetClients is Clients Setter 投放端,目前可投放: taobao(淘宝),tmall(天猫),taobao为必填,需要模板在这些端上已经发布上线
func (*TaobaoMiniappTemplateInstantiateAPIRequest) SetDescription ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 描述长度(9~200)
func (*TaobaoMiniappTemplateInstantiateAPIRequest) SetExtJson ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetExtJson(_extJson string) error
SetExtJson is ExtJson Setter 扩展信息,JSON格式。
func (*TaobaoMiniappTemplateInstantiateAPIRequest) SetIcon ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetIcon(_icon string) error
SetIcon is Icon Setter 小程序icon
func (*TaobaoMiniappTemplateInstantiateAPIRequest) SetName ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetName(_name string) error
SetName is Name Setter 小程序名称按平台规则自动生成,该字段仅做兜底使用。
func (*TaobaoMiniappTemplateInstantiateAPIRequest) SetTemplateId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetTemplateId(_templateId string) error
SetTemplateId is TemplateId Setter 模板id
func (*TaobaoMiniappTemplateInstantiateAPIRequest) SetTemplateVersion ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateInstantiateAPIRequest) SetTemplateVersion(_templateVersion string) error
SetTemplateVersion is TemplateVersion Setter 模板版本
type TaobaoMiniappTemplateInstantiateAPIResponse ¶
type TaobaoMiniappTemplateInstantiateAPIResponse struct { model.CommonResponse TaobaoMiniappTemplateInstantiateAPIResponseModel }
TaobaoMiniappTemplateInstantiateAPIResponse 构建实例化应用 API返回值 taobao.miniapp.template.instantiate
实例化saas化的小程序
type TaobaoMiniappTemplateInstantiateAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoMiniappTemplateOfflineappAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappTemplateOfflineappAPIRequest 下线实例化应用 API请求 taobao.miniapp.template.offlineapp
对指定的实例化小程序进行下线,需要指定clients和app_version
func NewTaobaoMiniappTemplateOfflineappRequest ¶
func NewTaobaoMiniappTemplateOfflineappRequest() *TaobaoMiniappTemplateOfflineappAPIRequest
NewTaobaoMiniappTemplateOfflineappRequest 初始化TaobaoMiniappTemplateOfflineappAPIRequest对象
func (TaobaoMiniappTemplateOfflineappAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappTemplateOfflineappAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappTemplateOfflineappAPIRequest) GetAppId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetAppId() string
GetAppId AppId Getter
func (TaobaoMiniappTemplateOfflineappAPIRequest) GetAppVersion ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetAppVersion() string
GetAppVersion AppVersion Getter
func (TaobaoMiniappTemplateOfflineappAPIRequest) GetClients ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetClients() []string
GetClients Clients Getter
func (TaobaoMiniappTemplateOfflineappAPIRequest) GetTemplateId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOfflineappAPIRequest) GetTemplateId() string
GetTemplateId TemplateId Getter
func (*TaobaoMiniappTemplateOfflineappAPIRequest) SetAppId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateOfflineappAPIRequest) SetAppId(_appId string) error
SetAppId is AppId Setter 要下线的小程序app_id
func (*TaobaoMiniappTemplateOfflineappAPIRequest) SetAppVersion ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateOfflineappAPIRequest) SetAppVersion(_appVersion string) error
SetAppVersion is AppVersion Setter 要下线的小程序版本号
func (*TaobaoMiniappTemplateOfflineappAPIRequest) SetClients ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateOfflineappAPIRequest) SetClients(_clients []string) error
SetClients is Clients Setter 要下线的投放端,目前可投放: taobao(淘宝),tmall(天猫)
func (*TaobaoMiniappTemplateOfflineappAPIRequest) SetTemplateId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateOfflineappAPIRequest) SetTemplateId(_templateId string) error
SetTemplateId is TemplateId Setter 模板id
type TaobaoMiniappTemplateOfflineappAPIResponse ¶
type TaobaoMiniappTemplateOfflineappAPIResponse struct { model.CommonResponse TaobaoMiniappTemplateOfflineappAPIResponseModel }
TaobaoMiniappTemplateOfflineappAPIResponse 下线实例化应用 API返回值 taobao.miniapp.template.offlineapp
对指定的实例化小程序进行下线,需要指定clients和app_version
type TaobaoMiniappTemplateOfflineappAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoMiniappTemplateOnlineappAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappTemplateOnlineappAPIRequest 上线实例化应用 API请求 taobao.miniapp.template.onlineapp
将指定的预览版本发布上线,预览版本号由构建实例化或更新实例化接口返回。
func NewTaobaoMiniappTemplateOnlineappRequest ¶
func NewTaobaoMiniappTemplateOnlineappRequest() *TaobaoMiniappTemplateOnlineappAPIRequest
NewTaobaoMiniappTemplateOnlineappRequest 初始化TaobaoMiniappTemplateOnlineappAPIRequest对象
func (TaobaoMiniappTemplateOnlineappAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappTemplateOnlineappAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappTemplateOnlineappAPIRequest) GetAppId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetAppId() string
GetAppId AppId Getter
func (TaobaoMiniappTemplateOnlineappAPIRequest) GetAppVersion ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetAppVersion() string
GetAppVersion AppVersion Getter
func (TaobaoMiniappTemplateOnlineappAPIRequest) GetClients ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetClients() []string
GetClients Clients Getter
func (TaobaoMiniappTemplateOnlineappAPIRequest) GetTemplateId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetTemplateId() string
GetTemplateId TemplateId Getter
func (TaobaoMiniappTemplateOnlineappAPIRequest) GetTemplateVersion ¶ added in v1.2.0
func (r TaobaoMiniappTemplateOnlineappAPIRequest) GetTemplateVersion() string
GetTemplateVersion TemplateVersion Getter
func (*TaobaoMiniappTemplateOnlineappAPIRequest) SetAppId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateOnlineappAPIRequest) SetAppId(_appId string) error
SetAppId is AppId Setter 小程序app_id
func (*TaobaoMiniappTemplateOnlineappAPIRequest) SetAppVersion ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateOnlineappAPIRequest) SetAppVersion(_appVersion string) error
SetAppVersion is AppVersion Setter 待上线的预览版本号
func (*TaobaoMiniappTemplateOnlineappAPIRequest) SetClients ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateOnlineappAPIRequest) SetClients(_clients []string) error
SetClients is Clients Setter 要更新的投放端,目前可投放: taobao(淘宝),tmall(天猫)
func (*TaobaoMiniappTemplateOnlineappAPIRequest) SetTemplateId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateOnlineappAPIRequest) SetTemplateId(_templateId string) error
SetTemplateId is TemplateId Setter 模板id
func (*TaobaoMiniappTemplateOnlineappAPIRequest) SetTemplateVersion ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateOnlineappAPIRequest) SetTemplateVersion(_templateVersion string) error
SetTemplateVersion is TemplateVersion Setter 模板版本
type TaobaoMiniappTemplateOnlineappAPIResponse ¶
type TaobaoMiniappTemplateOnlineappAPIResponse struct { model.CommonResponse TaobaoMiniappTemplateOnlineappAPIResponseModel }
TaobaoMiniappTemplateOnlineappAPIResponse 上线实例化应用 API返回值 taobao.miniapp.template.onlineapp
将指定的预览版本发布上线,预览版本号由构建实例化或更新实例化接口返回。
type TaobaoMiniappTemplateOnlineappAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoMiniappTemplateQueryappAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappTemplateQueryappAPIRequest 查询实例化应用版本 API请求 taobao.miniapp.template.queryapp
根据模板id和商家信息,查询实例化小程序版本查询
func NewTaobaoMiniappTemplateQueryappRequest ¶
func NewTaobaoMiniappTemplateQueryappRequest() *TaobaoMiniappTemplateQueryappAPIRequest
NewTaobaoMiniappTemplateQueryappRequest 初始化TaobaoMiniappTemplateQueryappAPIRequest对象
func (TaobaoMiniappTemplateQueryappAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappTemplateQueryappAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappTemplateQueryappAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappTemplateQueryappAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappTemplateQueryappAPIRequest) GetPageNum ¶ added in v1.2.0
func (r TaobaoMiniappTemplateQueryappAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaoMiniappTemplateQueryappAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoMiniappTemplateQueryappAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoMiniappTemplateQueryappAPIRequest) GetTemplateId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateQueryappAPIRequest) GetTemplateId() string
GetTemplateId TemplateId Getter
func (*TaobaoMiniappTemplateQueryappAPIRequest) SetPageNum ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateQueryappAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 分页号,>=1
func (*TaobaoMiniappTemplateQueryappAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateQueryappAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页大小,最大50,按照小程序Id倒序
func (*TaobaoMiniappTemplateQueryappAPIRequest) SetTemplateId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateQueryappAPIRequest) SetTemplateId(_templateId string) error
SetTemplateId is TemplateId Setter 模板id
type TaobaoMiniappTemplateQueryappAPIResponse ¶
type TaobaoMiniappTemplateQueryappAPIResponse struct { model.CommonResponse TaobaoMiniappTemplateQueryappAPIResponseModel }
TaobaoMiniappTemplateQueryappAPIResponse 查询实例化应用版本 API返回值 taobao.miniapp.template.queryapp
根据模板id和商家信息,查询实例化小程序版本查询
type TaobaoMiniappTemplateQueryappAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoMiniappTemplateRollbackAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappTemplateRollbackAPIRequest 回滚实例化应用 API请求 taobao.miniapp.template.rollback
将实例化小程序回滚到指定版本
func NewTaobaoMiniappTemplateRollbackRequest ¶
func NewTaobaoMiniappTemplateRollbackRequest() *TaobaoMiniappTemplateRollbackAPIRequest
NewTaobaoMiniappTemplateRollbackRequest 初始化TaobaoMiniappTemplateRollbackAPIRequest对象
func (TaobaoMiniappTemplateRollbackAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappTemplateRollbackAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappTemplateRollbackAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappTemplateRollbackAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappTemplateRollbackAPIRequest) GetAppId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateRollbackAPIRequest) GetAppId() string
GetAppId AppId Getter
func (TaobaoMiniappTemplateRollbackAPIRequest) GetAppVersion ¶ added in v1.2.0
func (r TaobaoMiniappTemplateRollbackAPIRequest) GetAppVersion() string
GetAppVersion AppVersion Getter
func (TaobaoMiniappTemplateRollbackAPIRequest) GetClients ¶ added in v1.2.0
func (r TaobaoMiniappTemplateRollbackAPIRequest) GetClients() []string
GetClients Clients Getter
func (TaobaoMiniappTemplateRollbackAPIRequest) GetTemplateId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateRollbackAPIRequest) GetTemplateId() string
GetTemplateId TemplateId Getter
func (TaobaoMiniappTemplateRollbackAPIRequest) GetTemplateVersion ¶ added in v1.2.0
func (r TaobaoMiniappTemplateRollbackAPIRequest) GetTemplateVersion() string
GetTemplateVersion TemplateVersion Getter
func (*TaobaoMiniappTemplateRollbackAPIRequest) SetAppId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateRollbackAPIRequest) SetAppId(_appId string) error
SetAppId is AppId Setter 小程序app_id
func (*TaobaoMiniappTemplateRollbackAPIRequest) SetAppVersion ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateRollbackAPIRequest) SetAppVersion(_appVersion string) error
SetAppVersion is AppVersion Setter 回到到该app_version
func (*TaobaoMiniappTemplateRollbackAPIRequest) SetClients ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateRollbackAPIRequest) SetClients(_clients []string) error
SetClients is Clients Setter 要回滚的投放端,目前可投放: taobao,tmall
func (*TaobaoMiniappTemplateRollbackAPIRequest) SetTemplateId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateRollbackAPIRequest) SetTemplateId(_templateId string) error
SetTemplateId is TemplateId Setter 实例化小程序对应的模板id
func (*TaobaoMiniappTemplateRollbackAPIRequest) SetTemplateVersion ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateRollbackAPIRequest) SetTemplateVersion(_templateVersion string) error
SetTemplateVersion is TemplateVersion Setter 与app_version对应的模板版本
type TaobaoMiniappTemplateRollbackAPIResponse ¶
type TaobaoMiniappTemplateRollbackAPIResponse struct { model.CommonResponse TaobaoMiniappTemplateRollbackAPIResponseModel }
TaobaoMiniappTemplateRollbackAPIResponse 回滚实例化应用 API返回值 taobao.miniapp.template.rollback
将实例化小程序回滚到指定版本
type TaobaoMiniappTemplateRollbackAPIResponseModel ¶ added in v1.2.0
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.2.0
type TaobaoMiniappTemplateUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappTemplateUpdateAPIRequest (已废弃)更新实例化应用 API请求 taobao.miniapp.template.update
商家应用c端模板实例化小程序更新
func NewTaobaoMiniappTemplateUpdateRequest ¶
func NewTaobaoMiniappTemplateUpdateRequest() *TaobaoMiniappTemplateUpdateAPIRequest
NewTaobaoMiniappTemplateUpdateRequest 初始化TaobaoMiniappTemplateUpdateAPIRequest对象
func (TaobaoMiniappTemplateUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappTemplateUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappTemplateUpdateAPIRequest) GetClients ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateAPIRequest) GetClients() []string
GetClients Clients Getter
func (TaobaoMiniappTemplateUpdateAPIRequest) GetExtJson ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateAPIRequest) GetExtJson() string
GetExtJson ExtJson Getter
func (TaobaoMiniappTemplateUpdateAPIRequest) GetId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateAPIRequest) GetId() string
GetId Id Getter
func (TaobaoMiniappTemplateUpdateAPIRequest) GetTemplateId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateAPIRequest) GetTemplateId() string
GetTemplateId TemplateId Getter
func (TaobaoMiniappTemplateUpdateAPIRequest) GetTemplateVersion ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateAPIRequest) GetTemplateVersion() string
GetTemplateVersion TemplateVersion Getter
func (*TaobaoMiniappTemplateUpdateAPIRequest) SetClients ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateAPIRequest) SetClients(_clients []string) error
SetClients is Clients Setter 要更新的投放端,目前可投放: taobao(淘宝),tmall(天猫)
func (*TaobaoMiniappTemplateUpdateAPIRequest) SetExtJson ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateAPIRequest) SetExtJson(_extJson string) error
SetExtJson is ExtJson Setter schema信息,不填且 应用线上版本使用的templateId与传入的templateId不一致,则会报错; 一致,则复用线上版本的schema。
func (*TaobaoMiniappTemplateUpdateAPIRequest) SetId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateAPIRequest) SetId(_id string) error
SetId is Id Setter 应用id
func (*TaobaoMiniappTemplateUpdateAPIRequest) SetTemplateId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateAPIRequest) SetTemplateId(_templateId string) error
SetTemplateId is TemplateId Setter 模板id
func (*TaobaoMiniappTemplateUpdateAPIRequest) SetTemplateVersion ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateAPIRequest) SetTemplateVersion(_templateVersion string) error
SetTemplateVersion is TemplateVersion Setter 模板版本
type TaobaoMiniappTemplateUpdateAPIResponse ¶
type TaobaoMiniappTemplateUpdateAPIResponse struct { model.CommonResponse TaobaoMiniappTemplateUpdateAPIResponseModel }
TaobaoMiniappTemplateUpdateAPIResponse (已废弃)更新实例化应用 API返回值 taobao.miniapp.template.update
商家应用c端模板实例化小程序更新
type TaobaoMiniappTemplateUpdateAPIResponseModel ¶ added in v1.2.0
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 ¶
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.2.0
type TaobaoMiniappTemplateUpdateappAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappTemplateUpdateappAPIRequest 更新实例化应用 API请求 taobao.miniapp.template.updateapp
商家应用c端模板实例化小程序更新,生成新的版本,但不会自动上线新版本
func NewTaobaoMiniappTemplateUpdateappRequest ¶
func NewTaobaoMiniappTemplateUpdateappRequest() *TaobaoMiniappTemplateUpdateappAPIRequest
NewTaobaoMiniappTemplateUpdateappRequest 初始化TaobaoMiniappTemplateUpdateappAPIRequest对象
func (TaobaoMiniappTemplateUpdateappAPIRequest) GetAlias ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetAlias() string
GetAlias Alias Getter
func (TaobaoMiniappTemplateUpdateappAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappTemplateUpdateappAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappTemplateUpdateappAPIRequest) GetAppId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetAppId() string
GetAppId AppId Getter
func (TaobaoMiniappTemplateUpdateappAPIRequest) GetClients ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetClients() []string
GetClients Clients Getter
func (TaobaoMiniappTemplateUpdateappAPIRequest) GetDesc ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoMiniappTemplateUpdateappAPIRequest) GetExtJson ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetExtJson() string
GetExtJson ExtJson Getter
func (TaobaoMiniappTemplateUpdateappAPIRequest) GetIcon ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetIcon() string
GetIcon Icon Getter
func (TaobaoMiniappTemplateUpdateappAPIRequest) GetTemplateId ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetTemplateId() string
GetTemplateId TemplateId Getter
func (TaobaoMiniappTemplateUpdateappAPIRequest) GetTemplateVersion ¶ added in v1.2.0
func (r TaobaoMiniappTemplateUpdateappAPIRequest) GetTemplateVersion() string
GetTemplateVersion TemplateVersion Getter
func (*TaobaoMiniappTemplateUpdateappAPIRequest) SetAlias ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetAlias(_alias string) error
SetAlias is Alias Setter 简称更新,1年5次
func (*TaobaoMiniappTemplateUpdateappAPIRequest) SetAppId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetAppId(_appId string) error
SetAppId is AppId Setter 应用id,如果应用在对应端上已有的最新版本所使用的模板id,模板version和extjson,与本次入参一致,则认为不需要更新,返回已有的版本。
func (*TaobaoMiniappTemplateUpdateappAPIRequest) SetClients ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetClients(_clients []string) error
SetClients is Clients Setter 要更新的投放端,目前可投放: taobao(淘宝),tmall(天猫)
func (*TaobaoMiniappTemplateUpdateappAPIRequest) SetDesc ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 描述更新,1年5次
func (*TaobaoMiniappTemplateUpdateappAPIRequest) SetExtJson ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetExtJson(_extJson string) error
SetExtJson is ExtJson Setter 扩展信息。线上版本使用的template_id与传入的template_id一致时,可不填。
func (*TaobaoMiniappTemplateUpdateappAPIRequest) SetIcon ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetIcon(_icon string) error
SetIcon is Icon Setter Logo更新,1月5次
func (*TaobaoMiniappTemplateUpdateappAPIRequest) SetTemplateId ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetTemplateId(_templateId string) error
SetTemplateId is TemplateId Setter 模板id
func (*TaobaoMiniappTemplateUpdateappAPIRequest) SetTemplateVersion ¶ added in v1.2.0
func (r *TaobaoMiniappTemplateUpdateappAPIRequest) SetTemplateVersion(_templateVersion string) error
SetTemplateVersion is TemplateVersion Setter 模板版本
type TaobaoMiniappTemplateUpdateappAPIResponse ¶
type TaobaoMiniappTemplateUpdateappAPIResponse struct { model.CommonResponse TaobaoMiniappTemplateUpdateappAPIResponseModel }
TaobaoMiniappTemplateUpdateappAPIResponse 更新实例化应用 API返回值 taobao.miniapp.template.updateapp
商家应用c端模板实例化小程序更新,生成新的版本,但不会自动上线新版本
type TaobaoMiniappTemplateUpdateappAPIResponseModel ¶ added in v1.2.0
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 TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest ¶ added in v1.2.5
type TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest 小部件实例化版本查询 API请求 taobao.miniapp.widget.template.instance.query
小部件实例化版本查询
func NewTaobaoMiniappWidgetTemplateInstanceQueryRequest ¶ added in v1.2.5
func NewTaobaoMiniappWidgetTemplateInstanceQueryRequest() *TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest
NewTaobaoMiniappWidgetTemplateInstanceQueryRequest 初始化TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest对象
func (TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) GetParam0 ¶ added in v1.2.5
func (r TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) GetParam0() *MiniAppInstantiateAppOpenQuery
GetParam0 Param0 Getter
func (*TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) SetParam0 ¶ added in v1.2.5
func (r *TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest) SetParam0(_param0 *MiniAppInstantiateAppOpenQuery) error
SetParam0 is Param0 Setter 入参
type TaobaoMiniappWidgetTemplateInstanceQueryAPIResponse ¶ added in v1.2.5
type TaobaoMiniappWidgetTemplateInstanceQueryAPIResponse struct { model.CommonResponse TaobaoMiniappWidgetTemplateInstanceQueryAPIResponseModel }
TaobaoMiniappWidgetTemplateInstanceQueryAPIResponse 小部件实例化版本查询 API返回值 taobao.miniapp.widget.template.instance.query
小部件实例化版本查询
type TaobaoMiniappWidgetTemplateInstanceQueryAPIResponseModel ¶ added in v1.2.5
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.2.5
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.2.5
type TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest 小部件实例化版本更新 API请求 taobao.miniapp.widget.template.instance.update
小部件版本更新
func NewTaobaoMiniappWidgetTemplateInstanceUpdateRequest ¶ added in v1.2.5
func NewTaobaoMiniappWidgetTemplateInstanceUpdateRequest() *TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest
NewTaobaoMiniappWidgetTemplateInstanceUpdateRequest 初始化TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest对象
func (TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) GetParamMiniAppInstantiateTemplateAppUpdateRequest ¶ added in v1.2.5
func (r TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) GetParamMiniAppInstantiateTemplateAppUpdateRequest() *MiniAppInstantiateTemplateAppUpdateRequest
GetParamMiniAppInstantiateTemplateAppUpdateRequest ParamMiniAppInstantiateTemplateAppUpdateRequest Getter
func (*TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) SetParamMiniAppInstantiateTemplateAppUpdateRequest ¶ added in v1.2.5
func (r *TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest) SetParamMiniAppInstantiateTemplateAppUpdateRequest(_paramMiniAppInstantiateTemplateAppUpdateRequest *MiniAppInstantiateTemplateAppUpdateRequest) error
SetParamMiniAppInstantiateTemplateAppUpdateRequest is ParamMiniAppInstantiateTemplateAppUpdateRequest Setter 参数信息
type TaobaoMiniappWidgetTemplateInstanceUpdateAPIResponse ¶ added in v1.2.5
type TaobaoMiniappWidgetTemplateInstanceUpdateAPIResponse struct { model.CommonResponse TaobaoMiniappWidgetTemplateInstanceUpdateAPIResponseModel }
TaobaoMiniappWidgetTemplateInstanceUpdateAPIResponse 小部件实例化版本更新 API返回值 taobao.miniapp.widget.template.instance.update
小部件版本更新
type TaobaoMiniappWidgetTemplateInstanceUpdateAPIResponseModel ¶ added in v1.2.5
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.2.5
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.2.5
type TaobaoMiniappWidgetTemplateInstantiateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniappWidgetTemplateInstantiateAPIRequest 小部件实例化接口 API请求 taobao.miniapp.widget.template.instantiate
小部件实例化接口
func NewTaobaoMiniappWidgetTemplateInstantiateRequest ¶ added in v1.2.5
func NewTaobaoMiniappWidgetTemplateInstantiateRequest() *TaobaoMiniappWidgetTemplateInstantiateAPIRequest
NewTaobaoMiniappWidgetTemplateInstantiateRequest 初始化TaobaoMiniappWidgetTemplateInstantiateAPIRequest对象
func (TaobaoMiniappWidgetTemplateInstantiateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoMiniappWidgetTemplateInstantiateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniappWidgetTemplateInstantiateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoMiniappWidgetTemplateInstantiateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniappWidgetTemplateInstantiateAPIRequest) GetParamMiniAppInstantiateTemplateAppSimpleRequest ¶ added in v1.2.5
func (r TaobaoMiniappWidgetTemplateInstantiateAPIRequest) GetParamMiniAppInstantiateTemplateAppSimpleRequest() *MiniAppInstantiateTemplateAppSimpleRequest
GetParamMiniAppInstantiateTemplateAppSimpleRequest ParamMiniAppInstantiateTemplateAppSimpleRequest Getter
func (*TaobaoMiniappWidgetTemplateInstantiateAPIRequest) SetParamMiniAppInstantiateTemplateAppSimpleRequest ¶ added in v1.2.5
func (r *TaobaoMiniappWidgetTemplateInstantiateAPIRequest) SetParamMiniAppInstantiateTemplateAppSimpleRequest(_paramMiniAppInstantiateTemplateAppSimpleRequest *MiniAppInstantiateTemplateAppSimpleRequest) error
SetParamMiniAppInstantiateTemplateAppSimpleRequest is ParamMiniAppInstantiateTemplateAppSimpleRequest Setter 实例化数据
type TaobaoMiniappWidgetTemplateInstantiateAPIResponse ¶ added in v1.2.5
type TaobaoMiniappWidgetTemplateInstantiateAPIResponse struct { model.CommonResponse TaobaoMiniappWidgetTemplateInstantiateAPIResponseModel }
TaobaoMiniappWidgetTemplateInstantiateAPIResponse 小部件实例化接口 API返回值 taobao.miniapp.widget.template.instantiate
小部件实例化接口
type TaobaoMiniappWidgetTemplateInstantiateAPIResponseModel ¶ added in v1.2.5
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.2.5
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 结构体
type TaobaoMiniapppTemplateInstantiateAPIRequest ¶ added in v1.2.0
type TaobaoMiniapppTemplateInstantiateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoMiniapppTemplateInstantiateAPIRequest (已废弃)构建实例化应用 API请求 taobao.miniappp.template.instantiate
实例化saas化的小程序
func NewTaobaoMiniapppTemplateInstantiateRequest ¶
func NewTaobaoMiniapppTemplateInstantiateRequest() *TaobaoMiniapppTemplateInstantiateAPIRequest
NewTaobaoMiniapppTemplateInstantiateRequest 初始化TaobaoMiniapppTemplateInstantiateAPIRequest对象
func (TaobaoMiniapppTemplateInstantiateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoMiniapppTemplateInstantiateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoMiniapppTemplateInstantiateAPIRequest) GetClients ¶ added in v1.2.0
func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetClients() []string
GetClients Clients Getter
func (TaobaoMiniapppTemplateInstantiateAPIRequest) GetDescription ¶ added in v1.2.0
func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoMiniapppTemplateInstantiateAPIRequest) GetExtJson ¶ added in v1.2.0
func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetExtJson() string
GetExtJson ExtJson Getter
func (TaobaoMiniapppTemplateInstantiateAPIRequest) GetIcon ¶ added in v1.2.0
func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetIcon() string
GetIcon Icon Getter
func (TaobaoMiniapppTemplateInstantiateAPIRequest) GetName ¶ added in v1.2.0
func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoMiniapppTemplateInstantiateAPIRequest) GetTemplateId ¶ added in v1.2.0
func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetTemplateId() string
GetTemplateId TemplateId Getter
func (TaobaoMiniapppTemplateInstantiateAPIRequest) GetTemplateVersion ¶ added in v1.2.0
func (r TaobaoMiniapppTemplateInstantiateAPIRequest) GetTemplateVersion() string
GetTemplateVersion TemplateVersion Getter
func (*TaobaoMiniapppTemplateInstantiateAPIRequest) SetClients ¶ added in v1.2.0
func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetClients(_clients []string) error
SetClients is Clients Setter 投放端,目前可投放: taobao(淘宝),tmall(天猫)
func (*TaobaoMiniapppTemplateInstantiateAPIRequest) SetDescription ¶ added in v1.2.0
func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 描述长度(9~200)
func (*TaobaoMiniapppTemplateInstantiateAPIRequest) SetExtJson ¶ added in v1.2.0
func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetExtJson(_extJson string) error
SetExtJson is ExtJson Setter schemadata, json字符串
func (*TaobaoMiniapppTemplateInstantiateAPIRequest) SetIcon ¶ added in v1.2.0
func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetIcon(_icon string) error
SetIcon is Icon Setter 小程序icon
func (*TaobaoMiniapppTemplateInstantiateAPIRequest) SetName ¶ added in v1.2.0
func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetName(_name string) error
SetName is Name Setter 小程序名称
func (*TaobaoMiniapppTemplateInstantiateAPIRequest) SetTemplateId ¶ added in v1.2.0
func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetTemplateId(_templateId string) error
SetTemplateId is TemplateId Setter 模板id
func (*TaobaoMiniapppTemplateInstantiateAPIRequest) SetTemplateVersion ¶ added in v1.2.0
func (r *TaobaoMiniapppTemplateInstantiateAPIRequest) SetTemplateVersion(_templateVersion string) error
SetTemplateVersion is TemplateVersion Setter 模板版本
type TaobaoMiniapppTemplateInstantiateAPIResponse ¶
type TaobaoMiniapppTemplateInstantiateAPIResponse struct { model.CommonResponse TaobaoMiniapppTemplateInstantiateAPIResponseModel }
TaobaoMiniapppTemplateInstantiateAPIResponse (已废弃)构建实例化应用 API返回值 taobao.miniappp.template.instantiate
实例化saas化的小程序
type TaobaoMiniapppTemplateInstantiateAPIResponseModel ¶ added in v1.2.0
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 ¶
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 结构体
Source Files ¶
- DistributionOrderBindBaseDto.go
- DistributionOrderBindTargetEntityOpenRequestV2.go
- DistributionOrderBindTargetEntityOpenResultDto.go
- DistributionOrderOpenBizDto.go
- DistributionOrderQueryByIdOpenRequest.go
- DistributionOrderSaveOpenRequest.go
- MiniAppEntityDto.go
- MiniAppEntityTemplateDto.go
- MiniAppEntranceMaterialBizOpenDto.go
- MiniAppInstanceVersionDto.go
- MiniAppInstantiateAppOpenQuery.go
- MiniAppInstantiateTemplateAppSimpleRequest.go
- MiniAppInstantiateTemplateAppUpdateRequest.go
- MiniAppShortUrlDto.go
- MiniappInstanceAppAllVersionsDto.go
- MiniappInstanceAppOfflineDto.go
- MiniappInstanceAppOnlineDto.go
- TaobaoMiniappAppSellerConfigCompleteAPIRequest.go
- TaobaoMiniappAppSellerConfigCompleteAPIResponse.go
- TaobaoMiniappDistributionItemsBindAPIRequest.go
- TaobaoMiniappDistributionItemsBindAPIResponse.go
- TaobaoMiniappDistributionMaterialCreateAPIRequest.go
- TaobaoMiniappDistributionMaterialCreateAPIResponse.go
- TaobaoMiniappDistributionMaterialDeleteAPIRequest.go
- TaobaoMiniappDistributionMaterialDeleteAPIResponse.go
- TaobaoMiniappDistributionMaterialGetAPIRequest.go
- TaobaoMiniappDistributionMaterialGetAPIResponse.go
- TaobaoMiniappDistributionMaterialGetModel.go
- TaobaoMiniappDistributionMaterialUpdateAPIRequest.go
- TaobaoMiniappDistributionMaterialUpdateAPIResponse.go
- TaobaoMiniappDistributionOrderCreateAPIRequest.go
- TaobaoMiniappDistributionOrderCreateAPIResponse.go
- TaobaoMiniappDistributionOrderGetAPIRequest.go
- TaobaoMiniappDistributionOrderGetAPIResponse.go
- TaobaoMiniappDistributionOrderItemsAllBindAPIRequest.go
- TaobaoMiniappDistributionOrderItemsAllBindAPIResponse.go
- TaobaoMiniappDistributionOrderItemsBindAPIRequest.go
- TaobaoMiniappDistributionOrderItemsBindAPIResponse.go
- TaobaoMiniappDistributionOrderPrecreateAPIRequest.go
- TaobaoMiniappDistributionOrderPrecreateAPIResponse.go
- TaobaoMiniappShorturlCreateAPIRequest.go
- TaobaoMiniappShorturlCreateAPIResponse.go
- TaobaoMiniappShorturlCreateResult.go
- TaobaoMiniappTemplateInstantiateAPIRequest.go
- TaobaoMiniappTemplateInstantiateAPIResponse.go
- TaobaoMiniappTemplateOfflineappAPIRequest.go
- TaobaoMiniappTemplateOfflineappAPIResponse.go
- TaobaoMiniappTemplateOnlineappAPIRequest.go
- TaobaoMiniappTemplateOnlineappAPIResponse.go
- TaobaoMiniappTemplateQueryappAPIRequest.go
- TaobaoMiniappTemplateQueryappAPIResponse.go
- TaobaoMiniappTemplateRollbackAPIRequest.go
- TaobaoMiniappTemplateRollbackAPIResponse.go
- TaobaoMiniappTemplateUpdateAPIRequest.go
- TaobaoMiniappTemplateUpdateAPIResponse.go
- TaobaoMiniappTemplateUpdateResult.go
- TaobaoMiniappTemplateUpdateappAPIRequest.go
- TaobaoMiniappTemplateUpdateappAPIResponse.go
- TaobaoMiniappWidgetTemplateInstanceQueryAPIRequest.go
- TaobaoMiniappWidgetTemplateInstanceQueryAPIResponse.go
- TaobaoMiniappWidgetTemplateInstanceQueryResult.go
- TaobaoMiniappWidgetTemplateInstanceUpdateAPIRequest.go
- TaobaoMiniappWidgetTemplateInstanceUpdateAPIResponse.go
- TaobaoMiniappWidgetTemplateInstanceUpdateResult.go
- TaobaoMiniappWidgetTemplateInstantiateAPIRequest.go
- TaobaoMiniappWidgetTemplateInstantiateAPIResponse.go
- TaobaoMiniappWidgetTemplateInstantiateResult.go
- TaobaoMiniapppTemplateInstantiateAPIRequest.go
- TaobaoMiniapppTemplateInstantiateAPIResponse.go
- TaobaoMiniapppTemplateInstantiateResult.go
- doc.go