miniapp

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package miniapp 包含淘宝小程序API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AfterSaleFieldMetaRecord added in v1.2.9

type AfterSaleFieldMetaRecord struct {
	// 子结构
	Children []string `json:"children,omitempty" xml:"children>string,omitempty"`
	// 字段名称
	FieldName string `json:"field_name,omitempty" xml:"field_name,omitempty"`
	// 字段描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 组件类型
	ComponentType string `json:"component_type,omitempty" xml:"component_type,omitempty"`
	// 配置信息
	CustomConfig string `json:"custom_config,omitempty" xml:"custom_config,omitempty"`
}

AfterSaleFieldMetaRecord 结构体

type AfterSaleFieldMetaResponse added in v1.2.9

type AfterSaleFieldMetaResponse struct {
	//
	Record []AfterSaleFieldMetaRecord `json:"record,omitempty" xml:"record>after_sale_field_meta_record,omitempty"`
	// 返回结果条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

AfterSaleFieldMetaResponse 结构体

type AfterSaleGetWorkTableListRecord added in v1.2.9

type AfterSaleGetWorkTableListRecord struct {
	// 工作表id
	TableId string `json:"table_id,omitempty" xml:"table_id,omitempty"`
	// 工作表名称
	TableName string `json:"table_name,omitempty" xml:"table_name,omitempty"`
	// 工作表创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
}

AfterSaleGetWorkTableListRecord 结构体

type AfterSaleGetWorkTableListResponse added in v1.2.9

type AfterSaleGetWorkTableListResponse struct {
	// 调用结果
	Record []AfterSaleGetWorkTableListRecord `json:"record,omitempty" xml:"record>after_sale_get_work_table_list_record,omitempty"`
	// 返回结果数量
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

AfterSaleGetWorkTableListResponse 结构体

type AfterSaleTableSelectResponse added in v1.2.9

type AfterSaleTableSelectResponse struct {
	// 查询结果
	JsonRecord string `json:"json_record,omitempty" xml:"json_record,omitempty"`
	// 查询结果条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

AfterSaleTableSelectResponse 结构体

type AppChannelConfigDto added in v1.2.9

type AppChannelConfigDto struct {
	// 配置url
	ConfigUrl string `json:"config_url,omitempty" xml:"config_url,omitempty"`
	// 扩展参数
	ExtProperties string `json:"ext_properties,omitempty" xml:"ext_properties,omitempty"`
	// 渠道id
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 卡片描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 卡片标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 服务商简称
	IsvSimpleName string `json:"isv_simple_name,omitempty" xml:"isv_simple_name,omitempty"`
	// 对应服务市场code
	ArticleCode string `json:"article_code,omitempty" xml:"article_code,omitempty"`
	// 小程序id
	MiniappId int64 `json:"miniapp_id,omitempty" xml:"miniapp_id,omitempty"`
	// 状态是否有效
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

AppChannelConfigDto 结构体

type AppChannelQueryRequest added in v1.2.9

type AppChannelQueryRequest struct {
	// 渠道id
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 小程序id
	MiniappId int64 `json:"miniapp_id,omitempty" xml:"miniapp_id,omitempty"`
}

AppChannelQueryRequest 结构体

type Button added in v1.2.8

type Button struct {
	// 文案
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 跳转链接
	TargetUrl string `json:"target_url,omitempty" xml:"target_url,omitempty"`
}

Button 结构体

type Image added in v1.2.8

type Image struct {
	// 图片链接
	IconUrl string `json:"icon_url,omitempty" xml:"icon_url,omitempty"`
	// 宽度
	Width int64 `json:"width,omitempty" xml:"width,omitempty"`
	// 高度
	Height int64 `json:"height,omitempty" xml:"height,omitempty"`
}

Image 结构体

type MiniappResult added in v1.2.9

type MiniappResult struct {
	// model
	Model []AppChannelConfigDto `json:"model,omitempty" xml:"model>app_channel_config_dto,omitempty"`
	// 错误码
	ErrorType string `json:"error_type,omitempty" xml:"error_type,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrType int64 `json:"err_type,omitempty" xml:"err_type,omitempty"`
	// true or false
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
}

MiniappResult 结构体

type OrderDto added in v1.2.8

type OrderDto struct {
	// 订单ID
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

OrderDto 结构体

type SellerChannelConfigDto added in v1.2.9

type SellerChannelConfigDto struct {
	// 扩展属性
	ExtProperties string `json:"ext_properties,omitempty" xml:"ext_properties,omitempty"`
	// 渠道id:1-微信;2-抖音;3-今日头条;4-快手;5-百度;6-其他
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 节点小程序id
	MiniappId int64 `json:"miniapp_id,omitempty" xml:"miniapp_id,omitempty"`
	// 0表示未配置,1表示已配置
	ConfigStatus int64 `json:"config_status,omitempty" xml:"config_status,omitempty"`
	// 是否添加到私域工作。0表示未添加,1表示添加
	AddStatus int64 `json:"add_status,omitempty" xml:"add_status,omitempty"`
}

SellerChannelConfigDto 结构体

type SellerChannelQueryRequest added in v1.2.9

type SellerChannelQueryRequest struct {
	// 渠道id
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
}

SellerChannelQueryRequest 结构体

type SellerDeliveryTaskDto added in v1.2.9

type SellerDeliveryTaskDto struct {
	// 扩展参数
	ExtProperties string `json:"ext_properties,omitempty" xml:"ext_properties,omitempty"`
	// 渠道id
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 创建渠道。创建渠道。"PRIVATE_DOMAIN", "私域工作台";"ISV_SCRM", "服务商SCRM";"OTHER", "其他"
	Source string `json:"source,omitempty" xml:"source,omitempty"`
	// 子渠道场景,比如新品发布、自定义种草
	SubChannel string `json:"sub_channel,omitempty" xml:"sub_channel,omitempty"`
	// 任务名称
	TaskName string `json:"task_name,omitempty" xml:"task_name,omitempty"`
	// 服务商的out id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 任务状态。"INIT", "未执行"; "TEMP", "草稿态"; "SENDING", "执行中"; "DONE", "已执行"; "CANCEL", "已终止"
	TaskStatus string `json:"task_status,omitempty" xml:"task_status,omitempty"`
	// 策略id
	StrategyId int64 `json:"strategy_id,omitempty" xml:"strategy_id,omitempty"`
}

SellerDeliveryTaskDto 结构体

type TaobaoCoinAwardDeliveryAPIRequest added in v1.2.8

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

TaobaoCoinAwardDeliveryAPIRequest 淘金币奖励投放 API请求 taobao.coin.award.delivery

淘金币奖励投放

func NewTaobaoCoinAwardDeliveryRequest added in v1.2.8

func NewTaobaoCoinAwardDeliveryRequest() *TaobaoCoinAwardDeliveryAPIRequest

NewTaobaoCoinAwardDeliveryRequest 初始化TaobaoCoinAwardDeliveryAPIRequest对象

func (TaobaoCoinAwardDeliveryAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoCoinAwardDeliveryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoCoinAwardDeliveryAPIRequest) GetApiParams added in v1.2.8

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoCoinAwardDeliveryAPIRequest) GetOrderDto added in v1.2.8

GetOrderDto OrderDto Getter

func (TaobaoCoinAwardDeliveryAPIRequest) GetParam0 added in v1.2.8

GetParam0 Param0 Getter

func (TaobaoCoinAwardDeliveryAPIRequest) GetParam1 added in v1.2.8

GetParam1 Param1 Getter

func (TaobaoCoinAwardDeliveryAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoCoinAwardDeliveryAPIRequest) SetOrderDto added in v1.2.8

func (r *TaobaoCoinAwardDeliveryAPIRequest) SetOrderDto(_orderDto *OrderDto) error

SetOrderDto is OrderDto Setter 订单信息

func (*TaobaoCoinAwardDeliveryAPIRequest) SetParam0 added in v1.2.8

func (r *TaobaoCoinAwardDeliveryAPIRequest) SetParam0(_param0 string) error

SetParam0 is Param0 Setter openid

func (*TaobaoCoinAwardDeliveryAPIRequest) SetParam1 added in v1.2.8

func (r *TaobaoCoinAwardDeliveryAPIRequest) SetParam1(_param1 int64) error

SetParam1 is Param1 Setter 渠道ID

type TaobaoCoinAwardDeliveryAPIResponse added in v1.2.8

type TaobaoCoinAwardDeliveryAPIResponse struct {
	model.CommonResponse
	TaobaoCoinAwardDeliveryAPIResponseModel
}

TaobaoCoinAwardDeliveryAPIResponse 淘金币奖励投放 API返回值 taobao.coin.award.delivery

淘金币奖励投放

type TaobaoCoinAwardDeliveryAPIResponseModel added in v1.2.8

type TaobaoCoinAwardDeliveryAPIResponseModel struct {
	XMLName xml.Name `xml:"coin_award_delivery_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 金币权益素材
	Result *TaobaoCoinAwardDeliveryResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoCoinAwardDeliveryAPIResponseModel is 淘金币奖励投放 成功返回结果

type TaobaoCoinAwardDeliveryResult added in v1.2.8

type TaobaoCoinAwardDeliveryResult struct {
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 副标题
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 按钮素材
	Button *Button `json:"button,omitempty" xml:"button,omitempty"`
	// 图片素材
	Image *Image `json:"image,omitempty" xml:"image,omitempty"`
}

TaobaoCoinAwardDeliveryResult 结构体

type TaobaoMiniappCloudFunctionInvokeAPIRequest added in v1.2.0

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

TaobaoMiniappCloudFunctionInvokeAPIRequest 外部触发云函数 API请求 taobao.miniapp.cloud.function.invoke

用户isv从外部触发聚石塔云函数的执行。

func NewTaobaoMiniappCloudFunctionInvokeRequest

func NewTaobaoMiniappCloudFunctionInvokeRequest() *TaobaoMiniappCloudFunctionInvokeAPIRequest

NewTaobaoMiniappCloudFunctionInvokeRequest 初始化TaobaoMiniappCloudFunctionInvokeAPIRequest对象

func (TaobaoMiniappCloudFunctionInvokeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappCloudFunctionInvokeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMiniappCloudFunctionInvokeAPIRequest) GetData added in v1.2.0

GetData Data Getter

func (TaobaoMiniappCloudFunctionInvokeAPIRequest) GetEnv added in v1.2.0

GetEnv Env Getter

func (TaobaoMiniappCloudFunctionInvokeAPIRequest) GetExts added in v1.2.0

GetExts Exts Getter

func (TaobaoMiniappCloudFunctionInvokeAPIRequest) GetHandler added in v1.2.0

GetHandler Handler Getter

func (TaobaoMiniappCloudFunctionInvokeAPIRequest) GetName added in v1.2.0

GetName Name Getter

func (TaobaoMiniappCloudFunctionInvokeAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoMiniappCloudFunctionInvokeAPIRequest) SetData added in v1.2.0

SetData is Data Setter 调用云函数时的传参(JSON格式)

func (*TaobaoMiniappCloudFunctionInvokeAPIRequest) SetEnv added in v1.2.0

SetEnv is Env Setter 云环境

func (*TaobaoMiniappCloudFunctionInvokeAPIRequest) SetExts added in v1.2.0

SetExts is Exts Setter 扩展协议参数

func (*TaobaoMiniappCloudFunctionInvokeAPIRequest) SetHandler added in v1.2.0

SetHandler is Handler Setter 指定云函数的handler

func (*TaobaoMiniappCloudFunctionInvokeAPIRequest) SetName added in v1.2.0

SetName is Name Setter 云函数名称

type TaobaoMiniappCloudFunctionInvokeAPIResponse

type TaobaoMiniappCloudFunctionInvokeAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappCloudFunctionInvokeAPIResponseModel
}

TaobaoMiniappCloudFunctionInvokeAPIResponse 外部触发云函数 API返回值 taobao.miniapp.cloud.function.invoke

用户isv从外部触发聚石塔云函数的执行。

type TaobaoMiniappCloudFunctionInvokeAPIResponseModel added in v1.2.0

type TaobaoMiniappCloudFunctionInvokeAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_cloud_function_invoke_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回参数,长度限制8个字符,超出部分会被截断
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoMiniappCloudFunctionInvokeAPIResponseModel is 外部触发云函数 成功返回结果

type TaobaoMiniappCloudStoreRelationAddAPIRequest added in v1.2.0

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

TaobaoMiniappCloudStoreRelationAddAPIRequest 云存储添加 API请求 taobao.miniapp.cloud.store.relation.add

用于用户上传文件之后回写云存储的关联关系

func NewTaobaoMiniappCloudStoreRelationAddRequest

func NewTaobaoMiniappCloudStoreRelationAddRequest() *TaobaoMiniappCloudStoreRelationAddAPIRequest

NewTaobaoMiniappCloudStoreRelationAddRequest 初始化TaobaoMiniappCloudStoreRelationAddAPIRequest对象

func (TaobaoMiniappCloudStoreRelationAddAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappCloudStoreRelationAddAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMiniappCloudStoreRelationAddAPIRequest) GetCloudPath added in v1.2.0

GetCloudPath CloudPath Getter

func (TaobaoMiniappCloudStoreRelationAddAPIRequest) GetEnv added in v1.2.0

GetEnv Env Getter

func (TaobaoMiniappCloudStoreRelationAddAPIRequest) GetFileType added in v1.2.0

GetFileType FileType Getter

func (TaobaoMiniappCloudStoreRelationAddAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoMiniappCloudStoreRelationAddAPIRequest) GetSpecialId added in v1.2.0

GetSpecialId SpecialId Getter

func (TaobaoMiniappCloudStoreRelationAddAPIRequest) GetUrl added in v1.2.0

GetUrl Url Getter

func (*TaobaoMiniappCloudStoreRelationAddAPIRequest) SetCloudPath added in v1.2.0

func (r *TaobaoMiniappCloudStoreRelationAddAPIRequest) SetCloudPath(_cloudPath string) error

SetCloudPath is CloudPath Setter 文件路径

func (*TaobaoMiniappCloudStoreRelationAddAPIRequest) SetEnv added in v1.2.0

SetEnv is Env Setter 环境 test/online

func (*TaobaoMiniappCloudStoreRelationAddAPIRequest) SetFileType added in v1.2.0

func (r *TaobaoMiniappCloudStoreRelationAddAPIRequest) SetFileType(_fileType string) error

SetFileType is FileType Setter 文件类型 image/audio/video/font/other

func (*TaobaoMiniappCloudStoreRelationAddAPIRequest) SetSpecialId added in v1.2.0

func (r *TaobaoMiniappCloudStoreRelationAddAPIRequest) SetSpecialId(_specialId string) error

SetSpecialId is SpecialId Setter 上传平台返回的文件唯一ID

func (*TaobaoMiniappCloudStoreRelationAddAPIRequest) SetUrl added in v1.2.0

SetUrl is Url Setter 上传平台返回的文件url,部分文件类型无固定url,非必填

type TaobaoMiniappCloudStoreRelationAddAPIResponse

type TaobaoMiniappCloudStoreRelationAddAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappCloudStoreRelationAddAPIResponseModel
}

TaobaoMiniappCloudStoreRelationAddAPIResponse 云存储添加 API返回值 taobao.miniapp.cloud.store.relation.add

用于用户上传文件之后回写云存储的关联关系

type TaobaoMiniappCloudStoreRelationAddAPIResponseModel added in v1.2.0

type TaobaoMiniappCloudStoreRelationAddAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_cloud_store_relation_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 文件真实url
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 云存储文件唯一ID
	FileId string `json:"file_id,omitempty" xml:"file_id,omitempty"`
}

TaobaoMiniappCloudStoreRelationAddAPIResponseModel is 云存储添加 成功返回结果

type TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIRequest added in v1.2.9

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

TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIRequest ISV查询应用的渠道信息 API请求 taobao.miniapp.ext.delivery.app.channel.configs.query

ISV查询应用的渠道信息

func NewTaobaoMiniappExtDeliveryAppChannelConfigsQueryRequest added in v1.2.9

func NewTaobaoMiniappExtDeliveryAppChannelConfigsQueryRequest() *TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIRequest

NewTaobaoMiniappExtDeliveryAppChannelConfigsQueryRequest 初始化TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIRequest对象

func (TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIRequest) GetReq added in v1.2.9

GetReq Req Getter

func (*TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIRequest) SetReq added in v1.2.9

SetReq is Req Setter 入参

type TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIResponse added in v1.2.9

type TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIResponseModel
}

TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIResponse ISV查询应用的渠道信息 API返回值 taobao.miniapp.ext.delivery.app.channel.configs.query

ISV查询应用的渠道信息

type TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIResponseModel added in v1.2.9

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

TaobaoMiniappExtDeliveryAppChannelConfigsQueryAPIResponseModel is ISV查询应用的渠道信息 成功返回结果

type TaobaoMiniappExtDeliveryAppChannelSyncAPIRequest added in v1.2.9

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

TaobaoMiniappExtDeliveryAppChannelSyncAPIRequest ISV写入应用的渠道信息 API请求 taobao.miniapp.ext.delivery.app.channel.sync

ISV写入应用的渠道信息

func NewTaobaoMiniappExtDeliveryAppChannelSyncRequest added in v1.2.9

func NewTaobaoMiniappExtDeliveryAppChannelSyncRequest() *TaobaoMiniappExtDeliveryAppChannelSyncAPIRequest

NewTaobaoMiniappExtDeliveryAppChannelSyncRequest 初始化TaobaoMiniappExtDeliveryAppChannelSyncAPIRequest对象

func (TaobaoMiniappExtDeliveryAppChannelSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappExtDeliveryAppChannelSyncAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMiniappExtDeliveryAppChannelSyncAPIRequest) GetAppChannelConfigDto added in v1.2.9

GetAppChannelConfigDto AppChannelConfigDto Getter

func (TaobaoMiniappExtDeliveryAppChannelSyncAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoMiniappExtDeliveryAppChannelSyncAPIRequest) SetAppChannelConfigDto added in v1.2.9

func (r *TaobaoMiniappExtDeliveryAppChannelSyncAPIRequest) SetAppChannelConfigDto(_appChannelConfigDto *AppChannelConfigDto) error

SetAppChannelConfigDto is AppChannelConfigDto Setter body

type TaobaoMiniappExtDeliveryAppChannelSyncAPIResponse added in v1.2.9

type TaobaoMiniappExtDeliveryAppChannelSyncAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappExtDeliveryAppChannelSyncAPIResponseModel
}

