早餐


分类列表(树形)

简要描述:

  • 分类列表(树形)

请求URL:

  • /goodsClass/treeLists

请求方式:

  • POST

参数:

参数名 必选 类型 说明
t_id int 商品编号

返回示例

{
  "code": 0,
  "message": "",
  "data": [
    {
      "gc_id": 1,
      "gc_name": "食品",
      "gc_parent_id": 0,
      "gc_sort": 0,
      "gc_is_hide": 0,
      "gc_icon": null,
      "gc_description": null,
      "gc_create_time": "2018-08-01 09:44:55",
      "children_list": [
        {
          "gc_id": 1,
          "gc_name": "食品",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 09:44:55"
        },
        {
          "gc_id": 3,
          "gc_name": "服饰",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 09:47:37"
        },
        {
          "gc_id": 7,
          "gc_name": "数码产品",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 10:00:22"
        },
        {
          "gc_id": 12,
          "gc_name": "测试",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 15:18:47"
        },
        {
          "gc_id": 13,
          "gc_name": "数码",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 15:30:15"
        }
      ]
    },
    {
      "gc_id": 3,
      "gc_name": "服饰",
      "gc_parent_id": 0,
      "gc_sort": 0,
      "gc_is_hide": 0,
      "gc_icon": null,
      "gc_description": null,
      "gc_create_time": "2018-08-01 09:47:37",
      "children_list": [
        {
          "gc_id": 1,
          "gc_name": "食品",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 09:44:55"
        },
        {
          "gc_id": 3,
          "gc_name": "服饰",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 09:47:37"
        },
        {
          "gc_id": 7,
          "gc_name": "数码产品",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 10:00:22"
        },
        {
          "gc_id": 12,
          "gc_name": "测试",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 15:18:47"
        },
        {
          "gc_id": 13,
          "gc_name": "数码",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 15:30:15"
        }
      ]
    },
    {
      "gc_id": 7,
      "gc_name": "数码产品",
      "gc_parent_id": 0,
      "gc_sort": 0,
      "gc_is_hide": 0,
      "gc_icon": null,
      "gc_description": null,
      "gc_create_time": "2018-08-01 10:00:22",
      "children_list": [
        {
          "gc_id": 1,
          "gc_name": "食品",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 09:44:55"
        },
        {
          "gc_id": 3,
          "gc_name": "服饰",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 09:47:37"
        },
        {
          "gc_id": 7,
          "gc_name": "数码产品",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 10:00:22"
        },
        {
          "gc_id": 12,
          "gc_name": "测试",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 15:18:47"
        },
        {
          "gc_id": 13,
          "gc_name": "数码",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 15:30:15"
        }
      ]
    },
    {
      "gc_id": 12,
      "gc_name": "测试",
      "gc_parent_id": 0,
      "gc_sort": 0,
      "gc_is_hide": 0,
      "gc_icon": null,
      "gc_description": null,
      "gc_create_time": "2018-08-01 15:18:47",
      "children_list": [
        {
          "gc_id": 1,
          "gc_name": "食品",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 09:44:55"
        },
        {
          "gc_id": 3,
          "gc_name": "服饰",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 09:47:37"
        },
        {
          "gc_id": 7,
          "gc_name": "数码产品",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 10:00:22"
        },
        {
          "gc_id": 12,
          "gc_name": "测试",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 15:18:47"
        },
        {
          "gc_id": 13,
          "gc_name": "数码",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 15:30:15"
        }
      ]
    },
    {
      "gc_id": 13,
      "gc_name": "数码",
      "gc_parent_id": 0,
      "gc_sort": 0,
      "gc_is_hide": 0,
      "gc_icon": null,
      "gc_description": null,
      "gc_create_time": "2018-08-01 15:30:15",
      "children_list": [
        {
          "gc_id": 1,
          "gc_name": "食品",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 09:44:55"
        },
        {
          "gc_id": 3,
          "gc_name": "服饰",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 09:47:37"
        },
        {
          "gc_id": 7,
          "gc_name": "数码产品",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 10:00:22"
        },
        {
          "gc_id": 12,
          "gc_name": "测试",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 15:18:47"
        },
        {
          "gc_id": 13,
          "gc_name": "数码",
          "gc_parent_id": 0,
          "gc_sort": 0,
          "gc_is_hide": 0,
          "gc_icon": null,
          "gc_description": null,
          "gc_create_time": "2018-08-01 15:30:15"
        }
      ]
    }
  ]
}

页面列表

ITEM_HTML