文档
测试

获取菜单及权限

GET
{{baseUrl}}/pub/users/get-menu

请求头

参数名
类型
描述
必填
User-Id
string
(Required) 用户ID
可选
User-Type
string
(Required) 用户类型(2:后台账号,3:APP账号)
可选
Accept
string
示例:application/json
可选

响应参数

参数名
类型
描述
必填
msg
string
示例:sed et ut
必填
code
float
示例:50739511.769507736
必填
data
object
数据字典
必填
auth
object
数据字典
必填
menu
object
数据字典
必填
level
object
数据字典
必填
value
string
示例:<Error: Too many levels of nesting to fake this schema>
必填
children
object
数据字典
必填
value
string
示例:<Error: Too many levels of nesting to fake this schema>
必填
action
object
数据字典
必填
value
string
示例:<Error: Too many levels of nesting to fake this schema>
必填
pid
object
数据字典
必填
value
string
示例:<Error: Too many levels of nesting to fake this schema>
必填
title
object
数据字典
必填
value
string
示例:<Error: Too many levels of nesting to fake this schema>
必填
nodeId
object
数据字典
必填
value
string
示例:<Error: Too many levels of nesting to fake this schema>
必填