TaobaoMiniappExtDeliveryAppChannelSyncAPIResponse ISV写入应用的渠道信息 API返回值 taobao.miniapp.ext.delivery.app.channel.sync

ISV写入应用的渠道信息

type TaobaoMiniappExtDeliveryAppChannelSyncAPIResponseModel added in v1.2.9

type TaobaoMiniappExtDeliveryAppChannelSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_ext_delivery_app_channel_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorType int64 `json:"error_type,omitempty" xml:"error_type,omitempty"`
	// configId
	Model int64 `json:"model,omitempty" xml:"model,omitempty"`
	// true or false
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
}

TaobaoMiniappExtDeliveryAppChannelSyncAPIResponseModel is ISV写入应用的渠道信息 成功返回结果

type TaobaoMiniappExtDeliverySellChannelConfigSyncAPIRequest added in v1.2.9

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

TaobaoMiniappExtDeliverySellChannelConfigSyncAPIRequest 写入商家配置信息 API请求 taobao.miniapp.ext.delivery.sell.channel.config.sync

写入商家配置信息

func NewTaobaoMiniappExtDeliverySellChannelConfigSyncRequest added in v1.2.9

func NewTaobaoMiniappExtDeliverySellChannelConfigSyncRequest() *TaobaoMiniappExtDeliverySellChannelConfigSyncAPIRequest

