b2c.brand.get_brand_detail 获取品牌数据(根据品牌排序查询列表)

API应用级输入参数

brand_name string N 品牌名称,可根据品牌名称查询品牌基本数据
brand_id int N 品牌ID,可根据品牌ID查询品牌数据, 品牌ID可以多个
page_no int N 页码 默认为1
page_size int N 分页大小 默认10

API应用级返回结果

成功后,返回结果

Array
(
    [rsp] => succ
    [data] => Array
        (
            [brandData] => Array
                (
                    [1] => Array
                        (
                            [brand_id] => 1
                            [brand_name] => CHANEL
                            [brand_url] => http://www.chanel.com
                            [brand_desc] =>  
                            [brand_logo] => 032883767021fff6c6972bbe74483ab5
                            [ordernum] => 0
                            [brand_alias] => Array
                                (
                                    [0] => 香奈儿
                                    [1] => 香奈尔
                                )

                            [image] => Array
                                (
                                    [s_url] => http://pic.shopex.cn/pictures/eimages/e699fa31d3e2166593f87219daeaa91b9de52114c9.png
                                    [m_url] => http://pic.shopex.cn/pictures/eimages/3112936eb23631b6225910c334019bd41f3b2a3b48.png
                                    [l_url] => http://pic.shopex.cn/pictures/eimages/537a4a2df5f8be9f886a1b65d77c6276af966c2151.png
                                )

                        )

                )

            [total] => 1
        )

    [res] => c859629d017054a80c65ee560e611eac
)



失败后,返回结果

Array
(
    [rsp] => succ
    [data] => Array
        (
            [brandData] => Array
                (
                )

            [total] => 0
        )

    [res] => 28d120d09b954b4c9e50e9c01e24d7c6
)




沪ICP备05002918号

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