简要描述:

  • 获取前台导航接口

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-10-09

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明

请求参数:

参数名 是否必须 类型 说明
type string 请求端【pc=电脑,app=app,small=小程序,public=公众号】

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "获取成功",
    "data": [
        {
            "id": 7,
            "title": "首页",
            "url": "index",
            "tig": "index",
            "jump_type": "self",
            "need_login": "2",
            "childList": []
        },
        {
            "id": 9,
            "title": "首页2",
            "url": "pages/video/video?cid=4",
            "tig": "index",
            "jump_type": "self",
            "need_login": "2",
            "childList": []
        }
    ],
    "other": []
}

错误时返回:

data返回参数说明:

参数名 类型 说明
id int id
title string 标题
url string 路径
tig string 标识
jump_type string self=app内部,jump=app外部
need_login string 是否需要登录,1=需要,2=不需要
childList array 下级列表

childList返回参数说明:

参数名 类型 说明
id int id
title string 标题
url string 路径
tig string 标识
jump_type string self=app内部,jump=app外部
need_login string 是否需要登录,1=需要,2=不需要
childList array 下级列表

备注:

文档更新时间: 2021-11-09 17:06   作者:admin