singletreasure

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package singletreasure 包含商家营销中心API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseActivityInfo added in v1.3.4

func ReleaseActivityInfo(v *ActivityInfo)

ReleaseActivityInfo 释放ActivityInfo

func ReleaseActivityInfoCreateDto added in v1.3.4

func ReleaseActivityInfoCreateDto(v *ActivityInfoCreateDto)

ReleaseActivityInfoCreateDto 释放ActivityInfoCreateDto

func ReleaseActivityInfoListQueryDto added in v1.3.4

func ReleaseActivityInfoListQueryDto(v *ActivityInfoListQueryDto)

ReleaseActivityInfoListQueryDto 释放ActivityInfoListQueryDto

func ReleaseActivityNameCategoryDto added in v1.3.4

func ReleaseActivityNameCategoryDto(v *ActivityNameCategoryDto)

ReleaseActivityNameCategoryDto 释放ActivityNameCategoryDto

func ReleaseActivityNameInfoDto added in v1.3.4

func ReleaseActivityNameInfoDto(v *ActivityNameInfoDto)

ReleaseActivityNameInfoDto 释放ActivityNameInfoDto

func ReleaseItemDetailInfo added in v1.3.4

func ReleaseItemDetailInfo(v *ItemDetailInfo)

ReleaseItemDetailInfo 释放ItemDetailInfo

func ReleaseItemDetailInfoBatchCreateDto added in v1.3.4

func ReleaseItemDetailInfoBatchCreateDto(v *ItemDetailInfoBatchCreateDto)

ReleaseItemDetailInfoBatchCreateDto 释放ItemDetailInfoBatchCreateDto

func ReleaseItemDetailInfoCreateDto added in v1.3.4

func ReleaseItemDetailInfoCreateDto(v *ItemDetailInfoCreateDto)

ReleaseItemDetailInfoCreateDto 释放ItemDetailInfoCreateDto

func ReleaseItemProcessErrorResultDto added in v1.3.4

func ReleaseItemProcessErrorResultDto(v *ItemProcessErrorResultDto)

ReleaseItemProcessErrorResultDto 释放ItemProcessErrorResultDto

func ReleasePageQueryDto added in v1.3.4

func ReleasePageQueryDto(v *PageQueryDto)

ReleasePageQueryDto 释放PageQueryDto

func ReleasePageResultDto added in v1.3.4

func ReleasePageResultDto(v *PageResultDto)

ReleasePageResultDto 释放PageResultDto

func ReleaseSkuDetailInfoCreateDto added in v1.3.4

func ReleaseSkuDetailInfoCreateDto(v *SkuDetailInfoCreateDto)

ReleaseSkuDetailInfoCreateDto 释放SkuDetailInfoCreateDto

func ReleaseTaobaoSingletreasureActivityCreateAPIRequest added in v1.3.4

func ReleaseTaobaoSingletreasureActivityCreateAPIRequest(v *TaobaoSingletreasureActivityCreateAPIRequest)

ReleaseTaobaoSingletreasureActivityCreateAPIRequest 将 TaobaoSingletreasureActivityCreateAPIRequest 放入 sync.Pool

func ReleaseTaobaoSingletreasureActivityCreateAPIResponse added in v1.3.4

func ReleaseTaobaoSingletreasureActivityCreateAPIResponse(v *TaobaoSingletreasureActivityCreateAPIResponse)

ReleaseTaobaoSingletreasureActivityCreateAPIResponse 将 TaobaoSingletreasureActivityCreateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSingletreasureActivityCreateResultDto added in v1.3.4

func ReleaseTaobaoSingletreasureActivityCreateResultDto(v *TaobaoSingletreasureActivityCreateResultDto)

ReleaseTaobaoSingletreasureActivityCreateResultDto 释放TaobaoSingletreasureActivityCreateResultDto

func ReleaseTaobaoSingletreasureActivityDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoSingletreasureActivityDeleteAPIRequest(v *TaobaoSingletreasureActivityDeleteAPIRequest)

ReleaseTaobaoSingletreasureActivityDeleteAPIRequest 将 TaobaoSingletreasureActivityDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoSingletreasureActivityDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoSingletreasureActivityDeleteAPIResponse(v *TaobaoSingletreasureActivityDeleteAPIResponse)

ReleaseTaobaoSingletreasureActivityDeleteAPIResponse 将 TaobaoSingletreasureActivityDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemBatchaddAPIRequest added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemBatchaddAPIRequest(v *TaobaoSingletreasureActivityItemBatchaddAPIRequest)

ReleaseTaobaoSingletreasureActivityItemBatchaddAPIRequest 将 TaobaoSingletreasureActivityItemBatchaddAPIRequest 放入 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemBatchaddAPIResponse added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemBatchaddAPIResponse(v *TaobaoSingletreasureActivityItemBatchaddAPIResponse)

ReleaseTaobaoSingletreasureActivityItemBatchaddAPIResponse 将 TaobaoSingletreasureActivityItemBatchaddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemBatchaddResultDto added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemBatchaddResultDto(v *TaobaoSingletreasureActivityItemBatchaddResultDto)

ReleaseTaobaoSingletreasureActivityItemBatchaddResultDto 释放TaobaoSingletreasureActivityItemBatchaddResultDto

func ReleaseTaobaoSingletreasureActivityItemBatchupdateAPIRequest added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemBatchupdateAPIRequest(v *TaobaoSingletreasureActivityItemBatchupdateAPIRequest)

ReleaseTaobaoSingletreasureActivityItemBatchupdateAPIRequest 将 TaobaoSingletreasureActivityItemBatchupdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemBatchupdateAPIResponse added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemBatchupdateAPIResponse(v *TaobaoSingletreasureActivityItemBatchupdateAPIResponse)

ReleaseTaobaoSingletreasureActivityItemBatchupdateAPIResponse 将 TaobaoSingletreasureActivityItemBatchupdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemBatchupdateResultDto added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemBatchupdateResultDto(v *TaobaoSingletreasureActivityItemBatchupdateResultDto)

ReleaseTaobaoSingletreasureActivityItemBatchupdateResultDto 释放TaobaoSingletreasureActivityItemBatchupdateResultDto

func ReleaseTaobaoSingletreasureActivityItemDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemDeleteAPIRequest(v *TaobaoSingletreasureActivityItemDeleteAPIRequest)

ReleaseTaobaoSingletreasureActivityItemDeleteAPIRequest 将 TaobaoSingletreasureActivityItemDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemDeleteAPIResponse(v *TaobaoSingletreasureActivityItemDeleteAPIResponse)

