Documentation ¶
Index ¶
- type ShopGetShopCategoryParam
- type ShopGetShopCategoryRequest
- func (c *ShopGetShopCategoryRequest) Execute(accessToken *doudian_sdk.AccessToken) (*shop_getShopCategory_response.ShopGetShopCategoryResponse, error)
- func (c *ShopGetShopCategoryRequest) GetParamObject() interface{}
- func (c *ShopGetShopCategoryRequest) GetParams() *ShopGetShopCategoryParam
- func (c *ShopGetShopCategoryRequest) GetUrlPath() string
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 New() *ShopGetShopCategoryRequest
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 (c *ShopGetShopCategoryRequest) GetParams() *ShopGetShopCategoryParam
func (*ShopGetShopCategoryRequest) GetUrlPath ¶
func (c *ShopGetShopCategoryRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.