aaaaa
  1. 员工管理
aaaaa
  • IHRM人力资源管理
    • 框架
      • 获取城市信息
      • 登录成功
      • 登录
      • 用户资料
    • 组织架构
      • 组织架构
      • 获取部门信息
      • 部门添加
      • 部门修改
      • 删除部门
    • 员工管理
      • 员工管理列表
        GET
      • 员工添加
        POST
      • 员工修改
        PUT
      • 员工添加
        GET
      • 员工删除
        DELETE
  1. 员工管理

员工管理列表

开发中
GET
http://ihrm2-test.itheima.net/api/sys/user

请求参数

Query 参数
page
integer 
可选
示例值:
1
size
integer 
可选
示例值:
2
Header 参数
Authorization
string 
可选
默认值:
{{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 'http://ihrm2-test.itheima.net/api/sys/user?page=1&size=2' \
--header 'Authorization: '

返回响应

🟢200成功
application/json
Body
success
boolean 
必需
code
enum<integer> 
必需
固定值:
10000
message
string 
必需
data
object 
必需
total
integer 
必需
rows
array [object {19}] 
必需
示例
{
    "success": true,
    "code": 10000,
    "message": "操作成功!",
    "data": {
        "total": 12283,
        "rows": [
            {
                "id": "1177058847969570816",
                "mobile": "13308087976",
                "username": "jack",
                "password": "43f8027d40bda49adf57b288e9344a89",
                "enableState": 1,
                "createTime": null,
                "companyId": "1",
                "companyName": "传智播客",
                "departmentId": "1066240656856453120",
                "timeOfEntry": "2019-07-01T00:00:00.000+0000",
                "formOfEmployment": 1,
                "workNumber": "1322131",
                "formOfManagement": null,
                "workingCity": null,
                "correctionTime": "2019-11-30",
                "inServiceStatus": null,
                "departmentName": "开发部",
                "level": "user",
                "staffPhoto": null
            },
            {
                "id": "1177058858916704256",
                "mobile": "13488888889",
                "username": "jack11",
                "password": "d8cec60516d464699d217da7ba5b6545",
                "enableState": 1,
                "createTime": null,
                "companyId": "1",
                "companyName": "传智播客",
                "departmentId": "1066240656856453120",
                "timeOfEntry": "2019-07-01T00:00:00.000+0000",
                "formOfEmployment": 1,
                "workNumber": "1322130",
                "formOfManagement": null,
                "workingCity": null,
                "correctionTime": "2019-11-30",
                "inServiceStatus": null,
                "departmentName": "开发部",
                "level": "user",
                "staffPhoto": null
            }
        ]
    }
}
🟢200异常99999
修改于 2023-11-09 09:23:17
上一页
删除部门
下一页
员工添加
Built with