NewTaobaoMiniappExtDeliverySellChannelConfigSyncRequest 初始化TaobaoMiniappExtDeliverySellChannelConfigSyncAPIRequest对象

func (TaobaoMiniappExtDeliverySellChannelConfigSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappExtDeliverySellChannelConfigSyncAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMiniappExtDeliverySellChannelConfigSyncAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoMiniappExtDeliverySellChannelConfigSyncAPIRequest) GetSellerChannelConfig added in v1.2.9

GetSellerChannelConfig SellerChannelConfig Getter

func (*TaobaoMiniappExtDeliverySellChannelConfigSyncAPIRequest) SetSellerChannelConfig added in v1.2.9

func (r *TaobaoMiniappExtDeliverySellChannelConfigSyncAPIRequest) SetSellerChannelConfig(_sellerChannelConfig *SellerChannelConfigDto) error

SetSellerChannelConfig is SellerChannelConfig Setter 入参

type TaobaoMiniappExtDeliverySellChannelConfigSyncAPIResponse added in v1.2.9

type TaobaoMiniappExtDeliverySellChannelConfigSyncAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappExtDeliverySellChannelConfigSyncAPIResponseModel
}

TaobaoMiniappExtDeliverySellChannelConfigSyncAPIResponse 写入商家配置信息 API返回值 taobao.miniapp.ext.delivery.sell.channel.config.sync

