更新用户信息【原/apis/user/update】
开发中POST
/v2/web/admin/update请求参数
Body 参数application/json
id
integer
必需
name
string
可选
phone
integer
可选
source
integer
可选
group_id
array[integer]
可选
hospital_ids
array[integer]
可选
status
integer
可选
role
integer
可选
示例
{
"id": 34,
"name": "番茄头头",
"phone": "18712341234",
"source": 1,
"group_id": [
-1,
1,
2,
3
],
"hospital_ids": [
1,
2
],
"status": 1,
"role": 4,
"tr_seat": ""
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
ret_code
integer
必需
ret_msg
string
必需
result
array[string]
必需
示例
{
"ret_code": 0,
"ret_msg": "string",
"result": [
"string"
]
}
最后修改时间: 3 个月前