微信导航界面接口文档

微信接口

1. 导航首页接口

加载图示数据
  • 接口说明: 微信导航界面首页多个菜单的数据加载
  • 相对地址:/wechatRouterList
  • 请求方式:POST
  • 参数:无
  • 响应数据类型:JSON
  • 响应数据说明:JSON数据为数组格式,其中每一个数组对象中存 在三个字段,
    text字段代表当前节点显示名称
    id字段代表当前节点的id属性
    iconUrl字段代表当前节点的icon图标的url地址
  • 数据demo(JS对象格式):
[
  {
    // 字体最多有十个
    "text": "我要过户",
    "iconUrl": "people",
    "id": "我要过户",
  },
  {
    "text": "我要抵押(注销)",
    "iconUrl": "people",
    "id": "我要抵押(注销)",
  }, {
  "text": "我要变更",
  "iconUrl": "people",
  "id": "我要变更",
},
  {
    "text": "拆迁补偿登记",
    "iconUrl": "people",
    "id": "拆迁补偿登记",
  }, {
  "text": "遗失补办",
  "iconUrl": "people",
  "id": "遗失补办",
},
  {
    "text": "其他登记业务",
    "iconUrl": "people",
    "id": "其他登记业务",
  },
]

2. 微信导航节点数据接口

  • 接口说明: 微信导航界面每一个菜单加载
  • 相对地址:/wechatRouterListById
  • 请求方式:POST
  • 参数:itemId 当前节点id属性值
  • 响应数据类型:JSON
  • 响应数据说明:JSON数据为数组格式,其中每一个数组对象中存 在三个字段,
    id字段代表当前节点的id属性
    text字段代表当前节点的文本内容
    iconUrl字段代表当前节点的图标的url区域
    children字段代表当前节点的子节点,可以为空数组,但不能为空对象或者null/undefined/""
  • 数据demo(JS对象):