写入商家配置信息

type TaobaoMiniappExtDeliverySellChannelConfigSyncAPIResponseModel added in v1.2.9

type TaobaoMiniappExtDeliverySellChannelConfigSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_ext_delivery_sell_channel_config_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorType int64 `json:"error_type,omitempty" xml:"error_type,omitempty"`
	// true or false
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
	// 操作结果
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoMiniappExtDeliverySellChannelConfigSyncAPIResponseModel is 写入商家配置信息 成功返回结果

type TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIRequest added in v1.2.9

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

TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIRequest 查询商家配置的信息 API请求 taobao.miniapp.ext.delivery.sell.channel.configs.query

查询商家配置的信息

func NewTaobaoMiniappExtDeliverySellChannelConfigsQueryRequest added in v1.2.9

func NewTaobaoMiniappExtDeliverySellChannelConfigsQueryRequest() *TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIRequest

NewTaobaoMiniappExtDeliverySellChannelConfigsQueryRequest 初始化TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIRequest对象

func (TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIRequest) GetReq added in v1.2.9

GetReq Req Getter

func (*TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIRequest) SetReq added in v1.2.9

SetReq is Req Setter 入参

type TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIResponse added in v1.2.9

type TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIResponseModel
}

TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIResponse 查询商家配置的信息 API返回值 taobao.miniapp.ext.delivery.sell.channel.configs.query

