FastSoyAdmin
  1. menus
FastSoyAdmin
  • v1
    • auth
      • 登录
      • 刷新认证
      • 查看用户信息
      • 自定义后端错误
    • route
      • 查看常量路由(公共路由)
      • 查看用户路由菜单
      • 路由是否存在
    • system-manage
      • logs
        • 查看日志列表
        • 查看日志
        • 更新日志
        • 删除日志
        • 批量删除日志
      • apis
        • 查看API列表
        • 创建API
        • 批量删除API
        • 查看API
        • 更新API
        • 删除API
        • 查看API树
        • 刷新API列表
      • users
        • 查看用户列表
        • 创建用户
        • 查看用户
        • 更新用户
        • 删除用户
        • 批量删除用户
      • roles
        • 查看角色列表
        • 创建角色
        • 查看角色
        • 更新角色
        • 删除角色
        • 批量删除角色
        • 查看角色菜单
        • 更新角色菜单
        • 查看角色按钮
        • 更新角色按钮
        • 查看角色API
        • 更新角色API
      • menus
        • 查看用户菜单
          GET
        • 创建菜单
          POST
        • 查看菜单树
          GET
        • 查看菜单
          GET
        • 更新菜单
          PATCH
        • 删除菜单
          DELETE
        • 批量删除菜单
          DELETE
        • 查看一级菜单
          GET
        • 查看菜单按钮树
          GET
    • miniapp
      • vote
        • 查看投票列表
        • 创建投票
        • 删除投票
        • 更新投票
        • 指定多选项投票
        • 查看投票选项列表
        • 查看投票记录列表
      • auth
        • 查看投票列表 Copy
  1. menus

查看用户菜单

GET
/api/v1/system-manage/menus
v1系统管理菜单管理

请求参数

Query 参数
current
integer 
页码
可选
size
integer 
每页数量
可选
Header 参数
Authorization
string 
可选
默认值:
Bearer {{token}}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/system-manage/menus' \
--header 'Authorization: Bearer {{token}}'

返回响应

