16.类面服务_3.获取某一分类详情

简要描述
  • 获取某一分类详情接口
请求URL
  • http://101.34.87.143:8083/wx/catalog/index?id=1005000
请求方式
  • GET
参数
参数名 必选 类型 说明
id int 一级类目id
返回示例
{
    "errno": 0,
    "data": {
        "currentCategory": {
            "id": 1005000,
            "name": "居家",
            "keywords": "",
            "desc": "回家,放松身心",
            "pid": 0,
            "iconUrl": "http://yanxuan.nosdn.127.net/a45c2c262a476fea0b9fc684fed91ef5.png",
            "picUrl": "http://yanxuan.nosdn.127.net/e8bf0cf08cf7eda21606ab191762e35c.png",
            "level": "L1",
            "sortOrder": 2,
            "addTime": "2018-02-01 00:00:00",
            "updateTime": "2018-02-01 00:00:00",
            "deleted": false
        },
        "categoryList": [
            {
                "id": 1005000,
                "name": "居家",
                "keywords": "",
                "desc": "回家,放松身心",
                "pid": 0,
                "iconUrl": "http://yanxuan.nosdn.127.net/a45c2c262a476fea0b9fc684fed91ef5.png",
                "picUrl": "http://yanxuan.nosdn.127.net/e8bf0cf08cf7eda21606ab191762e35c.png",
                "level": "L1",
                "sortOrder": 2,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1005001,
                "name": "餐厨",
                "keywords": "",
                "desc": "爱,囿于厨房",
                "pid": 0,
                "iconUrl": "http://yanxuan.nosdn.127.net/ad8b00d084cb7d0958998edb5fee9c0a.png",
                "picUrl": "http://yanxuan.nosdn.127.net/3708dbcb35ad5abf9e001500f73db615.png",
                "level": "L1",
                "sortOrder": 3,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1005002,
                "name": "饮食",
                "keywords": "",
                "desc": "好吃,高颜值美食",
                "pid": 0,
                "iconUrl": "http://yanxuan.nosdn.127.net/c9280327a3fd2374c000f6bf52dff6eb.png",
                "picUrl": "http://yanxuan.nosdn.127.net/fb670ff3511182833e5b035275e4ac09.png",
                "level": "L1",
                "sortOrder": 9,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1008000,
                "name": "配件",
                "keywords": "",
                "desc": "配角,亦是主角",
                "pid": 0,
                "iconUrl": "http://yanxuan.nosdn.127.net/11abb11c4cfdee59abfb6d16caca4c6a.png",
                "picUrl": "http://yanxuan.nosdn.127.net/02f9a44d05c05c0dd439a5eb674570a2.png",
                "level": "L1",
                "sortOrder": 4,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1010000,
                "name": "服装",
                "keywords": "",
                "desc": "贴身的,要亲肤",
                "pid": 0,
                "iconUrl": "http://yanxuan.nosdn.127.net/28a685c96f91584e7e4876f1397767db.png",
                "picUrl": "http://yanxuan.nosdn.127.net/622c8d79292154017b0cbda97588a0d7.png",
                "level": "L1",
                "sortOrder": 5,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1011000,
                "name": "婴童",
                "keywords": "",
                "desc": "爱,从心开始",
                "pid": 0,
                "iconUrl": "http://yanxuan.nosdn.127.net/1ba9967b8de1ac50fad21774a4494f5d.png",
                "picUrl": "http://yanxuan.nosdn.127.net/9cc0b3e0d5a4f4a22134c170f10b70f2.png",
                "level": "L1",
                "sortOrder": 7,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1012000,
                "name": "杂货",
                "keywords": "",
                "desc": "解忧,每个烦恼",
                "pid": 0,
                "iconUrl": "http://yanxuan.nosdn.127.net/c2a3d6349e72c35931fe3b5bcd0966be.png",
                "picUrl": "http://yanxuan.nosdn.127.net/547853361d29a37282f377b9a755dd37.png",
                "level": "L1",
                "sortOrder": 8,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1013001,
                "name": "洗护",
                "keywords": "",
                "desc": "亲肤之物,严选天然",
                "pid": 0,
                "iconUrl": "http://yanxuan.nosdn.127.net/9fe068776b6b1fca13053d68e9c0a83f.png",
                "picUrl": "http://yanxuan.nosdn.127.net/1526ab0f5982722adbc8726f9f2a338c.png",
                "level": "L1",
                "sortOrder": 6,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1019000,
                "name": "志趣",
                "keywords": "",
                "desc": "周边精品,共享热爱",
                "pid": 0,
                "iconUrl": "http://yanxuan.nosdn.127.net/7093cfecb9dde1dd3eaf459623df4071.png",
                "picUrl": "http://yanxuan.nosdn.127.net/1706e24a5e605870ba3b37ff5f49aa18.png",
                "level": "L1",
                "sortOrder": 10,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            }
        ],
        "currentSubCategory": [
            {
                "id": 1008002,
                "name": "布艺软装",
                "keywords": "",
                "desc": "各种风格软装装点你的家",
                "pid": 1005000,
                "iconUrl": "http://yanxuan.nosdn.127.net/8bbcd7de60a678846664af998f57e71c.png",
                "picUrl": "http://yanxuan.nosdn.127.net/2e2fb4f2856a021bbcd1b4c8400f2b06.png",
                "level": "L2",
                "sortOrder": 6,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1008008,
                "name": "被枕",
                "keywords": "",
                "desc": "守护你的睡眠时光",
                "pid": 1005000,
                "iconUrl": "http://yanxuan.nosdn.127.net/927bc33f7ae2895dd6c11cf91f5e3228.png",
                "picUrl": "http://yanxuan.nosdn.127.net/b43ef7cececebe6292d2f7f590522e05.png",
                "level": "L2",
                "sortOrder": 2,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1008009,
                "name": "床品件套",
                "keywords": "",
                "desc": "MUJI等品牌制造商出品",
                "pid": 1005000,
                "iconUrl": "http://yanxuan.nosdn.127.net/243e5bf327a87217ad1f54592f0176ec.png",
                "picUrl": "http://yanxuan.nosdn.127.net/81f671bd36bce05d5f57827e5c88dd1b.png",
                "level": "L2",
                "sortOrder": 4,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1008016,
                "name": "灯具",
                "keywords": "",
                "desc": "一盏灯,温暖一个家",
                "pid": 1005000,
                "iconUrl": "http://yanxuan.nosdn.127.net/c48e0d9dcfac01499a437774a915842b.png",
                "picUrl": "http://yanxuan.nosdn.127.net/f702dc399d14d4e1509d5ed6e57acd19.png",
                "level": "L2",
                "sortOrder": 8,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1010003,
                "name": "地垫",
                "keywords": "",
                "desc": "家里的第“五”面墙",
                "pid": 1005000,
                "iconUrl": "http://yanxuan.nosdn.127.net/83d4c87f28c993af1aa8d3e4d30a2fa2.png",
                "picUrl": "http://yanxuan.nosdn.127.net/1611ef6458e244d1909218becfe87c4d.png",
                "level": "L2",
                "sortOrder": 5,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1011003,
                "name": "床垫",
                "keywords": "",
                "desc": "承托你的好时光",
                "pid": 1005000,
                "iconUrl": "http://yanxuan.nosdn.127.net/316afeb3948b295dfe073e4c51f77a42.png",
                "picUrl": "http://yanxuan.nosdn.127.net/d6e0e84961032fc70fd52a8d4d0fb514.png",
                "level": "L2",
                "sortOrder": 3,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1011004,
                "name": "家饰",
                "keywords": "",
                "desc": "装饰你的家",
                "pid": 1005000,
                "iconUrl": "http://yanxuan.nosdn.127.net/ab0df9445d985bf6719ac415313a8e88.png",
                "picUrl": "http://yanxuan.nosdn.127.net/79275db76b5865e6167b0fbd141f2d7e.png",
                "level": "L2",
                "sortOrder": 9,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1015000,
                "name": "家具",
                "keywords": "",
                "desc": "大师级工艺",
                "pid": 1005000,
                "iconUrl": "http://yanxuan.nosdn.127.net/4f00675caefd0d4177892ad18bfc2df6.png",
                "picUrl": "http://yanxuan.nosdn.127.net/d5d41841136182bf49c1f99f5c452dd6.png",
                "level": "L2",
                "sortOrder": 7,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1017000,
                "name": "宠物",
                "keywords": "",
                "desc": "抑菌除味,打造宠物舒适空间",
                "pid": 1005000,
                "iconUrl": "http://yanxuan.nosdn.127.net/a0352c57c60ce4f68370ecdab6a30857.png",
                "picUrl": "http://yanxuan.nosdn.127.net/dae4d6e89ab8a0cd3e8da026e4660137.png",
                "level": "L2",
                "sortOrder": 10,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            },
            {
                "id": 1036000,
                "name": "夏凉",
                "keywords": "",
                "desc": "夏凉床品,舒适一夏",
                "pid": 1005000,
                "iconUrl": "http://yanxuan.nosdn.127.net/13ff4decdf38fe1a5bde34f0e0cc635a.png",
                "picUrl": "http://yanxuan.nosdn.127.net/bd17c985bacb9b9ab1ab6e9d66ee343c.png",
                "level": "L2",
                "sortOrder": 1,
                "addTime": "2018-02-01 00:00:00",
                "updateTime": "2018-02-01 00:00:00",
                "deleted": false
            }
        ]
    },
    "errmsg": "成功"
}
返回参数说明
参数名 类型 说明
eroor int 返回错误信息代码
data jsonarray 包含关键字的商品,集合
currentCategory int 当前类别 信息
currentSubCategory jsonarray 数据 集合
errmsg string 返回 状态信息
备注
  • 更多返回错误代码请看首页的错误代码描述