查询商家配置的信息

type TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIResponseModel added in v1.2.9

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

TaobaoMiniappExtDeliverySellChannelConfigsQueryAPIResponseModel is 查询商家配置的信息 成功返回结果

type TaobaoMiniappExtDeliverySellerTaskSyncAPIRequest added in v1.2.9

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

TaobaoMiniappExtDeliverySellerTaskSyncAPIRequest 同步外投任务 API请求 taobao.miniapp.ext.delivery.seller.task.sync

同步外投任务

func NewTaobaoMiniappExtDeliverySellerTaskSyncRequest added in v1.2.9

func NewTaobaoMiniappExtDeliverySellerTaskSyncRequest() *TaobaoMiniappExtDeliverySellerTaskSyncAPIRequest

NewTaobaoMiniappExtDeliverySellerTaskSyncRequest 初始化TaobaoMiniappExtDeliverySellerTaskSyncAPIRequest对象

func (TaobaoMiniappExtDeliverySellerTaskSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMiniappExtDeliverySellerTaskSyncAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMiniappExtDeliverySellerTaskSyncAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoMiniappExtDeliverySellerTaskSyncAPIRequest) GetSellerDeliveryTask added in v1.2.9

GetSellerDeliveryTask SellerDeliveryTask Getter

func (*TaobaoMiniappExtDeliverySellerTaskSyncAPIRequest) SetSellerDeliveryTask added in v1.2.9

func (r *TaobaoMiniappExtDeliverySellerTaskSyncAPIRequest) SetSellerDeliveryTask(_sellerDeliveryTask *SellerDeliveryTaskDto) error

SetSellerDeliveryTask is SellerDeliveryTask Setter 入参

type TaobaoMiniappExtDeliverySellerTaskSyncAPIResponse added in v1.2.9

type TaobaoMiniappExtDeliverySellerTaskSyncAPIResponse struct {
	model.CommonResponse
	TaobaoMiniappExtDeliverySellerTaskSyncAPIResponseModel
}

TaobaoMiniappExtDeliverySellerTaskSyncAPIResponse 同步外投任务 API返回值 taobao.miniapp.ext.delivery.seller.task.sync

同步外投任务

type TaobaoMiniappExtDeliverySellerTaskSyncAPIResponseModel added in v1.2.9

type TaobaoMiniappExtDeliverySellerTaskSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"miniapp_ext_delivery_seller_task_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorType int64 `json:"error_type,omitempty" xml:"error_type,omitempty"`
	// 任务id
	Model int64 `json:"model,omitempty" xml:"model,omitempty"`
	// true or false
	Successful bool `json:"successful,omitempty" xml:"successful,omitempty"`
}

TaobaoMiniappExtDeliverySellerTaskSyncAPIResponseModel is 同步外投任务 成功返回结果

type TaobaoSmartappSmartformDataWriteAPIRequest added in v1.2.5

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

TaobaoSmartappSmartformDataWriteAPIRequest 智能表单外部更新数据 API请求 taobao.smartapp.smartform.data.write

智能表单外部更新数据

func NewTaobaoSmartappSmartformDataWriteRequest added in v1.2.5

func NewTaobaoSmartappSmartformDataWriteRequest() *TaobaoSmartappSmartformDataWriteAPIRequest

NewTaobaoSmartappSmartformDataWriteRequest 初始化TaobaoSmartappSmartformDataWriteAPIRequest对象

func (TaobaoSmartappSmartformDataWriteAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSmartappSmartformDataWriteAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSmartappSmartformDataWriteAPIRequest) GetFormData added in v1.2.5

GetFormData FormData Getter

func (TaobaoSmartappSmartformDataWriteAPIRequest) GetFormIdentifier added in v1.2.5

func (r TaobaoSmartappSmartformDataWriteAPIRequest) GetFormIdentifier() string

GetFormIdentifier FormIdentifier Getter

func (TaobaoSmartappSmartformDataWriteAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoSmartappSmartformDataWriteAPIRequest) GetRecordId added in v1.2.5

GetRecordId RecordId Getter

func (*TaobaoSmartappSmartformDataWriteAPIRequest) SetFormData added in v1.2.5

func (r *TaobaoSmartappSmartformDataWriteAPIRequest) SetFormData(_formData string) error

SetFormData is FormData Setter 需变更的表单数据

func (*TaobaoSmartappSmartformDataWriteAPIRequest) SetFormIdentifier added in v1.2.5

func (r *TaobaoSmartappSmartformDataWriteAPIRequest) SetFormIdentifier(_formIdentifier string) error

SetFormIdentifier is FormIdentifier Setter 智能表单唯一标识

func (*TaobaoSmartappSmartformDataWriteAPIRequest) SetRecordId added in v1.2.5

func (r *TaobaoSmartappSmartformDataWriteAPIRequest) SetRecordId(_recordId string) error

SetRecordId is RecordId Setter 需变更的数据ID,不填表示插入

type TaobaoSmartappSmartformDataWriteAPIResponse added in v1.2.5

type TaobaoSmartappSmartformDataWriteAPIResponse struct {
	model.CommonResponse
	TaobaoSmartappSmartformDataWriteAPIResponseModel
}

TaobaoSmartappSmartformDataWriteAPIResponse 智能表单外部更新数据 API返回值 taobao.smartapp.smartform.data.write

智能表单外部更新数据

type TaobaoSmartappSmartformDataWriteAPIResponseModel added in v1.2.5

