简要描述:

  • 获取PC前台导航接口

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-06-08

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明

请求参数:

参数名 是否必须 类型 说明
type string 请求端【pc=电脑端】

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "获取成功",
    "data": [
        {
            "id": 1,
            "title": "首页",
            "url": "theDefault",
            "tig": "theDefault",
            "childList": []
        },
        {
            "id": 2,
            "title": "人气排行",
            "url": "ranking",
            "tig": "ranking",
            "childList": []
        },
    ]
}

错误时返回:

data返回参数说明:

参数名 类型 说明
id int id
title string 标题
url string 路径
tig string 标识
childList array 下级列表

childList返回参数说明:

参数名 类型 说明
id int id
title string 标题
url string 路径
tig string 标识
childList array 下级列表

备注:

文档更新时间: 2020-06-08 17:27   作者:admin