product_listV2_request

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProductListV2Param

type ProductListV2Param struct {
	// 商品在店铺中状态: 0-在线;1-下线;2-删除;详见商品状态机:https://op.jinritemai.com/docs/question-docs/92/2070
	Status int64 `json:"status"`
	// 商品审核状态: 1-未提交;2-待审核;3-审核通过;4-审核未通过;5-封禁;7-审核通过待上架;详见商品状态机:https://op.jinritemai.com/docs/question-docs/92/2070
	CheckStatus int64 `json:"check_status"`
	// 商品类型;0-普通;1-新客商品;3-虚拟;6-玉石闪购;7-云闪购 ;127-其他类型;
	ProductType int64 `json:"product_type"`
	// 商品创建开始时间,unix时间戳,单位:秒;
	StartTime int64 `json:"start_time"`
	// 商品创建结束时间,unix时间戳,单位:秒;
	EndTime int64 `json:"end_time"`
	// 商品更新开始时间,unix时间戳,单位:秒;注意:查询范围是update_start_time和update_end_time之间的数据,不包含入参时间。
	UpdateStartTime int64 `json:"update_start_time"`
	// 商品更新结束时间,unix时间戳,单位:秒;注意:查询范围是update_start_time和update_end_time之间的数据,不包含入参时间。
	UpdateEndTime int64 `json:"update_end_time"`
	// 页码,从1开始,最大为100;page* size最大不能超过1万条
	Page int64 `json:"page"`
	// 页数,填写范围1~100;page* size最大不能超过1万条
	Size int64 `json:"size"`
	// 小时达商家使用的门店id
	StoreId int64 `json:"store_id"`
}

type ProductListV2Request

type ProductListV2Request struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *ProductListV2Param
}

func New

func New() *ProductListV2Request

func (*ProductListV2Request) Execute

func (c *ProductListV2Request) Execute(accessToken *doudian_sdk.AccessToken) (*product_listV2_response.ProductListV2Response, error)

func (*ProductListV2Request) GetParamObject

func (c *ProductListV2Request) GetParamObject() interface{}

func (*ProductListV2Request) GetParams

func (c *ProductListV2Request) GetParams() *ProductListV2Param

func (*ProductListV2Request) GetUrlPath

func (c *ProductListV2Request) GetUrlPath() string

Jump to

Keyboard shortcuts

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