type TaobaoSmartappSmartformDataWriteAPIResponseModel struct {
	XMLName xml.Name `xml:"smartapp_smartform_data_write_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 操作数据ID
	RecordId string `json:"record_id,omitempty" xml:"record_id,omitempty"`
}

TaobaoSmartappSmartformDataWriteAPIResponseModel is 智能表单外部更新数据 成功返回结果

type TaobaoSmartappTableAddAPIRequest added in v1.2.9

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

TaobaoSmartappTableAddAPIRequest 智能应用服务登记工作表数据新增 API请求 taobao.smartapp.table.add

智能应用服务登记工作表数据新增

func NewTaobaoSmartappTableAddRequest added in v1.2.9

func NewTaobaoSmartappTableAddRequest() *TaobaoSmartappTableAddAPIRequest

NewTaobaoSmartappTableAddRequest 初始化TaobaoSmartappTableAddAPIRequest对象

func (TaobaoSmartappTableAddAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoSmartappTableAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSmartappTableAddAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSmartappTableAddAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoSmartappTableAddAPIRequest) GetRecord added in v1.2.9

GetRecord Record Getter

func (TaobaoSmartappTableAddAPIRequest) GetTableId added in v1.2.9

GetTableId TableId Getter

func (*TaobaoSmartappTableAddAPIRequest) SetRecord added in v1.2.9

func (r *TaobaoSmartappTableAddAPIRequest) SetRecord(_record string) error

SetRecord is Record Setter 新增记录内容格式为JSON,新增仅支持单条新增,各组件新增输入格式详见文档

func (*TaobaoSmartappTableAddAPIRequest) SetTableId added in v1.2.9

func (r *TaobaoSmartappTableAddAPIRequest) SetTableId(_tableId string) error

SetTableId is TableId Setter 待插入表id

type TaobaoSmartappTableAddAPIResponse added in v1.2.9

type TaobaoSmartappTableAddAPIResponse struct {
	model.CommonResponse
	TaobaoSmartappTableAddAPIResponseModel
}

TaobaoSmartappTableAddAPIResponse 智能应用服务登记工作表数据新增 API返回值 taobao.smartapp.table.add

智能应用服务登记工作表数据新增

type TaobaoSmartappTableAddAPIResponseModel added in v1.2.9

type TaobaoSmartappTableAddAPIResponseModel struct {
	XMLName xml.Name `xml:"smartapp_table_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 单条新增记录ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 错误提示
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 调用结果
	BusinessSuccess bool `json:"business_success,omitempty" xml:"business_success,omitempty"`
}

TaobaoSmartappTableAddAPIResponseModel is 智能应用服务登记工作表数据新增 成功返回结果

type TaobaoSmartappTableFulldataGetAPIRequest added in v1.2.9

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

TaobaoSmartappTableFulldataGetAPIRequest 智能应用工作表地址查询 API请求 taobao.smartapp.table.fulldata.get

智能应用工作表地址查询

func NewTaobaoSmartappTableFulldataGetRequest added in v1.2.9

func NewTaobaoSmartappTableFulldataGetRequest() *TaobaoSmartappTableFulldataGetAPIRequest

NewTaobaoSmartappTableFulldataGetRequest 初始化TaobaoSmartappTableFulldataGetAPIRequest对象

func (TaobaoSmartappTableFulldataGetAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoSmartappTableFulldataGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSmartappTableFulldataGetAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSmartappTableFulldataGetAPIRequest) GetId added in v1.2.9

GetId Id Getter

func (TaobaoSmartappTableFulldataGetAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoSmartappTableFulldataGetAPIRequest) GetTableId added in v1.2.9

GetTableId TableId Getter

func (*TaobaoSmartappTableFulldataGetAPIRequest) SetId added in v1.2.9

SetId is Id Setter 数据主键ID

func (*TaobaoSmartappTableFulldataGetAPIRequest) SetTableId added in v1.2.9

func (r *TaobaoSmartappTableFulldataGetAPIRequest) SetTableId(_tableId string) error

SetTableId is TableId Setter 数据空间表名

type TaobaoSmartappTableFulldataGetAPIResponse added in v1.2.9

type TaobaoSmartappTableFulldataGetAPIResponse struct {
	model.CommonResponse
	TaobaoSmartappTableFulldataGetAPIResponseModel
}

TaobaoSmartappTableFulldataGetAPIResponse 智能应用工作表地址查询 API返回值 taobao.smartapp.table.fulldata.get

智能应用工作表地址查询

type TaobaoSmartappTableFulldataGetAPIResponseModel added in v1.2.9