[
  {
    text: "交易转移",
    iconUrl: "balabala",
    id: "001",
    children: [
      {
        "text": "住宅",
        "iconUrl": "people",
        "id": "011",
        children: [
          {
            "text": "一手住宅",
            "iconUrl": "people",
            "id": "021",
            children: [
              {
                "text": "已办预告登记",
                "iconUrl": "people",
                "id": "031",
                children: [
                  {
                    "text": "申请材料",
                    "iconUrl": "people",
                    "id": "041",
                    data:{
                      type:"html",
                      text:"
" }, children: null }, { "text": "办理机构", "iconUrl": "people", "id": "042", children: null }, { "text": "办理时限", "iconUrl": "people", "id": "043", }, { "text": "收费标准", "iconUrl": "people", "id": "044", children: null }, { "text": "领证方式", "iconUrl": "people", "id": "045", children: null }, { "text": "办理流程", "iconUrl": "people", "id": "046", children: null, }, { "text": "注意事项", "iconUrl": "people", "id": "047", children: null, }, ], }, { "text": "未办预告登记", "iconUrl": "people", "id": "032", children: [ { "text": "申请材料", "iconUrl": "people", "id": "032x", children: null }, { "text": "办理机构", "iconUrl": "people", "id": "042x", children: null }, { "text": "办理时限", "iconUrl": "people", "id": "043x", }, { "text": "收费标准", "iconUrl": "people", "id": "044x", children: null }, { "text": "领证方式", "iconUrl": "people", "id": "045x", children: null }, { "text": "办理流程", "iconUrl": "people", "id": "046x", children: null, }, { "text": "注意事项", "iconUrl": "people", "id": "047x", children: null, }, ], }, ], }, { "text": "二手住宅", "iconUrl": "people", "id": "022", children: [ { "text": "房改屋", "iconUrl": "people", "id": "032a", children: [ { "text": "买家自然人", "iconUrl": "people", "id": "042a", children: [ { "text": "申请材料", "iconUrl": "people", "id": "051a", }, { "text": "办理机构", "iconUrl": "people", "id": "052a", }, { "text": "办理时限", "iconUrl": "people", "id": "053a", }, { "text": "收费标准", "iconUrl": "people", "id": "054a", }, { "text": "领证方式", "iconUrl": "people", "id": "055a", }, { "text": "办理流程", "iconUrl": "people", "id": "056a", }, { "text": "注意事项", "iconUrl": "people", "id": "057a", }, ], }, { "text": "买家非自然人", "iconUrl": "people", "id": "ididid", children: [ { "text": "申请材料", "iconUrl": "people", "id": "ididid", }, { "text": "办理机构", "iconUrl": "people", "id": "ididid", }, { "text": "办理时限", "iconUrl": "people", "id": "ididid", }, { "text": "收费标准", "iconUrl": "people", "id": "ididid", }, { "text": "领证方式", "iconUrl": "people", "id": "ididid", }, { "text": "办理流程", "iconUrl": "people", "id": "ididid", }, { "text": "注意事项", "iconUrl": "people", "id": "ididid", }, ], },] }, { "text": "其它房屋", "iconUrl": "people", "id": "ididid", }, ], }, ], },{ "text": "车位", "iconUrl": "people", "id": "ididid", children: [ { "text": "申请材料", "iconUrl": "people", "id": "ididid", }, { "text": "办理机构", "iconUrl": "people", "id": "ididid", }, { "text": "办理时限", "iconUrl": "people", "id": "ididid", }, { "text": "收费标准", "iconUrl": "people", "id": "ididid", }, { "text": "领证方式", "iconUrl": "people", "id": "ididid", }, { "text": "办理流程", "iconUrl": "people", "id": "ididid", }, { "text": "注意事项", "iconUrl": "people", "id": "ididid", }, ], },{ "text": "商服用房", "iconUrl": "people", "id": "ididid", children: [ { "text": "申请材料", "iconUrl": "people", "id": "ididid", }, { "text": "办理机构", "iconUrl": "people", "id": "ididid", }, { "text": "办理时限", "iconUrl": "people", "id": "ididid", }, { "text": "收费标准", "iconUrl": "people", "id": "ididid", }, { "text": "领证方式", "iconUrl": "people", "id": "ididid", }, { "text": "办理流程", "iconUrl": "people", "id": "ididid", }, { "text": "注意事项", "iconUrl": "people", "id": "ididid", }, ], }, ], }, { text: "赠与", iconUrl: "balabala", id: "002", children: [ { "text": "申请材料", "iconUrl": "people", "id": "ididid", }, { "text": "办理机构", "iconUrl": "people", "id": "ididid", }, { "text": "收费标准", "iconUrl": "people", "id": "ididid", }, { "text": "领证方式", "iconUrl": "people", "id": "ididid", }, { "text": "办理流程", "iconUrl": "people", "id": "ididid", }, ], }, { text: "集成", iconUrl: "balabala", id: "003", children: [ { "text": "申请材料", "iconUrl": "people", "id": "ididid", }, { "text": "办理机构", "iconUrl": "people", "id": "ididid", }, { "text": "收费标准", "iconUrl": "people", "id": "ididid", }, { "text": "办理期限", "iconUrl": "people", "id": "ididid", }, { "text": "领证方式", "iconUrl": "people", "id": "ididid", }, { "text": "办理流程", "iconUrl": "people", "id": "ididid", }, ], }, { text: "析产(夫妻或共有人划分产权)", iconUrl: "balabala", id: "004", children: [ { "text": "不动产办事指南", "iconUrl": "people", "id": "ididid", } ], }, { text: "裁(判)决转移", iconUrl: "balabala", id: "005", children: [ { "text": "不动产办事指南", "iconUrl": "people", "id": "ididid", } ], }, ]

3. 微信导航详情页面接口

  • 接口说明: 微信导航详情页面展示接口,根据对应节点的id获取当前节点在配置界面中保存的富文本编辑器保存的HTML页面内容
  • 相对地址:/getDetailHtmlById
  • 请求方式:POST
  • 参数:id 当前节点id属性值
  • 响应数据类型:JSON
  • 响应数据说明:JSON数据为对象格式,
    detailHTML字段代表富文本编辑器保存的内容(富文本编辑器使用默认为wangEditor)
  • 数据demo(JS对象):
detailHTML:`
`

你可能感兴趣的:(微信导航界面接口文档)