简要描述:
- 获取用户详情
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | 朱小乾 | 2022-03-21 |
请求URL:
- /api/Security/User/GetMenusByUserId
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| Content-Type | 是 | string | 请求类型: application/json |
| Equipment | 否 | string | 设备类型(guide-pc :导检台pc;caller-pc :叫号端PC;guide-pad :导检台Pad;caller-pad :叫号端Pad;manage:管理后台) |
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| id | 是 | int | 主键Id |
返回示例:
正确时返回:
{"code": 1,"message": "操作成功","data": [{"id": 2,"createTime": "2022-03-18T13:35:31.177","updateTime": "2022-03-18T18:44:50.473","systemTypeId": 3,"parentId": 0,"layers": 0,"code": "string","fullName": "string","urlAddress": "string","component": "string","target": "string","menuType": "C","activeMenu": "string","isExpand": true,"isFrame": true,"isShow": true,"sortCode": 0,"description": "string","enabledMark": true},{"id": 3,"createTime": "2022-03-18T13:46:30.29","updateTime": "2022-03-18T18:45:04.437","systemTypeId": 3,"parentId": 0,"layers": 0,"code": "string","fullName": "string","urlAddress": "string","component": "string","target": "string","menuType": "M","activeMenu": "string","isExpand": true,"isFrame": true,"isShow": true,"sortCode": 0,"description": "string","enabledMark": true}]}
错误时返回:
{"code": 1,"message": "操作成功","data": null}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | 主键Id |
| createTime | datetime | 创建时间 |
| updateTime | datetime | 创建时间 |
| systemTypeId | int | 系统Id |
| parentId | int | 父Id |
| layers | int | 层级 |
| code | string | 编码 |
| fullName | string | 全称 |
| urlAddress | string | 路径地址 |
| component | string | 组件 |
| target | string | 打开方式 |
| menuType | string | 菜单类型:C目录 M菜单 F按钮 |
| activeMenu | string | 设置当前选中菜单,用于新增、编辑、查看操作为单独的路由时指定选中菜单路由 |
| isExpand | bool | 是否展开 |
| IsFrame | bool | 是否外链 |
| IsShow | bool | 是否显示 |
| SortCode | int | 排序 |
| Description | string | 描述 |
| enabledMark | bool | 是否启用 |
备注:
-
文档更新时间: 2022-03-21 10:23