b2c.goods.get_type_detial 根据商品类型ID,获取商品类型详情

API应用级输入参数

参数 类型 是否必须 说明
type_id int N 商品类型ID

API应用级返回结果

成功后,返回结果

Array
(
    [rsp] => succ
    [data] => Array
        (
            [type_id] => 2
            [name] => 女装
            [alias] => 
            [price] => 
            [tab] => 
            [params] => 
            [setting] => Array
                (
                    [use_brand] => 1
                    [use_props] => 1
                )

            [props_values] => Array
                (
                    [1] => Array
                        (
                            [props_id] => 1
                            [props_name] => 季节
                            [search] => nav
                            [show] => on
                            [props_values] => Array
                                (
                                    [1] => Array
                                        (
                                            [name] => 春
                                            [props_value_id] => 1
                                        )

                                    [2] => Array
                                        (
                                            [name] => 夏
                                            [props_value_id] => 2
                                        )

                                    [3] => Array
                                        (
                                            [name] => 冬
                                            [props_value_id] => 3
                                        )

                                )

                        )

                    [2] => Array
                        (
                            [props_id] => 2
                            [props_name] => 质地
                            [search] => nav
                            [show] => on
                            [props_values] => Array
                                (
                                    [4] => Array
                                        (
                                            [name] => 全棉
                                            [props_value_id] => 4
                                        )

                                    [5] => Array
                                        (
                                            [name] => 真丝
                                            [props_value_id] => 5
                                        )

                                    [6] => Array
                                        (
                                            [name] => 涤纶
                                            [props_value_id] => 6
                                        )

                                    [7] => Array
                                        (
                                            [name] => 莫代尔
                                            [props_value_id] => 7
                                        )

                                    [8] => Array
                                        (
                                            [name] => 尼龙
                                            [props_value_id] => 8
                                        )

                                    [9] => Array
                                        (
                                            [name] => 进口面料
                                            [props_value_id] => 9
                                        )

                                )

                        )

                    [3] => Array
                        (
                            [props_id] => 3
                            [props_name] => 版型
                            [search] => nav
                            [show] => on
                            [props_values] => Array
                                (
                                    [10] => Array
                                        (
                                            [name] => 直筒
                                            [props_value_id] => 10
                                        )

                                    [11] => Array
                                        (
                                            [name] => 宽松
                                            [props_value_id] => 11
                                        )

                                    [12] => Array
                                        (
                                            [name] => 修身
                                            [props_value_id] => 12
                                        )

                                    [13] => Array
                                        (
                                            [name] => 紧身
                                            [props_value_id] => 13
                                        )

                                )

                        )

                    [4] => Array
                        (
                            [props_id] => 4
                            [props_name] => 场合
                            [search] => nav
                            [show] => on
                            [props_values] => Array
                                (
                                    [14] => Array
                                        (
                                            [name] => 休闲
                                            [props_value_id] => 14
                                        )

                                    [15] => Array
                                        (
                                            [name] => 运动
                                            [props_value_id] => 15
                                        )

                                    [16] => Array
                                        (
                                            [name] => 正式
                                            [props_value_id] => 16
                                        )

                                    [17] => Array
                                        (
                                            [name] => 聚会
                                            [props_value_id] => 17
                                        )

                                )

                        )

                )

            [spec_value] => Array
                (
                    [1] => Array
                        (
                            [spec_id] => 1
                            [spec_name] => 颜色
                            [spec_style] => flat
                            [spec_value] => Array
                                (
                                    [1] => Array
                                        (
                                            [spec_value] => 黑色
                                            [spec_value_id] => 1
                                        )

                                    [2] => Array
                                        (
                                            [spec_value] => 灰色
                                            [spec_value_id] => 2
                                        )

                                    [3] => Array
                                        (
                                            [spec_value] => 白色
                                            [spec_value_id] => 3
                                        )

                                    [4] => Array
                                        (
                                            [spec_value] => 米黄色
                                            [spec_value_id] => 4
                                        )

                                    [5] => Array
                                        (
                                            [spec_value] => 黄色
                                            [spec_value_id] => 5
                                        )

                                    [6] => Array
                                        (
                                            [spec_value] => 卡其色
                                            [spec_value_id] => 6
                                        )

                                    [7] => Array
                                        (
                                            [spec_value] => 金色
                                            [spec_value_id] => 7
                                        )

                                    [8] => Array
                                        (
                                            [spec_value] => 银色
                                            [spec_value_id] => 8
                                        )

                                    [9] => Array
                                        (
                                            [spec_value] => 橙色
                                            [spec_value_id] => 9
                                        )

                                    [10] => Array
                                        (
                                            [spec_value] => 粉红色
                                            [spec_value_id] => 10
                                        )

                                    [11] => Array
                                        (
                                            [spec_value] => 红色
                                            [spec_value_id] => 11
                                        )

                                    [12] => Array
                                        (
                                            [spec_value] => 酒红色
                                            [spec_value_id] => 12
                                        )

                                    [13] => Array
                                        (
                                            [spec_value] => 咖啡色
                                            [spec_value_id] => 13
                                        )

                                    [14] => Array
                                        (
                                            [spec_value] => 蓝色
                                            [spec_value_id] => 14
                                        )

                                    [15] => Array
                                        (
                                            [spec_value] => 深蓝色
                                            [spec_value_id] => 15
                                        )

                                    [16] => Array
                                        (
                                            [spec_value] => 浅蓝色
                                            [spec_value_id] => 16
                                        )

                                    [17] => Array
                                        (
                                            [spec_value] => 紫色
                                            [spec_value_id] => 17
                                        )

                                    [18] => Array
                                        (
                                            [spec_value] => 绿色
                                            [spec_value_id] => 18
                                        )

                                )

                        )

                    [2] => Array
                        (
                            [spec_id] => 2
                            [spec_name] => 尺码
                            [spec_style] => flat
                            [spec_value] => Array
                                (
                                    [19] => Array
                                        (
                                            [spec_value] => 均码
                                            [spec_value_id] => 19
                                        )

                                    [20] => Array
                                        (
                                            [spec_value] => XXS
                                            [spec_value_id] => 20
                                        )

                                    [21] => Array
                                        (
                                            [spec_value] => XS
                                            [spec_value_id] => 21
                                        )

                                    [22] => Array
                                        (
                                            [spec_value] => S
                                            [spec_value_id] => 22
                                        )

                                    [23] => Array
                                        (
                                            [spec_value] => M
                                            [spec_value_id] => 23
                                        )

                                    [24] => Array
                                        (
                                            [spec_value] => L
                                            [spec_value_id] => 24
                                        )

                                    [25] => Array
                                        (
                                            [spec_value] => XL
                                            [spec_value_id] => 25
                                        )

                                    [26] => Array
                                        (
                                            [spec_value] => XXL
                                            [spec_value_id] => 26
                                        )

                                )

                        )

                )

            [brand_detial] => Array
                (
                    [0] => Array
                        (
                            [brand_name] => ELLE
                            [brand_id] => 4
                        )

                    [1] => Array
                        (
                            [brand_name] => Esprit
                            [brand_id] => 5
                        )

                    [2] => Array
                        (
                            [brand_name] => ONLY
                            [brand_id] => 6
                        )

                    [3] => Array
                        (
                            [brand_name] => VERO MODA
                            [brand_id] => 7
                        )

                )

        )

    [res] => AB866C2B49983FB9998CB17D2021013C  
)

失败返回

Array
(
    [rsp] => succ
    [data] => Array
        (
            [props_values] => 
            [spec_value] => 
            [brand_detial] => Array
                (
                )

        )

    [res] => 67A2FF7E135D1A226041ADEB262FB2D2  
)




沪ICP备05002918号

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