黑马程序员-大事件
  1. 布局
黑马程序员-大事件
  • Vue3大事件CMS
    • 文章分类
      • 删除-文章分类
      • 获取-文章分类详情
      • 更新-文章分类
      • 增加-文章分类
      • 获取-文章分类
    • 用户相关
      • 获取用户的基本信息
      • 更新-用户头像
      • 更新-用户密码
      • 更新-用户基本资料
    • 布局
      • 获取-侧边栏数据
        GET
    • 注册登录
      • 登录
      • 注册
    • 文章管理
      • 更新-文章详情
      • 发布-文章
      • 获取-文章详情
      • 删除-文章
      • 获取-文章列表
  1. 布局

获取-侧边栏数据

GET
/my/menus
获取布局页->左侧菜单数据

请求参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://big-event-vue-api-t.itheima.net/my/menus' \
--header 'Authorization: '

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "message": "获取左侧菜单成功!",
    "data": [
        {
            "indexPath": "/home",
            "title": "首页",
            "icon": "el-icon-s-home",
            "children": null
        },
        {
            "indexPath": "2",
            "title": "文章管理",
            "icon": "el-icon-s-order",
            "children": [
                {
                    "indexPath": "/art-cate",
                    "title": "文章分类",
                    "icon": "el-icon-s-data"
                },
                {
                    "indexPath": "/art-list",
                    "title": "文章列表",
                    "icon": "el-icon-document-copy"
                }
            ]
        },
        {
            "indexPath": "3",
            "title": "个人中心",
            "icon": "el-icon-user-solid",
            "children": [
                {
                    "indexPath": "/user-info",
                    "title": "基本资料",
                    "icon": "el-icon-s-operation"
                },
                {
                    "indexPath": "/user-avatar",
                    "title": "更换头像",
                    "icon": "el-icon-camera"
                },
                {
                    "indexPath": "/user-pwd",
                    "title": "重置密码",
                    "icon": "el-icon-key"
                }
            ]
        }
    ]
}
🟠401身份认证失败_大事件
修改于 2023-07-06 13:11:21
上一页
更新-用户基本资料
下一页
登录
Built with