获取首页分类和基础数据 
接口功能 
获取首页分类和基础数据
URL 
支持格式 
JSON
HTTP请求方式 
GET
请求参数 
无
接口示例 
json5
{
  "msg": "ok",
  "data": {
    "category": [
      {
        "id": 1,
        "name": "推荐",
        "order": 50,
        "template": "index"
      },
      // ...
    ],
    "data": [
      {
        "id": 1,
        "type": "swiper",
        "data": {
          "0": {
            "src": "http://...png"
          },
          // ...
        },
        "order": 50,
        "app_index_category_id": 1
      },
      {
        "id": 2,
        "type": "indexnavs",
        "data": {
          "0": {
            "src": "http://...png",
            "text": "新品发布"
          },
         // ...
        },
        "order": 50,
        "app_index_category_id": 1
      },
      {
        "id": 3,
        "type": "threeAdv",
        "data": {
          "0": {
            "src": "http://...png"
          },
          // ...
        },
        "order": 50,
        "app_index_category_id": 1
      },
      {
        "id": 4,
        "type": "oneAdv",
        "data": {
          "title": "每日精选",
          "cover": "http://...png",
        },
        "order": 50,
        "app_index_category_id": 1
      },
      {
        "id": 5,
        "type": "list",
        "data": {
          "0": {
            "id": 25,
            "cover": "http://...png",
            "title": "米家空调",
            "desc": "全新...任你挑选",
            "oprice": 2699,
            "pprice": 1399
          },
          // ...
        },
        "order": 50,
        "app_index_category_id": 1
      }
    ]
  }
}