ReleaseTaobaoSingletreasureActivityItemDeleteAPIResponse 将 TaobaoSingletreasureActivityItemDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemDeleteResultDto added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemDeleteResultDto(v *TaobaoSingletreasureActivityItemDeleteResultDto)

ReleaseTaobaoSingletreasureActivityItemDeleteResultDto 释放TaobaoSingletreasureActivityItemDeleteResultDto

func ReleaseTaobaoSingletreasureActivityItemQueryAPIRequest added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemQueryAPIRequest(v *TaobaoSingletreasureActivityItemQueryAPIRequest)

ReleaseTaobaoSingletreasureActivityItemQueryAPIRequest 将 TaobaoSingletreasureActivityItemQueryAPIRequest 放入 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemQueryAPIResponse added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemQueryAPIResponse(v *TaobaoSingletreasureActivityItemQueryAPIResponse)

ReleaseTaobaoSingletreasureActivityItemQueryAPIResponse 将 TaobaoSingletreasureActivityItemQueryAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemUpdateAPIRequest(v *TaobaoSingletreasureActivityItemUpdateAPIRequest)

ReleaseTaobaoSingletreasureActivityItemUpdateAPIRequest 将 TaobaoSingletreasureActivityItemUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemUpdateAPIResponse(v *TaobaoSingletreasureActivityItemUpdateAPIResponse)

ReleaseTaobaoSingletreasureActivityItemUpdateAPIResponse 将 TaobaoSingletreasureActivityItemUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSingletreasureActivityItemUpdateResultDto added in v1.3.4

func ReleaseTaobaoSingletreasureActivityItemUpdateResultDto(v *TaobaoSingletreasureActivityItemUpdateResultDto)

ReleaseTaobaoSingletreasureActivityItemUpdateResultDto 释放TaobaoSingletreasureActivityItemUpdateResultDto

func ReleaseTaobaoSingletreasureActivityNameQueryAPIRequest added in v1.3.4

func ReleaseTaobaoSingletreasureActivityNameQueryAPIRequest(v *TaobaoSingletreasureActivityNameQueryAPIRequest)

ReleaseTaobaoSingletreasureActivityNameQueryAPIRequest 将 TaobaoSingletreasureActivityNameQueryAPIRequest 放入 sync.Pool

func ReleaseTaobaoSingletreasureActivityNameQueryAPIResponse added in v1.3.4

func ReleaseTaobaoSingletreasureActivityNameQueryAPIResponse(v *TaobaoSingletreasureActivityNameQueryAPIResponse)

ReleaseTaobaoSingletreasureActivityNameQueryAPIResponse 将 TaobaoSingletreasureActivityNameQueryAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSingletreasureActivityNameQueryResultDto added in v1.3.4

func ReleaseTaobaoSingletreasureActivityNameQueryResultDto(v *TaobaoSingletreasureActivityNameQueryResultDto)

ReleaseTaobaoSingletreasureActivityNameQueryResultDto 释放TaobaoSingletreasureActivityNameQueryResultDto

func ReleaseTaobaoSingletreasureActivityQueryAPIRequest added in v1.3.4

func ReleaseTaobaoSingletreasureActivityQueryAPIRequest(v *TaobaoSingletreasureActivityQueryAPIRequest)

ReleaseTaobaoSingletreasureActivityQueryAPIRequest 将 TaobaoSingletreasureActivityQueryAPIRequest 放入 sync.Pool

func ReleaseTaobaoSingletreasureActivityQueryAPIResponse added in v1.3.4

func ReleaseTaobaoSingletreasureActivityQueryAPIResponse(v *TaobaoSingletreasureActivityQueryAPIResponse)

ReleaseTaobaoSingletreasureActivityQueryAPIResponse 将 TaobaoSingletreasureActivityQueryAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSingletreasureActivityQueryResultDto added in v1.3.4

func ReleaseTaobaoSingletreasureActivityQueryResultDto(v *TaobaoSingletreasureActivityQueryResultDto)

ReleaseTaobaoSingletreasureActivityQueryResultDto 释放TaobaoSingletreasureActivityQueryResultDto

func ReleaseTaobaoSingletreasureActivityUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoSingletreasureActivityUpdateAPIRequest(v *TaobaoSingletreasureActivityUpdateAPIRequest)

ReleaseTaobaoSingletreasureActivityUpdateAPIRequest 将 TaobaoSingletreasureActivityUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoSingletreasureActivityUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoSingletreasureActivityUpdateAPIResponse(v *TaobaoSingletreasureActivityUpdateAPIResponse)

ReleaseTaobaoSingletreasureActivityUpdateAPIResponse 将 TaobaoSingletreasureActivityUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSingletreasureActivityUpdateResultDto added in v1.3.4

func ReleaseTaobaoSingletreasureActivityUpdateResultDto(v *TaobaoSingletreasureActivityUpdateResultDto)

ReleaseTaobaoSingletreasureActivityUpdateResultDto 释放TaobaoSingletreasureActivityUpdateResultDto

Types

type ActivityInfo

type ActivityInfo struct {
	// 创建时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// 活动结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 不包邮地区
	ExcludeAreas string `json:"exclude_areas,omitempty" xml:"exclude_areas,omitempty"`
	// 活动开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 套餐描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 套餐名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 活动对应生效的人群 id
	CrowdId string `json:"crowd_id,omitempty" xml:"crowd_id,omitempty"`
	// 套餐 id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 折扣类型,1 为促销价,2 为打折,4 为减钱
	DiscountType int64 `json:"discount_type,omitempty" xml:"discount_type,omitempty"`
	// 卖家 id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 优惠类型,3 为 SKU 级优惠类型,1 为商品级优惠类型
	PromotionLevel int64 `json:"promotion_level,omitempty" xml:"promotion_level,omitempty"`
	// 活动状态
	ActivityStatus int64 `json:"activity_status,omitempty" xml:"activity_status,omitempty"`
	// 是否包邮
	FreePost bool `json:"free_post,omitempty" xml:"free_post,omitempty"`
}

ActivityInfo 结构体

func GetActivityInfo added in v1.3.4

func GetActivityInfo() *ActivityInfo

GetActivityInfo() 从对象池中获取ActivityInfo

type ActivityInfoCreateDto

