shop_getShopCategory_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 ShopGetShopCategoryParam

type ShopGetShopCategoryParam struct {
	// 父类目id,根据父id可以获取子类目。首次请求传值为0 可以获取所有一级类目。循环调用接口获取最小层级类目id,根据响应参数判断is_leaf=true或false。is_leaf=true表示是叶子节点,获取最小层级类目id,is_leaf=false表示不是子节点,请求参数cid=上一次响应参数id,直到获取最小层级类目id。
	Cid int64 `json:"cid"`
}

type ShopGetShopCategoryRequest

type ShopGetShopCategoryRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *ShopGetShopCategoryParam
}

func New

func (*ShopGetShopCategoryRequest) Execute

func (c *ShopGetShopCategoryRequest) Execute(accessToken *doudian_sdk.AccessToken) (*shop_getShopCategory_response.ShopGetShopCategoryResponse, error)

func (*ShopGetShopCategoryRequest) GetParamObject

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

func (*ShopGetShopCategoryRequest) GetParams

func (*ShopGetShopCategoryRequest) GetUrlPath

func (c *ShopGetShopCategoryRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

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