type TaobaoSmartappTableFulldataGetAPIResponseModel struct {
	XMLName xml.Name `xml:"smartapp_table_fulldata_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误提示
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 查询结果
	Result *AfterSaleTableSelectResponse `json:"result,omitempty" xml:"result,omitempty"`
	// 调用结果
	BusinessSuccess bool `json:"business_success,omitempty" xml:"business_success,omitempty"`
}

TaobaoSmartappTableFulldataGetAPIResponseModel is 智能应用工作表地址查询 成功返回结果

type TaobaoSmartappTableGetAPIRequest added in v1.2.9

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

TaobaoSmartappTableGetAPIRequest 智能应用服务登记工作表数据查询 API请求 taobao.smartapp.table.get

智能应用服务登记工作表数据查询

func NewTaobaoSmartappTableGetRequest added in v1.2.9

func NewTaobaoSmartappTableGetRequest() *TaobaoSmartappTableGetAPIRequest

NewTaobaoSmartappTableGetRequest 初始化TaobaoSmartappTableGetAPIRequest对象

func (TaobaoSmartappTableGetAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoSmartappTableGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSmartappTableGetAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSmartappTableGetAPIRequest) GetEndCreatedDate added in v1.2.9

func (r TaobaoSmartappTableGetAPIRequest) GetEndCreatedDate() string

GetEndCreatedDate EndCreatedDate Getter

func (TaobaoSmartappTableGetAPIRequest) GetEndModifiedDate added in v1.2.9

func (r TaobaoSmartappTableGetAPIRequest) GetEndModifiedDate() string

GetEndModifiedDate EndModifiedDate Getter

func (TaobaoSmartappTableGetAPIRequest) GetPageIndex added in v1.2.9

func (r TaobaoSmartappTableGetAPIRequest) GetPageIndex() int64

GetPageIndex PageIndex Getter

func (TaobaoSmartappTableGetAPIRequest) GetPageSize added in v1.2.9

func (r TaobaoSmartappTableGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoSmartappTableGetAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoSmartappTableGetAPIRequest) GetRecordId added in v1.2.9

func (r TaobaoSmartappTableGetAPIRequest) GetRecordId() string

GetRecordId RecordId Getter

func (TaobaoSmartappTableGetAPIRequest) GetStartCreatedDate added in v1.2.9

func (r TaobaoSmartappTableGetAPIRequest) GetStartCreatedDate() string

GetStartCreatedDate StartCreatedDate Getter

func (TaobaoSmartappTableGetAPIRequest) GetStartModifiedDate added in v1.2.9

func (r TaobaoSmartappTableGetAPIRequest) GetStartModifiedDate() string

GetStartModifiedDate StartModifiedDate Getter

func (TaobaoSmartappTableGetAPIRequest) GetTableId added in v1.2.9

GetTableId TableId Getter

func (*TaobaoSmartappTableGetAPIRequest) SetEndCreatedDate added in v1.2.9

func (r *TaobaoSmartappTableGetAPIRequest) SetEndCreatedDate(_endCreatedDate string) error

SetEndCreatedDate is EndCreatedDate Setter 查询创建日期的终止时间

func (*TaobaoSmartappTableGetAPIRequest) SetEndModifiedDate added in v1.2.9

func (r *TaobaoSmartappTableGetAPIRequest) SetEndModifiedDate(_endModifiedDate string) error

SetEndModifiedDate is EndModifiedDate Setter 查询修改日期的终止时间

func (*TaobaoSmartappTableGetAPIRequest) SetPageIndex added in v1.2.9

func (r *TaobaoSmartappTableGetAPIRequest) SetPageIndex(_pageIndex int64) error

SetPageIndex is PageIndex Setter 页面索引,若不传入默认为1

func (*TaobaoSmartappTableGetAPIRequest) SetPageSize added in v1.2.9

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

SetPageSize is PageSize Setter 页面容量,若不传入默认为200

func (*TaobaoSmartappTableGetAPIRequest) SetRecordId added in v1.2.9

func (r *TaobaoSmartappTableGetAPIRequest) SetRecordId(_recordId string) error

SetRecordId is RecordId Setter 数据主键ID

func (*TaobaoSmartappTableGetAPIRequest) SetStartCreatedDate added in v1.2.9

func (r *TaobaoSmartappTableGetAPIRequest) SetStartCreatedDate(_startCreatedDate string) error

SetStartCreatedDate is StartCreatedDate Setter 查询创建日期的起始时间,若“创建 起始时间与结束时间”与“修改 起始时间与结束时间”两组数据均传入,仅筛选创建时间

func (*TaobaoSmartappTableGetAPIRequest) SetStartModifiedDate added in v1.2.9

func (r *TaobaoSmartappTableGetAPIRequest) SetStartModifiedDate(_startModifiedDate string) error

SetStartModifiedDate is StartModifiedDate Setter 查询修改日期的起始时间,仅当“创建 起始时间与结束时间”均未传入时,筛选修改时间,并按修改时间倒叙排序

func (*TaobaoSmartappTableGetAPIRequest) SetTableId added in v1.2.9

func (r *TaobaoSmartappTableGetAPIRequest) SetTableId(_tableId string) error

SetTableId is TableId Setter 数据空间表名

type TaobaoSmartappTableGetAPIResponse added in v1.2.9

type TaobaoSmartappTableGetAPIResponse struct {
	model.CommonResponse
	TaobaoSmartappTableGetAPIResponseModel
}

TaobaoSmartappTableGetAPIResponse 智能应用服务登记工作表数据查询 API返回值 taobao.smartapp.table.get

智能应用服务登记工作表数据查询

type TaobaoSmartappTableGetAPIResponseModel added in v1.2.9

type TaobaoSmartappTableGetAPIResponseModel struct {
	XMLName xml.Name `xml:"smartapp_table_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误提示
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 查询结果
	Result *AfterSaleTableSelectResponse `json:"result,omitempty" xml:"result,omitempty"`
	// 调用结果
	BusinessSuccess bool `json:"business_success,omitempty" xml:"business_success,omitempty"`
}

TaobaoSmartappTableGetAPIResponseModel is 智能应用服务登记工作表数据查询 成功返回结果

type TaobaoSmartappTableListGetAPIRequest added in v1.2.9

type TaobaoSmartappTableListGetAPIRequest struct {
	model.Params
}

TaobaoSmartappTableListGetAPIRequest 智能应用服务登记工作表列表查询 API请求 taobao.smartapp.table.list.get

智能应用服务登记工作表列表查询

func NewTaobaoSmartappTableListGetRequest added in v1.2.9

func NewTaobaoSmartappTableListGetRequest() *TaobaoSmartappTableListGetAPIRequest

NewTaobaoSmartappTableListGetRequest 初始化TaobaoSmartappTableListGetAPIRequest对象

func (TaobaoSmartappTableListGetAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoSmartappTableListGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSmartappTableListGetAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSmartappTableListGetAPIRequest) GetRawParams added in v1.2.9

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