type ActivityInfoCreateDto struct {
	// 开始时间:需要早于当天零点
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 活动描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 人群 id
	CrowdId string `json:"crowd_id,omitempty" xml:"crowd_id,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 不包邮地区
	ExcludeAreas string `json:"exclude_areas,omitempty" xml:"exclude_areas,omitempty"`
	// 优惠类型    促销价:1;打折:2;减钱:4
	DiscountType int64 `json:"discount_type,omitempty" xml:"discount_type,omitempty"`
	// 优惠等级 商品:1; 店铺:2; SKU:3
	PromotionLevel int64 `json:"promotion_level,omitempty" xml:"promotion_level,omitempty"`
	// 活动类型, 普通活动: 1, 官方活动: 2
	ActivityType int64 `json:"activity_type,omitempty" xml:"activity_type,omitempty"`
	// 活动的Id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 是否包邮
	FreePost bool `json:"free_post,omitempty" xml:"free_post,omitempty"`
}

ActivityInfoCreateDto 结构体

func GetActivityInfoCreateDto added in v1.3.4

func GetActivityInfoCreateDto() *ActivityInfoCreateDto

GetActivityInfoCreateDto() 从对象池中获取ActivityInfoCreateDto

type ActivityInfoListQueryDto

type ActivityInfoListQueryDto struct {
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 活动 id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 活动状态  删除:-1;暂停:0;未开始:1;进行中:2;已结束:3
	ActivityStatus int64 `json:"activity_status,omitempty" xml:"activity_status,omitempty"`
}

ActivityInfoListQueryDto 结构体

func GetActivityInfoListQueryDto added in v1.3.4

func GetActivityInfoListQueryDto() *ActivityInfoListQueryDto

GetActivityInfoListQueryDto() 从对象池中获取ActivityInfoListQueryDto

type ActivityNameCategoryDto

type ActivityNameCategoryDto struct {
	// 名称列表
	List []ActivityNameInfoDto `json:"list,omitempty" xml:"list>activity_name_info_dto,omitempty"`
	// 活动描述   1:日常活动  2:官方活动
	Text string `json:"text,omitempty" xml:"text,omitempty"`
	// 活动value
	Value int64 `json:"value,omitempty" xml:"value,omitempty"`
}

ActivityNameCategoryDto 结构体

func GetActivityNameCategoryDto added in v1.3.4

func GetActivityNameCategoryDto() *ActivityNameCategoryDto

GetActivityNameCategoryDto() 从对象池中获取ActivityNameCategoryDto

type ActivityNameInfoDto

type ActivityNameInfoDto struct {
	// 活动名称的列表
	NameList []string `json:"name_list,omitempty" xml:"name_list>string,omitempty"`
	// 类目
	Category string `json:"category,omitempty" xml:"category,omitempty"`
}

ActivityNameInfoDto 结构体

func GetActivityNameInfoDto added in v1.3.4

func GetActivityNameInfoDto() *ActivityNameInfoDto

GetActivityNameInfoDto() 从对象池中获取ActivityNameInfoDto

type ItemDetailInfo

type ItemDetailInfo struct {
	// 活动结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 不包邮地区
	ExcludeAreas string `json:"exclude_areas,omitempty" xml:"exclude_areas,omitempty"`
	// 活动开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 对应的人群 id
	CrowdId string `json:"crowd_id,omitempty" xml:"crowd_id,omitempty"`
	// 限购数
	LimitCheck int64 `json:"limit_check,omitempty" xml:"limit_check,omitempty"`
	// 活动 id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 折扣类型,1 为促销价,2 为打折,4 为减钱
	DiscountType int64 `json:"discount_type,omitempty" xml:"discount_type,omitempty"`
	// 猫客对应折扣
	MkDiscount int64 `json:"mk_discount,omitempty" xml:"mk_discount,omitempty"`
	// 优惠类型,1 为商品级优惠,3 为 SKU 级优惠
	PromotionLevel int64 `json:"promotion_level,omitempty" xml:"promotion_level,omitempty"`
	// 状态,-1 删除,0 暂停,1 征程
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 宝贝 id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 折扣类型,1 为促销价,2 为打折,4 为减钱
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// id
	DetailId int64 `json:"detail_id,omitempty" xml:"detail_id,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 是否包邮
	FreePost bool `json:"free_post,omitempty" xml:"free_post,omitempty"`
	// 抹分与否
	IsDiscardFen bool `json:"is_discard_fen,omitempty" xml:"is_discard_fen,omitempty"`
	// 是否取整
	IsMathFloor bool `json:"is_math_floor,omitempty" xml:"is_math_floor,omitempty"`
}

ItemDetailInfo 结构体

func GetItemDetailInfo added in v1.3.4

func GetItemDetailInfo() *ItemDetailInfo

GetItemDetailInfo() 从对象池中获取ItemDetailInfo

type ItemDetailInfoBatchCreateDto

type ItemDetailInfoBatchCreateDto struct {
	// 商品列表
	ItemDetailInfo []ItemDetailInfoCreateDto `json:"item_detail_info,omitempty" xml:"item_detail_info>item_detail_info_create_dto,omitempty"`
	// 活动id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
}

ItemDetailInfoBatchCreateDto 结构体

func GetItemDetailInfoBatchCreateDto added in v1.3.4

func GetItemDetailInfoBatchCreateDto() *ItemDetailInfoBatchCreateDto

GetItemDetailInfoBatchCreateDto() 从对象池中获取ItemDetailInfoBatchCreateDto

type ItemDetailInfoCreateDto

type ItemDetailInfoCreateDto struct {
	// sku对象列表
	SkuVOs []SkuDetailInfoCreateDto `json:"sku_v_os,omitempty" xml:"sku_v_os>sku_detail_info_create_dto,omitempty"`
	// 商品买家限购数量,-1表示不限购
	LimitCheck int64 `json:"limit_check,omitempty" xml:"limit_check,omitempty"`
	// 猫客折上折,优惠力度,打折、减钱:单位分;打折,8折:800
	MkDiscount int64 `json:"mk_discount,omitempty" xml:"mk_discount,omitempty"`
	// 商品Id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 优惠力度,打折、减钱:单位分;打折,8折:800
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 活动id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 是否取整
	IsMathFloor bool `json:"is_math_floor,omitempty" xml:"is_math_floor,omitempty"`
	// 是否抹分
	IsDiscardFen bool `json:"is_discard_fen,omitempty" xml:"is_discard_fen,omitempty"`
}

ItemDetailInfoCreateDto 结构体

func GetItemDetailInfoCreateDto added in v1.3.4

func GetItemDetailInfoCreateDto() *ItemDetailInfoCreateDto

GetItemDetailInfoCreateDto() 从对象池中获取ItemDetailInfoCreateDto

type ItemProcessErrorResultDto

type ItemProcessErrorResultDto struct {
	// 处理失败的item和sku: map结构为:itemId: skuId-错误信息,所有返回的外层key是itemId,里面的key是skuId,商品级别的skuId为-1
	SkuIdMap string `json:"sku_id_map,omitempty" xml:"sku_id_map,omitempty"`
	// activityId
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
}

