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

员工添加

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

请求参数

Path 参数
target
string 
必需
示例值:
{{depit_id}}
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 -g --request GET 'http://ihrm2-test.itheima.net/api/sys/user/' \
--header 'Authorization: '

返回响应

🟢200成功
application/json
Body
success
boolean 
必需
code
integer 
必需
message
string 
必需
data
object 
必需
id
string 
必需
mobile
string 
必需
username
string 
必需
enableState
integer 
必需
departmentId
string 
必需
timeOfEntry
null 
必需
formOfEmployment
null 
必需
workNumber
string 
必需
departmentName
string 
必需
roleIds
array
必需
staffPhoto
null 
必需
示例
{
    "success": true,
    "code": 0,
    "message": "string",
    "data": {
        "id": "string",
        "mobile": "string",
        "username": "string",
        "enableState": 0,
        "departmentId": "string",
        "timeOfEntry": null,
        "formOfEmployment": null,
        "workNumber": "string",
        "departmentName": "string",
        "roleIds": [
            null
        ],
        "staffPhoto": null
    }
}
修改于 2023-11-09 08:46:05
上一页
员工修改
下一页
员工删除
Built with