用户信息修改
PUT
/system/user请求参数
Body 参数application/json
userId
string
用户ID
userName
string
用户名称
nickName
string
用户昵称
email
string
邮箱
phonenumber
string
电话
sex
string
性别
0未知 1男 2女
status
string
状态
0停用 1正常
remark
string
备注
deptId
string
部门ID
roleIds
array[string]
角色ID数组
postIds
array[string]
岗位ID数组
userType
string
用户类型
sys系统用户
avatar
string
头像
示例
{
"remark": "群劳设着给王",
"deptId": 80,
"nickName": "许芳",
"email": "x.swtaf@oypeubb.tg",
"phonenumber": "18106129309",
"sex": "1",
"status": "1",
"roleIds": [
2
],
"postIds": [
2
],
"userId": "101",
"userName": "x34bvpi"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
示例
成功示例
{
"code": 200,
"msg": "成功"
}
修改于 1 年前