ItemProcessErrorResultDto 结构体

func GetItemProcessErrorResultDto added in v1.3.4

func GetItemProcessErrorResultDto() *ItemProcessErrorResultDto

GetItemProcessErrorResultDto() 从对象池中获取ItemProcessErrorResultDto

type PageQueryDto

type PageQueryDto struct {
	// 查询条件请求体
	Query *ActivityInfoListQueryDto `json:"query,omitempty" xml:"query,omitempty"`
	// 页码,最大为50
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 页数,从1开始
	PageNumber int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
}

PageQueryDto 结构体

func GetPageQueryDto added in v1.3.4

func GetPageQueryDto() *PageQueryDto

GetPageQueryDto() 从对象池中获取PageQueryDto

type PageResultDto

type PageResultDto struct {
	// 查询结果
	DataList []ItemDetailInfo `json:"data_list,omitempty" xml:"data_list>item_detail_info,omitempty"`
	// 系统信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 页码
	PageNumber int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// 系统编码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 返回数量个数
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 系统执行成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PageResultDto 结构体

func GetPageResultDto added in v1.3.4

func GetPageResultDto() *PageResultDto

GetPageResultDto() 从对象池中获取PageResultDto

type SkuDetailInfoCreateDto

type SkuDetailInfoCreateDto struct {
	// 猫客折上折,优惠力度,打折、减钱:单位分;打折,8折:800
	MkDiscount int64 `json:"mk_discount,omitempty" xml:"mk_discount,omitempty"`
	// sku的Id
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 优惠力度,打折、减钱:单位分;打折,8折:800
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
}

SkuDetailInfoCreateDto 结构体

func GetSkuDetailInfoCreateDto added in v1.3.4

func GetSkuDetailInfoCreateDto() *SkuDetailInfoCreateDto

GetSkuDetailInfoCreateDto() 从对象池中获取SkuDetailInfoCreateDto

type TaobaoSingletreasureActivityCreateAPIRequest added in v1.2.0

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

TaobaoSingletreasureActivityCreateAPIRequest 活动创建接口 API请求 taobao.singletreasure.activity.create

创建优惠活动

func GetTaobaoSingletreasureActivityCreateAPIRequest added in v1.3.4

func GetTaobaoSingletreasureActivityCreateAPIRequest() *TaobaoSingletreasureActivityCreateAPIRequest

GetTaobaoSingletreasureActivityCreateRequest 从 sync.Pool 获取 TaobaoSingletreasureActivityCreateAPIRequest

func NewTaobaoSingletreasureActivityCreateRequest

func NewTaobaoSingletreasureActivityCreateRequest() *TaobaoSingletreasureActivityCreateAPIRequest

NewTaobaoSingletreasureActivityCreateRequest 初始化TaobaoSingletreasureActivityCreateAPIRequest对象

func (TaobaoSingletreasureActivityCreateAPIRequest) GetActivityInfo added in v1.2.0

GetActivityInfo ActivityInfo Getter

func (TaobaoSingletreasureActivityCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSingletreasureActivityCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSingletreasureActivityCreateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSingletreasureActivityCreateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSingletreasureActivityCreateAPIRequest) SetActivityInfo added in v1.2.0

SetActivityInfo is ActivityInfo Setter 系统入参

type TaobaoSingletreasureActivityCreateAPIResponse

type TaobaoSingletreasureActivityCreateAPIResponse struct {
	model.CommonResponse
	TaobaoSingletreasureActivityCreateAPIResponseModel
}

TaobaoSingletreasureActivityCreateAPIResponse 活动创建接口 API返回值 taobao.singletreasure.activity.create

创建优惠活动

func GetTaobaoSingletreasureActivityCreateAPIResponse added in v1.3.4

func GetTaobaoSingletreasureActivityCreateAPIResponse() *TaobaoSingletreasureActivityCreateAPIResponse

GetTaobaoSingletreasureActivityCreateAPIResponse 从 sync.Pool 获取 TaobaoSingletreasureActivityCreateAPIResponse

func (*TaobaoSingletreasureActivityCreateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityCreateAPIResponseModel added in v1.2.0

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

TaobaoSingletreasureActivityCreateAPIResponseModel is 活动创建接口 成功返回结果

func (*TaobaoSingletreasureActivityCreateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityCreateResultDto

type TaobaoSingletreasureActivityCreateResultDto struct {
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 新建套餐 id
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 错误编码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 系统执行成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoSingletreasureActivityCreateResultDto 结构体

func GetTaobaoSingletreasureActivityCreateResultDto added in v1.3.4

func GetTaobaoSingletreasureActivityCreateResultDto() *TaobaoSingletreasureActivityCreateResultDto

GetTaobaoSingletreasureActivityCreateResultDto() 从对象池中获取TaobaoSingletreasureActivityCreateResultDto

type TaobaoSingletreasureActivityDeleteAPIRequest added in v1.2.0

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

TaobaoSingletreasureActivityDeleteAPIRequest 删除活动接口 API请求 taobao.singletreasure.activity.delete

删除优惠活动

func GetTaobaoSingletreasureActivityDeleteAPIRequest added in v1.3.4

func GetTaobaoSingletreasureActivityDeleteAPIRequest() *TaobaoSingletreasureActivityDeleteAPIRequest

GetTaobaoSingletreasureActivityDeleteRequest 从 sync.Pool 获取 TaobaoSingletreasureActivityDeleteAPIRequest

func NewTaobaoSingletreasureActivityDeleteRequest

func NewTaobaoSingletreasureActivityDeleteRequest() *TaobaoSingletreasureActivityDeleteAPIRequest

NewTaobaoSingletreasureActivityDeleteRequest 初始化TaobaoSingletreasureActivityDeleteAPIRequest对象

func (TaobaoSingletreasureActivityDeleteAPIRequest) GetActivityId added in v1.2.0

GetActivityId ActivityId Getter

func (TaobaoSingletreasureActivityDeleteAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSingletreasureActivityDeleteAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSingletreasureActivityDeleteAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSingletreasureActivityDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSingletreasureActivityDeleteAPIRequest) SetActivityId added in v1.2.0

func (r *TaobaoSingletreasureActivityDeleteAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 活动Id

type TaobaoSingletreasureActivityDeleteAPIResponse

type TaobaoSingletreasureActivityDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoSingletreasureActivityDeleteAPIResponseModel
}

TaobaoSingletreasureActivityDeleteAPIResponse 删除活动接口 API返回值 taobao.singletreasure.activity.delete

删除优惠活动

func GetTaobaoSingletreasureActivityDeleteAPIResponse added in v1.3.4

func GetTaobaoSingletreasureActivityDeleteAPIResponse() *TaobaoSingletreasureActivityDeleteAPIResponse

GetTaobaoSingletreasureActivityDeleteAPIResponse 从 sync.Pool 获取 TaobaoSingletreasureActivityDeleteAPIResponse

func (*TaobaoSingletreasureActivityDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityDeleteAPIResponseModel added in v1.2.0

type TaobaoSingletreasureActivityDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"singletreasure_activity_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 删除是否成功 boolean值
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 系统执行是否成功
	ResultStatus bool `json:"result_status,omitempty" xml:"result_status,omitempty"`
}

TaobaoSingletreasureActivityDeleteAPIResponseModel is 删除活动接口 成功返回结果

func (*TaobaoSingletreasureActivityDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemBatchaddAPIRequest added in v1.2.0

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

TaobaoSingletreasureActivityItemBatchaddAPIRequest 批量添加商品接口 API请求 taobao.singletreasure.activity.item.batchadd

向活动中批量添加商品优惠

func GetTaobaoSingletreasureActivityItemBatchaddAPIRequest added in v1.3.4

func GetTaobaoSingletreasureActivityItemBatchaddAPIRequest() *TaobaoSingletreasureActivityItemBatchaddAPIRequest

GetTaobaoSingletreasureActivityItemBatchaddRequest 从 sync.Pool 获取 TaobaoSingletreasureActivityItemBatchaddAPIRequest

func NewTaobaoSingletreasureActivityItemBatchaddRequest

func NewTaobaoSingletreasureActivityItemBatchaddRequest() *TaobaoSingletreasureActivityItemBatchaddAPIRequest

NewTaobaoSingletreasureActivityItemBatchaddRequest 初始化TaobaoSingletreasureActivityItemBatchaddAPIRequest对象

func (TaobaoSingletreasureActivityItemBatchaddAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSingletreasureActivityItemBatchaddAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSingletreasureActivityItemBatchaddAPIRequest) GetItemDetailInfo added in v1.2.0

GetItemDetailInfo ItemDetailInfo Getter

func (TaobaoSingletreasureActivityItemBatchaddAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSingletreasureActivityItemBatchaddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSingletreasureActivityItemBatchaddAPIRequest) SetItemDetailInfo added in v1.2.0

SetItemDetailInfo is ItemDetailInfo Setter 系统入参

type TaobaoSingletreasureActivityItemBatchaddAPIResponse

type TaobaoSingletreasureActivityItemBatchaddAPIResponse struct {
	model.CommonResponse
	TaobaoSingletreasureActivityItemBatchaddAPIResponseModel
}

TaobaoSingletreasureActivityItemBatchaddAPIResponse 批量添加商品接口 API返回值 taobao.singletreasure.activity.item.batchadd

向活动中批量添加商品优惠

func GetTaobaoSingletreasureActivityItemBatchaddAPIResponse added in v1.3.4

func GetTaobaoSingletreasureActivityItemBatchaddAPIResponse() *TaobaoSingletreasureActivityItemBatchaddAPIResponse

GetTaobaoSingletreasureActivityItemBatchaddAPIResponse 从 sync.Pool 获取 TaobaoSingletreasureActivityItemBatchaddAPIResponse

func (*TaobaoSingletreasureActivityItemBatchaddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemBatchaddAPIResponseModel added in v1.2.0

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

TaobaoSingletreasureActivityItemBatchaddAPIResponseModel is 批量添加商品接口 成功返回结果

func (*TaobaoSingletreasureActivityItemBatchaddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemBatchaddResultDto

type TaobaoSingletreasureActivityItemBatchaddResultDto struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// data
	Data *ItemProcessErrorResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoSingletreasureActivityItemBatchaddResultDto 结构体

func GetTaobaoSingletreasureActivityItemBatchaddResultDto added in v1.3.4

func GetTaobaoSingletreasureActivityItemBatchaddResultDto() *TaobaoSingletreasureActivityItemBatchaddResultDto

GetTaobaoSingletreasureActivityItemBatchaddResultDto() 从对象池中获取TaobaoSingletreasureActivityItemBatchaddResultDto

type TaobaoSingletreasureActivityItemBatchupdateAPIRequest added in v1.2.0

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

TaobaoSingletreasureActivityItemBatchupdateAPIRequest 批量修改商品接口 API请求 taobao.singletreasure.activity.item.batchupdate

批量修改商品优惠接口

func GetTaobaoSingletreasureActivityItemBatchupdateAPIRequest added in v1.3.4

func GetTaobaoSingletreasureActivityItemBatchupdateAPIRequest() *TaobaoSingletreasureActivityItemBatchupdateAPIRequest

GetTaobaoSingletreasureActivityItemBatchupdateRequest 从 sync.Pool 获取 TaobaoSingletreasureActivityItemBatchupdateAPIRequest

func NewTaobaoSingletreasureActivityItemBatchupdateRequest

func NewTaobaoSingletreasureActivityItemBatchupdateRequest() *TaobaoSingletreasureActivityItemBatchupdateAPIRequest

NewTaobaoSingletreasureActivityItemBatchupdateRequest 初始化TaobaoSingletreasureActivityItemBatchupdateAPIRequest对象

func (TaobaoSingletreasureActivityItemBatchupdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSingletreasureActivityItemBatchupdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSingletreasureActivityItemBatchupdateAPIRequest) GetItemDetailInfo added in v1.2.0

GetItemDetailInfo ItemDetailInfo Getter

func (TaobaoSingletreasureActivityItemBatchupdateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSingletreasureActivityItemBatchupdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSingletreasureActivityItemBatchupdateAPIRequest) SetItemDetailInfo added in v1.2.0

SetItemDetailInfo is ItemDetailInfo Setter 系统入参

type TaobaoSingletreasureActivityItemBatchupdateAPIResponse

type TaobaoSingletreasureActivityItemBatchupdateAPIResponse struct {
	model.CommonResponse
	TaobaoSingletreasureActivityItemBatchupdateAPIResponseModel
}

TaobaoSingletreasureActivityItemBatchupdateAPIResponse 批量修改商品接口 API返回值 taobao.singletreasure.activity.item.batchupdate

批量修改商品优惠接口

func GetTaobaoSingletreasureActivityItemBatchupdateAPIResponse added in v1.3.4

func GetTaobaoSingletreasureActivityItemBatchupdateAPIResponse() *TaobaoSingletreasureActivityItemBatchupdateAPIResponse

GetTaobaoSingletreasureActivityItemBatchupdateAPIResponse 从 sync.Pool 获取 TaobaoSingletreasureActivityItemBatchupdateAPIResponse

func (*TaobaoSingletreasureActivityItemBatchupdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemBatchupdateAPIResponseModel added in v1.2.0

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

TaobaoSingletreasureActivityItemBatchupdateAPIResponseModel is 批量修改商品接口 成功返回结果

func (*TaobaoSingletreasureActivityItemBatchupdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemBatchupdateResultDto

type TaobaoSingletreasureActivityItemBatchupdateResultDto struct {
	// 返回的描述信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回所有的处理错误的信息
	Data *ItemProcessErrorResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// 处理结果
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoSingletreasureActivityItemBatchupdateResultDto 结构体

func GetTaobaoSingletreasureActivityItemBatchupdateResultDto added in v1.3.4

func GetTaobaoSingletreasureActivityItemBatchupdateResultDto() *TaobaoSingletreasureActivityItemBatchupdateResultDto

GetTaobaoSingletreasureActivityItemBatchupdateResultDto() 从对象池中获取TaobaoSingletreasureActivityItemBatchupdateResultDto

type TaobaoSingletreasureActivityItemDeleteAPIRequest added in v1.2.0

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

TaobaoSingletreasureActivityItemDeleteAPIRequest 删除单品优惠接口 API请求 taobao.singletreasure.activity.item.delete

删除单品优惠接口

func GetTaobaoSingletreasureActivityItemDeleteAPIRequest added in v1.3.4

func GetTaobaoSingletreasureActivityItemDeleteAPIRequest() *TaobaoSingletreasureActivityItemDeleteAPIRequest

GetTaobaoSingletreasureActivityItemDeleteRequest 从 sync.Pool 获取 TaobaoSingletreasureActivityItemDeleteAPIRequest

func NewTaobaoSingletreasureActivityItemDeleteRequest

func NewTaobaoSingletreasureActivityItemDeleteRequest() *TaobaoSingletreasureActivityItemDeleteAPIRequest

NewTaobaoSingletreasureActivityItemDeleteRequest 初始化TaobaoSingletreasureActivityItemDeleteAPIRequest对象

func (TaobaoSingletreasureActivityItemDeleteAPIRequest) GetActivityId added in v1.2.0

GetActivityId ActivityId Getter

func (TaobaoSingletreasureActivityItemDeleteAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSingletreasureActivityItemDeleteAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSingletreasureActivityItemDeleteAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TaobaoSingletreasureActivityItemDeleteAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSingletreasureActivityItemDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSingletreasureActivityItemDeleteAPIRequest) SetActivityId added in v1.2.0

func (r *TaobaoSingletreasureActivityItemDeleteAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 活动id

func (*TaobaoSingletreasureActivityItemDeleteAPIRequest) SetItemId added in v1.2.0

SetItemId is ItemId Setter 商品Id

type TaobaoSingletreasureActivityItemDeleteAPIResponse

type TaobaoSingletreasureActivityItemDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoSingletreasureActivityItemDeleteAPIResponseModel
}

TaobaoSingletreasureActivityItemDeleteAPIResponse 删除单品优惠接口 API返回值 taobao.singletreasure.activity.item.delete

删除单品优惠接口

func GetTaobaoSingletreasureActivityItemDeleteAPIResponse added in v1.3.4

func GetTaobaoSingletreasureActivityItemDeleteAPIResponse() *TaobaoSingletreasureActivityItemDeleteAPIResponse

GetTaobaoSingletreasureActivityItemDeleteAPIResponse 从 sync.Pool 获取 TaobaoSingletreasureActivityItemDeleteAPIResponse

func (*TaobaoSingletreasureActivityItemDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemDeleteAPIResponseModel added in v1.2.0

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

TaobaoSingletreasureActivityItemDeleteAPIResponseModel is 删除单品优惠接口 成功返回结果

func (*TaobaoSingletreasureActivityItemDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemDeleteResultDto

type TaobaoSingletreasureActivityItemDeleteResultDto struct {
	// 请求返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回所有的处理错误的信息
	Data *ItemProcessErrorResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// 请求返回码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoSingletreasureActivityItemDeleteResultDto 结构体

func GetTaobaoSingletreasureActivityItemDeleteResultDto added in v1.3.4

func GetTaobaoSingletreasureActivityItemDeleteResultDto() *TaobaoSingletreasureActivityItemDeleteResultDto

GetTaobaoSingletreasureActivityItemDeleteResultDto() 从对象池中获取TaobaoSingletreasureActivityItemDeleteResultDto

type TaobaoSingletreasureActivityItemQueryAPIRequest added in v1.2.0

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

TaobaoSingletreasureActivityItemQueryAPIRequest 查询活动下的优惠信息 API请求 taobao.singletreasure.activity.item.query

分页查询活动下的商品优惠信息

func GetTaobaoSingletreasureActivityItemQueryAPIRequest added in v1.3.4

func GetTaobaoSingletreasureActivityItemQueryAPIRequest() *TaobaoSingletreasureActivityItemQueryAPIRequest

GetTaobaoSingletreasureActivityItemQueryRequest 从 sync.Pool 获取 TaobaoSingletreasureActivityItemQueryAPIRequest

func NewTaobaoSingletreasureActivityItemQueryRequest

func NewTaobaoSingletreasureActivityItemQueryRequest() *TaobaoSingletreasureActivityItemQueryAPIRequest

NewTaobaoSingletreasureActivityItemQueryRequest 初始化TaobaoSingletreasureActivityItemQueryAPIRequest对象

func (TaobaoSingletreasureActivityItemQueryAPIRequest) GetActivityId added in v1.2.0

GetActivityId ActivityId Getter

func (TaobaoSingletreasureActivityItemQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSingletreasureActivityItemQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSingletreasureActivityItemQueryAPIRequest) GetPageNumber added in v1.2.0

GetPageNumber PageNumber Getter

func (TaobaoSingletreasureActivityItemQueryAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoSingletreasureActivityItemQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSingletreasureActivityItemQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSingletreasureActivityItemQueryAPIRequest) SetActivityId added in v1.2.0

func (r *TaobaoSingletreasureActivityItemQueryAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 活动Id

func (*TaobaoSingletreasureActivityItemQueryAPIRequest) SetPageNumber added in v1.2.0

func (r *TaobaoSingletreasureActivityItemQueryAPIRequest) SetPageNumber(_pageNumber int64) error

SetPageNumber is PageNumber Setter 页码

func (*TaobaoSingletreasureActivityItemQueryAPIRequest) SetPageSize added in v1.2.0

SetPageSize is PageSize Setter 页大小

type TaobaoSingletreasureActivityItemQueryAPIResponse

type TaobaoSingletreasureActivityItemQueryAPIResponse struct {
	model.CommonResponse
	TaobaoSingletreasureActivityItemQueryAPIResponseModel
}

TaobaoSingletreasureActivityItemQueryAPIResponse 查询活动下的优惠信息 API返回值 taobao.singletreasure.activity.item.query

分页查询活动下的商品优惠信息

func GetTaobaoSingletreasureActivityItemQueryAPIResponse added in v1.3.4

func GetTaobaoSingletreasureActivityItemQueryAPIResponse() *TaobaoSingletreasureActivityItemQueryAPIResponse

GetTaobaoSingletreasureActivityItemQueryAPIResponse 从 sync.Pool 获取 TaobaoSingletreasureActivityItemQueryAPIResponse

func (*TaobaoSingletreasureActivityItemQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemQueryAPIResponseModel added in v1.2.0

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

TaobaoSingletreasureActivityItemQueryAPIResponseModel is 查询活动下的优惠信息 成功返回结果

func (*TaobaoSingletreasureActivityItemQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemUpdateAPIRequest added in v1.2.0

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

TaobaoSingletreasureActivityItemUpdateAPIRequest 更新单品优惠接口 API请求 taobao.singletreasure.activity.item.update

更新单品优惠接口

func GetTaobaoSingletreasureActivityItemUpdateAPIRequest added in v1.3.4

func GetTaobaoSingletreasureActivityItemUpdateAPIRequest() *TaobaoSingletreasureActivityItemUpdateAPIRequest

GetTaobaoSingletreasureActivityItemUpdateRequest 从 sync.Pool 获取 TaobaoSingletreasureActivityItemUpdateAPIRequest

func NewTaobaoSingletreasureActivityItemUpdateRequest

func NewTaobaoSingletreasureActivityItemUpdateRequest() *TaobaoSingletreasureActivityItemUpdateAPIRequest

NewTaobaoSingletreasureActivityItemUpdateRequest 初始化TaobaoSingletreasureActivityItemUpdateAPIRequest对象

func (TaobaoSingletreasureActivityItemUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSingletreasureActivityItemUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSingletreasureActivityItemUpdateAPIRequest) GetItemDetailInfo added in v1.2.0

GetItemDetailInfo ItemDetailInfo Getter

func (TaobaoSingletreasureActivityItemUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSingletreasureActivityItemUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSingletreasureActivityItemUpdateAPIRequest) SetItemDetailInfo added in v1.2.0

SetItemDetailInfo is ItemDetailInfo Setter 修改接口的入参对象

type TaobaoSingletreasureActivityItemUpdateAPIResponse

type TaobaoSingletreasureActivityItemUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoSingletreasureActivityItemUpdateAPIResponseModel
}

TaobaoSingletreasureActivityItemUpdateAPIResponse 更新单品优惠接口 API返回值 taobao.singletreasure.activity.item.update

更新单品优惠接口

func GetTaobaoSingletreasureActivityItemUpdateAPIResponse added in v1.3.4

func GetTaobaoSingletreasureActivityItemUpdateAPIResponse() *TaobaoSingletreasureActivityItemUpdateAPIResponse

GetTaobaoSingletreasureActivityItemUpdateAPIResponse 从 sync.Pool 获取 TaobaoSingletreasureActivityItemUpdateAPIResponse

func (*TaobaoSingletreasureActivityItemUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemUpdateAPIResponseModel added in v1.2.0

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

TaobaoSingletreasureActivityItemUpdateAPIResponseModel is 更新单品优惠接口 成功返回结果

func (*TaobaoSingletreasureActivityItemUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityItemUpdateResultDto

type TaobaoSingletreasureActivityItemUpdateResultDto struct {
	// 请求返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回所有的处理错误的信息
	Data *ItemProcessErrorResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// 请求返回码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoSingletreasureActivityItemUpdateResultDto 结构体

func GetTaobaoSingletreasureActivityItemUpdateResultDto added in v1.3.4

func GetTaobaoSingletreasureActivityItemUpdateResultDto() *TaobaoSingletreasureActivityItemUpdateResultDto

GetTaobaoSingletreasureActivityItemUpdateResultDto() 从对象池中获取TaobaoSingletreasureActivityItemUpdateResultDto

type TaobaoSingletreasureActivityNameQueryAPIRequest added in v1.2.0

type TaobaoSingletreasureActivityNameQueryAPIRequest struct {
	model.Params
}

TaobaoSingletreasureActivityNameQueryAPIRequest 查询官方的活动名称接口 API请求 taobao.singletreasure.activity.name.query

查询官方的活动名称列表接口

func GetTaobaoSingletreasureActivityNameQueryAPIRequest added in v1.3.4

func GetTaobaoSingletreasureActivityNameQueryAPIRequest() *TaobaoSingletreasureActivityNameQueryAPIRequest

GetTaobaoSingletreasureActivityNameQueryRequest 从 sync.Pool 获取 TaobaoSingletreasureActivityNameQueryAPIRequest

func NewTaobaoSingletreasureActivityNameQueryRequest

func NewTaobaoSingletreasureActivityNameQueryRequest() *TaobaoSingletreasureActivityNameQueryAPIRequest

NewTaobaoSingletreasureActivityNameQueryRequest 初始化TaobaoSingletreasureActivityNameQueryAPIRequest对象

func (TaobaoSingletreasureActivityNameQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSingletreasureActivityNameQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSingletreasureActivityNameQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSingletreasureActivityNameQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type TaobaoSingletreasureActivityNameQueryAPIResponse

type TaobaoSingletreasureActivityNameQueryAPIResponse struct {
	model.CommonResponse
	TaobaoSingletreasureActivityNameQueryAPIResponseModel
}

TaobaoSingletreasureActivityNameQueryAPIResponse 查询官方的活动名称接口 API返回值 taobao.singletreasure.activity.name.query

查询官方的活动名称列表接口

func GetTaobaoSingletreasureActivityNameQueryAPIResponse added in v1.3.4

func GetTaobaoSingletreasureActivityNameQueryAPIResponse() *TaobaoSingletreasureActivityNameQueryAPIResponse

GetTaobaoSingletreasureActivityNameQueryAPIResponse 从 sync.Pool 获取 TaobaoSingletreasureActivityNameQueryAPIResponse

func (*TaobaoSingletreasureActivityNameQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityNameQueryAPIResponseModel added in v1.2.0

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

TaobaoSingletreasureActivityNameQueryAPIResponseModel is 查询官方的活动名称接口 成功返回结果

func (*TaobaoSingletreasureActivityNameQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityNameQueryResultDto

type TaobaoSingletreasureActivityNameQueryResultDto struct {
	// data结果
	DataList []ActivityNameCategoryDto `json:"data_list,omitempty" xml:"data_list>activity_name_category_dto,omitempty"`
	// 请求返回描述信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 请求返回码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoSingletreasureActivityNameQueryResultDto 结构体

func GetTaobaoSingletreasureActivityNameQueryResultDto added in v1.3.4

func GetTaobaoSingletreasureActivityNameQueryResultDto() *TaobaoSingletreasureActivityNameQueryResultDto

GetTaobaoSingletreasureActivityNameQueryResultDto() 从对象池中获取TaobaoSingletreasureActivityNameQueryResultDto

type TaobaoSingletreasureActivityQueryAPIRequest added in v1.2.0

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

TaobaoSingletreasureActivityQueryAPIRequest 查询活动列表接口 API请求 taobao.singletreasure.activity.query

查询活动列表接口

func GetTaobaoSingletreasureActivityQueryAPIRequest added in v1.3.4

func GetTaobaoSingletreasureActivityQueryAPIRequest() *TaobaoSingletreasureActivityQueryAPIRequest

GetTaobaoSingletreasureActivityQueryRequest 从 sync.Pool 获取 TaobaoSingletreasureActivityQueryAPIRequest

func NewTaobaoSingletreasureActivityQueryRequest

func NewTaobaoSingletreasureActivityQueryRequest() *TaobaoSingletreasureActivityQueryAPIRequest

NewTaobaoSingletreasureActivityQueryRequest 初始化TaobaoSingletreasureActivityQueryAPIRequest对象

func (TaobaoSingletreasureActivityQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSingletreasureActivityQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSingletreasureActivityQueryAPIRequest) GetQuery added in v1.2.0

GetQuery Query Getter

func (TaobaoSingletreasureActivityQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSingletreasureActivityQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSingletreasureActivityQueryAPIRequest) SetQuery added in v1.2.0

SetQuery is Query Setter 查询对象

type TaobaoSingletreasureActivityQueryAPIResponse

type TaobaoSingletreasureActivityQueryAPIResponse struct {
	model.CommonResponse
	TaobaoSingletreasureActivityQueryAPIResponseModel
}

TaobaoSingletreasureActivityQueryAPIResponse 查询活动列表接口 API返回值 taobao.singletreasure.activity.query

查询活动列表接口

func GetTaobaoSingletreasureActivityQueryAPIResponse added in v1.3.4

func GetTaobaoSingletreasureActivityQueryAPIResponse() *TaobaoSingletreasureActivityQueryAPIResponse

GetTaobaoSingletreasureActivityQueryAPIResponse 从 sync.Pool 获取 TaobaoSingletreasureActivityQueryAPIResponse

func (*TaobaoSingletreasureActivityQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityQueryAPIResponseModel added in v1.2.0

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

TaobaoSingletreasureActivityQueryAPIResponseModel is 查询活动列表接口 成功返回结果

func (*TaobaoSingletreasureActivityQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityQueryResultDto

type TaobaoSingletreasureActivityQueryResultDto struct {
	// 查询结果
	DataList []ActivityInfo `json:"data_list,omitempty" xml:"data_list>activity_info,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误编码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 页码
	PageNumber int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// 总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 返回结果个数
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 系统执行是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoSingletreasureActivityQueryResultDto 结构体

func GetTaobaoSingletreasureActivityQueryResultDto added in v1.3.4

func GetTaobaoSingletreasureActivityQueryResultDto() *TaobaoSingletreasureActivityQueryResultDto

GetTaobaoSingletreasureActivityQueryResultDto() 从对象池中获取TaobaoSingletreasureActivityQueryResultDto

type TaobaoSingletreasureActivityUpdateAPIRequest added in v1.2.0

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

TaobaoSingletreasureActivityUpdateAPIRequest 修改活动接口 API请求 taobao.singletreasure.activity.update

修改活动接口

func GetTaobaoSingletreasureActivityUpdateAPIRequest added in v1.3.4

func GetTaobaoSingletreasureActivityUpdateAPIRequest() *TaobaoSingletreasureActivityUpdateAPIRequest

GetTaobaoSingletreasureActivityUpdateRequest 从 sync.Pool 获取 TaobaoSingletreasureActivityUpdateAPIRequest

func NewTaobaoSingletreasureActivityUpdateRequest

func NewTaobaoSingletreasureActivityUpdateRequest() *TaobaoSingletreasureActivityUpdateAPIRequest

NewTaobaoSingletreasureActivityUpdateRequest 初始化TaobaoSingletreasureActivityUpdateAPIRequest对象

func (TaobaoSingletreasureActivityUpdateAPIRequest) GetActivityInfo added in v1.2.0

GetActivityInfo ActivityInfo Getter

func (TaobaoSingletreasureActivityUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSingletreasureActivityUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSingletreasureActivityUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSingletreasureActivityUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSingletreasureActivityUpdateAPIRequest) SetActivityInfo added in v1.2.0

SetActivityInfo is ActivityInfo Setter 系统入参

type TaobaoSingletreasureActivityUpdateAPIResponse

type TaobaoSingletreasureActivityUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoSingletreasureActivityUpdateAPIResponseModel
}

TaobaoSingletreasureActivityUpdateAPIResponse 修改活动接口 API返回值 taobao.singletreasure.activity.update

修改活动接口

func GetTaobaoSingletreasureActivityUpdateAPIResponse added in v1.3.4

func GetTaobaoSingletreasureActivityUpdateAPIResponse() *TaobaoSingletreasureActivityUpdateAPIResponse

GetTaobaoSingletreasureActivityUpdateAPIResponse 从 sync.Pool 获取 TaobaoSingletreasureActivityUpdateAPIResponse

func (*TaobaoSingletreasureActivityUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityUpdateAPIResponseModel added in v1.2.0

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

TaobaoSingletreasureActivityUpdateAPIResponseModel is 修改活动接口 成功返回结果

func (*TaobaoSingletreasureActivityUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSingletreasureActivityUpdateResultDto

type TaobaoSingletreasureActivityUpdateResultDto struct {
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误编码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 套餐编辑是否成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 系统是否执行成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoSingletreasureActivityUpdateResultDto 结构体

func GetTaobaoSingletreasureActivityUpdateResultDto added in v1.3.4

func GetTaobaoSingletreasureActivityUpdateResultDto() *TaobaoSingletreasureActivityUpdateResultDto

GetTaobaoSingletreasureActivityUpdateResultDto() 从对象池中获取TaobaoSingletreasureActivityUpdateResultDto

Source Files

Jump to

Keyboard shortcuts

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