type TaobaoSmartappTableListGetAPIResponse added in v1.2.9

type TaobaoSmartappTableListGetAPIResponse struct {
	model.CommonResponse
	TaobaoSmartappTableListGetAPIResponseModel
}

TaobaoSmartappTableListGetAPIResponse 智能应用服务登记工作表列表查询 API返回值 taobao.smartapp.table.list.get

智能应用服务登记工作表列表查询

type TaobaoSmartappTableListGetAPIResponseModel added in v1.2.9

type TaobaoSmartappTableListGetAPIResponseModel struct {
	XMLName xml.Name `xml:"smartapp_table_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 调用结果
	Result *AfterSaleGetWorkTableListResponse `json:"result,omitempty" xml:"result,omitempty"`
	// 调用结果
	BusinessSuccess bool `json:"business_success,omitempty" xml:"business_success,omitempty"`
}

TaobaoSmartappTableListGetAPIResponseModel is 智能应用服务登记工作表列表查询 成功返回结果

type TaobaoSmartappTableMetaGetAPIRequest added in v1.2.9

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

TaobaoSmartappTableMetaGetAPIRequest 智能应用服务登记工作表元数据查询 API请求 taobao.smartapp.table.meta.get

智能应用服务登记工作表元数据查询

func NewTaobaoSmartappTableMetaGetRequest added in v1.2.9

func NewTaobaoSmartappTableMetaGetRequest() *TaobaoSmartappTableMetaGetAPIRequest

NewTaobaoSmartappTableMetaGetRequest 初始化TaobaoSmartappTableMetaGetAPIRequest对象

func (TaobaoSmartappTableMetaGetAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoSmartappTableMetaGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSmartappTableMetaGetAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSmartappTableMetaGetAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoSmartappTableMetaGetAPIRequest) GetTableId added in v1.2.9

GetTableId TableId Getter

func (*TaobaoSmartappTableMetaGetAPIRequest) SetTableId added in v1.2.9

func (r *TaobaoSmartappTableMetaGetAPIRequest) SetTableId(_tableId string) error

SetTableId is TableId Setter 工作表表单id

type TaobaoSmartappTableMetaGetAPIResponse added in v1.2.9

type TaobaoSmartappTableMetaGetAPIResponse struct {
	model.CommonResponse
	TaobaoSmartappTableMetaGetAPIResponseModel
}

TaobaoSmartappTableMetaGetAPIResponse 智能应用服务登记工作表元数据查询 API返回值 taobao.smartapp.table.meta.get

智能应用服务登记工作表元数据查询

type TaobaoSmartappTableMetaGetAPIResponseModel added in v1.2.9

type TaobaoSmartappTableMetaGetAPIResponseModel struct {
	XMLName xml.Name `xml:"smartapp_table_meta_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回结果
	Result *AfterSaleFieldMetaResponse `json:"result,omitempty" xml:"result,omitempty"`
	// 调用结果
	BusinessSuccess bool `json:"business_success,omitempty" xml:"business_success,omitempty"`
}

TaobaoSmartappTableMetaGetAPIResponseModel is 智能应用服务登记工作表元数据查询 成功返回结果

type TaobaoSmartappTableUpdateAPIRequest added in v1.2.9

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

TaobaoSmartappTableUpdateAPIRequest 智能应用服务登记工作表数据更新 API请求 taobao.smartapp.table.update

智能应用服务登记工作表数据更新

func NewTaobaoSmartappTableUpdateRequest added in v1.2.9

func NewTaobaoSmartappTableUpdateRequest() *TaobaoSmartappTableUpdateAPIRequest

NewTaobaoSmartappTableUpdateRequest 初始化TaobaoSmartappTableUpdateAPIRequest对象

func (TaobaoSmartappTableUpdateAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoSmartappTableUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSmartappTableUpdateAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSmartappTableUpdateAPIRequest) GetId added in v1.2.9

GetId Id Getter

func (TaobaoSmartappTableUpdateAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoSmartappTableUpdateAPIRequest) GetRecord added in v1.2.9

GetRecord Record Getter

func (TaobaoSmartappTableUpdateAPIRequest) GetTableId added in v1.2.9

GetTableId TableId Getter

func (*TaobaoSmartappTableUpdateAPIRequest) SetId added in v1.2.9

SetId is Id Setter 待更新记录主键

func (*TaobaoSmartappTableUpdateAPIRequest) SetRecord added in v1.2.9

func (r *TaobaoSmartappTableUpdateAPIRequest) SetRecord(_record string) error

SetRecord is Record Setter 提交更新数据,更新仅支持单条新增,格式同新增记录接口

func (*TaobaoSmartappTableUpdateAPIRequest) SetTableId added in v1.2.9

func (r *TaobaoSmartappTableUpdateAPIRequest) SetTableId(_tableId string) error

SetTableId is TableId Setter 待更新工作表id

type TaobaoSmartappTableUpdateAPIResponse added in v1.2.9

type TaobaoSmartappTableUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoSmartappTableUpdateAPIResponseModel
}

TaobaoSmartappTableUpdateAPIResponse 智能应用服务登记工作表数据更新 API返回值 taobao.smartapp.table.update

智能应用服务登记工作表数据更新

type TaobaoSmartappTableUpdateAPIResponseModel added in v1.2.9

type TaobaoSmartappTableUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"smartapp_table_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 更新记录行数
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 调用结果
	BusinessSuccess bool `json:"business_success,omitempty" xml:"business_success,omitempty"`
}

TaobaoSmartappTableUpdateAPIResponseModel is 智能应用服务登记工作表数据更新 成功返回结果

Source Files

Jump to

Keyboard shortcuts

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