新增用户
POST
https://micro-gfyx-api.b2btst.com/v1/base/user/save
自动化已维护
最后修改时间:2024-02-23 08:50:05
责任人:未设置
请求参数
Header 参数
access_token
string
pc登录态
示例值:
{{pc登录态}}
Body 参数application/json
id
integer
可选
user_name
string
姓名
mobile
string
手机号
position
string
职位
email
string
邮箱
org_ids
array[integer]
所属组织id
role_ids
array[integer]
所属角色id
passwd
string
密码
status
integer
状态
示例
{
"id": 0,
"user_name": "string",
"mobile": "string",
"position": "string",
"email": "string",
"org_ids": [
0
],
"role_ids": [
0
],
"passwd": "string",
"status": 0
}
返回响应
🟢200成功
application/json
Body
success
boolean
必需
error_code
integer
必需
message
string
必需
data
object | null
必需
id
integer
用户id
示例
{
"data": {
"id": 1
},
"error_code": 0,
"message": "操作成功",
"success": true
}
修改于 2024-02-23 08:50:05