顶部导航

简要描述
  • 顶部导航接口
请求URL
  • http://xx.com/api/nav/topNav
请求方式
  • GET
请求参数
  • 无参数
返回示例
  {
    "code": 0,
    "msg": "",
    "data": {
       nav: [
        {
          path: "/",
          name: "home",
          title: "首页",
          exact: true,
        },
        {
          path: "/print",
          name: "print",
          title: "立刻报价",
          exact: false,
        },
        {
          path: "/case",
          name: "case",
          title: "行业案例",
          exact: false,
        },
        {
          path: "/mater",
          name: "mater",
          title: "材料展示",
          exact: false,
        },
        {
          path: "/new",
          name: "new",
          title: "新闻中心",
          exact: false,
        },
        {
          path: "/center",
          name: "center",
          title: "个人中心",
          exact: false,
        },
      ],
    }
  }
返回参数说明
参数名 类型 说明
name string 路由名称/英文名称
exact Boolean 精确模糊匹配导航
备注
  • 更多返回错误代码请看首页的错误代码描述