文档
测试

根据组织ID获取用户列表

POST
/users/getUserByOrgId

接口描述

根据组织获取用户

请求参数

参数名
类型
描述
必填
current
int
示例:1
必填
size
int
示例:4
必填
orgId
String
示例:10001
必填

响应参数JSOn格式

```json { "successful": true, "code": 200, "message": "操作成功!", "timestamp": 1666244179194, "data": { "records": [ { "id": 1, "createdBy": 1, "createdName": "管理员", "createdTime": "2022-10-12 15:49:42", "menuId": 1, "menuName": "系统管理", "isValid": "y", "isPriority": 1, "orderBy": 1, "remark": null, "copyFrom": null, "deleteFlag": "n", "tenantId": 1, "tenantName": null }, { "id": 3, "createdBy": 1, "createdName": "管理员", "createdTime": "2022-10-12 17:03:58", "menuId": 1, "menuName": "系统功能", "isValid": "y", "isPriority": 1, "orderBy": 1, "remark": null, "copyFrom": null, "deleteFlag": "n", "tenantId": 1, "tenantName": "string" } ], "total": 32, "size": 2, "current": 1, "orders": [], "optimizeCountSql": true, "searchCount": true, "countId": null, "maxLimit": null, "pages": 16 } }

Swagger 接口测试

![image.png](https://cos.easydoc.net/97781918/files/l9gn5gtd.png)