简要描述:

  • 周边游-通过上级id获取分类

请求URL:

GET/route=plugin.travel-around.frontend.goods.goods.getCategoryByParentId&parent_id=639

参数:

参数名 类型 说明 必须
parent_id int 上级分类id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "",
    "data": [
        {
            "id": 640,
            "name": "中餐",
            "thumb": ""
        },
        {
            "id": 671,
            "name": "西餐",
            "thumb": ""
        },
        {
            "id": 675,
            "name": "异域菜",
            "thumb": ""
        },
        {
            "id": 686,
            "name": "日韩料",
            "thumb": ""
        },
        {
            "id": 690,
            "name": "火锅串串",
            "thumb": ""
        },
        {
            "id": 724,
            "name": "烧烤",
            "thumb": ""
        },
        {
            "id": 735,
            "name": "海鲜",
            "thumb": ""
        },
        {
            "id": 740,
            "name": "甜品",
            "thumb": ""
        },
        {
            "id": 755,
            "name": "饮品",
            "thumb": ""
        },
        {
            "id": 761,
            "name": "熟食小吃",
            "thumb": ""
        },
        {
            "id": 763,
            "name": "自助餐",
            "thumb": ""
        },
        {
            "id": 780,
            "name": "餐饮类其他",
            "thumb": ""
        },
        {
            "id": 782,
            "name": "烤肉",
            "thumb": ""
        },
        {
            "id": 793,
            "name": "团餐(6人以上套餐)",
            "thumb": ""
        },
        {
            "id": 806,
            "name": "茶点",
            "thumb": ""
        },
        {
            "id": 814,
            "name": "快餐小吃",
            "thumb": ""
        },
        {
            "id": 826,
            "name": "特色餐厅",
            "thumb": ""
        },
        {
            "id": 1026,
            "name": "辣味火锅/串串",
            "thumb": null
        },
        {
            "id": 1027,
            "name": "汉堡",
            "thumb": null
        },
        {
            "id": 1028,
            "name": "冷吃兔/兔头/兔丁",
            "thumb": null
        },
        {
            "id": 1029,
            "name": "川菜、烤鸭",
            "thumb": null
        },
        {
            "id": 1030,
            "name": "披萨",
            "thumb": null
        },
        {
            "id": 1031,
            "name": "豆花/面食/简餐",
            "thumb": null
        },
        {
            "id": 1032,
            "name": "北京菜",
            "thumb": null
        }
    ]
}