b2c.goods.get_cat_list 根据商品分类ID获取下级分类列表

API应用级输入参数

参数 类型 是否必须 说明
cat_id int N 分类ID (如果不填默认为0,返回顶级分类列表)

API应用级返回结果

成功后,返回结果

Array
(
    [rsp] => succ
    [data] => Array
        (
            [0] => Array
                (
                    [parent_id] => 1
                    [cat_id] => 2
                    [cat_name] => 凉鞋
                    [is_leaf] => false
                    [type_id] => 5
                    [last_modify] => 1418119689
                )

            [1] => Array
                (
                    [parent_id] => 1
                    [cat_id] => 3
                    [cat_name] => 单鞋
                    [is_leaf] => false
                    [type_id] => 5
                    [last_modify] => 1418119689
                )

            [2] => Array
                (
                    [parent_id] => 1
                    [cat_id] => 4
                    [cat_name] => 靴子
                    [is_leaf] => false
                    [type_id] => 5
                    [last_modify] => 1418119689
                )

        )

    [res] => 6291A03BFC9D5E9299D342D39A610CD7  
)

失败返回

Array
(
    [rsp] => succ
    [res] => B0F492CB13C2EC318FCDE016363386CF
    [data] => null
)




沪ICP备05002918号

© 2003-2017 ShopEx,Inc.All rights reserved.