一道通数字道闸管理平台


获取用户信息

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>获取用户信息接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost/dev-api/system/user/getInfo</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</li> </ul> <h5>参数</h5> <h5>返回示例</h5> <pre><code> { "msg": "操作成功", "code": 200, "permissions": [ "*:*:*" ], "roles": [ "admin" ], "user": { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": "管理员", "params": {}, "userId": 1, "deptId": 103, "userName": "admin", "nickName": "若依", "email": "ry@163.com", "phonenumber": "15888888888", "sex": "1", "avatar": "", "password": "$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2", "status": "0", "delFlag": "0", "loginIp": "127.0.0.1", "loginDate": "2022-09-07T17:17:42.000+08:00", "dept": { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 103, "parentId": 101, "ancestors": "0,100,101", "deptName": "研发部门", "orderNum": 1, "leader": "若依", "phone": null, "email": null, "status": "0", "delFlag": null, "parentName": null, "children": [] }, "roles": [ { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": null, "remark": null, "params": {}, "roleId": 1, "roleName": "超级管理员", "roleKey": "admin", "roleSort": "1", "dataScope": "1", "menuCheckStrictly": false, "deptCheckStrictly": false, "status": "0", "delFlag": null, "flag": false, "menuIds": null, "deptIds": null, "admin": true } ], "roleIds": null, "postIds": null, "roleId": null, "admin": true } } </code></pre>

页面列表

ITEM_HTML