🟢200成功
application/json
Body
code
string 
必需
msg
string 
必需
data
object 
必需
records
array [object {27}] 
必需
total
integer 
必需
current
integer 
必需
size
integer 
必需
示例
{"code":"0000","msg":"OK","data":{"records":[{"activeMenu":null,"status":"1","keepAlive":false,"multiTab":false,"component":"layout.blank$view.login","hideInMenu":true,"menuType":"1","href":null,"pathParam":null,"props":true,"routeParam":null,"routePath":"/login","redirect":null,"fixedIndexInTab":null,"i18nKey":"route.login","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","menuName":"login","icon":null,"iconType":null,"constant":true,"parentId":0,"routeName":"login","order":1,"id":1,"buttons":[]},{"activeMenu":null,"status":"1","keepAlive":false,"multiTab":false,"component":"layout.blank$view.403","hideInMenu":true,"menuType":"1","href":null,"pathParam":null,"props":false,"routeParam":null,"routePath":"/403","redirect":null,"fixedIndexInTab":null,"i18nKey":"route.403","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","menuName":"403","icon":null,"iconType":null,"constant":true,"parentId":0,"routeName":"403","order":2,"id":2,"buttons":[]},{"activeMenu":null,"status":"1","keepAlive":false,"multiTab":false,"component":"layout.blank$view.404","hideInMenu":true,"menuType":"1","href":null,"pathParam":null,"props":false,"routeParam":null,"routePath":"/404","redirect":null,"fixedIndexInTab":null,"i18nKey":"route.404","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","menuName":"404","icon":null,"iconType":null,"constant":true,"parentId":0,"routeName":"404","order":3,"id":3,"buttons":[]},{"activeMenu":null,"status":"1","keepAlive":false,"multiTab":false,"component":"layout.blank$view.500","hideInMenu":true,"menuType":"1","href":null,"pathParam":null,"props":false,"routeParam":null,"routePath":"/500","redirect":null,"fixedIndexInTab":null,"i18nKey":"route.500","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","menuName":"500","icon":null,"iconType":null,"constant":true,"parentId":0,"routeName":"500","order":4,"id":4,"buttons":[]},{"activeMenu":null,"status":"1","keepAlive":false,"multiTab":false,"component":"layout.base$view.home","hideInMenu":false,"menuType":"2","href":null,"pathParam":null,"props":false,"routeParam":null,"routePath":"/home","redirect":null,"fixedIndexInTab":null,"i18nKey":"route.home","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","menuName":"首页","icon":"mdi:monitor-dashboard","iconType":"1","constant":false,"parentId":0,"routeName":"home","order":1,"id":5,"buttons":[]},{"activeMenu":null,"status":"1","keepAlive":false,"multiTab":false,"component":"layout.base","hideInMenu":false,"menuType":"1","href":null,"pathParam":null,"props":false,"routeParam":null,"routePath":"/function","redirect":null,"fixedIndexInTab":null,"i18nKey":"route.function","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","menuName":"功能","icon":"icon-park-outline:all-application","iconType":"1","constant":false,"parentId":0,"routeName":"function","order":2,"id":6,"buttons":[],"children":[{"activeMenu":null,"status":"1","keepAlive":false,"multiTab":false,"component":"view.function_toggle-auth","hideInMenu":false,"menuType":"2","href":null,"pathParam":null,"props":false,"routeParam":null,"routePath":"/function/toggle-auth","redirect":null,"fixedIndexInTab":null,"i18nKey":"route.function_toggle-auth","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","menuName":"切换权限","icon":"ic:round-construction","iconType":"1","constant":false,"parentId":6,"routeName":"function_toggle-auth","order":4,"id":7,"buttons":[{"status":"1","buttonCode":"B_CODE1","buttonDesc":"超级管理员可见","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","id":1},{"status":"1","buttonCode":"B_CODE2","buttonDesc":"管理员可见","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","id":2},{"status":"1","buttonCode":"B_CODE3","buttonDesc":"管理员和用户可见","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","id":3}]},{"activeMenu":null,"status":"1","keepAlive":false,"multiTab":false,"component":"view.function_request","hideInMenu":false,"menuType":"2","href":null,"pathParam":null,"props":false,"routeParam":null,"routePath":"/function/request","redirect":null,"fixedIndexInTab":null,"i18nKey":"route.function_request","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","menuName":"请求","icon":"carbon:network-overlay","iconType":"1","constant":false,"parentId":6,"routeName":"function_request","order":3,"id":8,"buttons":[]},{"activeMenu":null,"status":"1","keepAlive":false,"multiTab":false,"component":"view.function_super-page","hideInMenu":false,"menuType":"2","href":null,"pathParam":null,"props":false,"routeParam":null,"routePath":"/function/super-page","redirect":null,"fixedIndexInTab":null,"i18nKey":"route.function_super-page","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","menuName":"超级管理员可见","icon":"ic:round-supervisor-account","iconType":"1","constant":false,"parentId":6,"routeName":"function_super-page","order":5,"id":9,"buttons":[]},{"activeMenu":"function_tab","status":"1","keepAlive":false,"multiTab":true,"component":"view.function_multi-tab","hideInMenu":true,"menuType":"2","href":null,"pathParam":null,"props":false,"routeParam":null,"routePath":"/function/multi-tab","redirect":null,"fixedIndexInTab":null,"i18nKey":"route.function_multi-tab","createTime":"2024-05-17 16:11:02","updateTime":"2024-05-17 16:11:02","menuName":"多标签页","icon":"ic:round-tab","iconType":"1","constant":false,"parentId":6,"routeName":"function_multi-tab","order":1,"id":10,"buttons":[]}]}],"total":33,"current":1,"size":10}}
🟠422Validation Error
修改于 2024-05-17 05:45:19
上一页
更新角色API
下一页
创建菜单
Built with