{
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"roles": [
{
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"users": [
{}
],
"menus": [
{
"iFrame": true,
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"children": [
{}
],
"title": "string",
"componentName": "string",
"menuSort": 999,
"component": "string",
"path": "string",
"type": 0,
"permission": "string",
"icon": "string",
"cache": true,
"hidden": true,
"pid": 0,
"subCount": 0
}
],
"depts": [
{
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"children": [
{}
],
"deptSort": 0,
"name": "string",
"enabled": true,
"pid": 0,
"subCount": 0
}
],
"name": "string",
"dataScope": "DataScopeEnum.THIS_LEVEL.getValue()",
"level": 3,
"description": "string"
}
],
"jobs": [
{
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"name": "string",
"jobSort": 0,
"enabled": true
}
],
"deptId": 0,
"dept": {
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"children": [
{}
],
"deptSort": 0,
"name": "string",
"enabled": true,
"pid": 0,
"subCount": 0
},
"username": "string",
"nickName": "string",
"email": "string",
"phone": "string",
"gender": "string",
"avatarName": "string",
"avatarPath": "string",
"password": "string",
"enabled": true,
"isAdmin": false,
"pwdResetTime": "string"
}curl --location --request PUT '/api/users' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"roles": [
{
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"users": [
{}
],
"menus": [
{
"iFrame": true,
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"children": [
{}
],
"title": "string",
"componentName": "string",
"menuSort": 999,
"component": "string",
"path": "string",
"type": 0,
"permission": "string",
"icon": "string",
"cache": true,
"hidden": true,
"pid": 0,
"subCount": 0
}
],
"depts": [
{
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"children": [
{}
],
"deptSort": 0,
"name": "string",
"enabled": true,
"pid": 0,
"subCount": 0
}
],
"name": "string",
"dataScope": "DataScopeEnum.THIS_LEVEL.getValue()",
"level": 3,
"description": "string"
}
],
"jobs": [
{
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"name": "string",
"jobSort": 0,
"enabled": true
}
],
"deptId": 0,
"dept": {
"createBy": "string",
"updateBy": "string",
"createTime": 0,
"updateTime": 0,
"id": 0,
"children": [
{}
],
"deptSort": 0,
"name": "string",
"enabled": true,
"pid": 0,
"subCount": 0
},
"username": "string",
"nickName": "string",
"email": "string",
"phone": "string",
"gender": "string",
"avatarName": "string",
"avatarPath": "string",
"password": "string",
"enabled": true,
"isAdmin": false,
"pwdResetTime": "string"
}'{}