navigations - TimYi/FengHuang GitHub Wiki

请求URL

http://101.200.229.135:8080/api/navigations

请求方式

GET  

返回参数

id:id
ordernum:排序序号
type:类型,枚举值:URL,DROPDOWN;如果是URL,为直接点击跳转,如果是DROPDOWN,
点击展开下级菜单后跳转。
title:标题
url:链接(type为URL才有)
subNavigations:下拉子菜单(type为DROPDOWN才有),内容和一级菜单一样。

返回示例

{
"result": {
    "totalCount": 1,
    "totalPages": 1,
    "page": 1,
    "size": 8,
    "result": [
        {
            "id": "404040e64e860291014e860625c90000",
            "type": "URL",
            "ordernum": 0,
            "title": "首页",
            "url": "http://www.ifhzj.com",
            "subNavigations": [
                {
                    "id": "404040e64e860291014e860ec1cd0003",
                    "type": "URL",
                    "ordernum": 0,
                    "title": "下级菜单",
                    "url": "http://www.ifhzj.com",
                    "subNavigations": []
                }
            ]
        }
    ]
},
"status": "OK"
}