Create User

  • 创建用户

Request

  • Path: api/blade-user/create
  • Method: POST
  • Header:
    • Authorization: Basic c2FiZXI6c2FiZXJfc2VjcmV0
    • Blade-Auth: access_token
  • Request body example:
1
2
3
4
5
6
7
8
9
10
{
"id": "系统编号,新增时为空,修改时不能为空",
"tenantId": "租户编号",
"account": "账号",
"password": "密码",
"name": "姓名",
"realName": "全名",
"email": "邮箱",
"phone": "联系电话",
}

Response

  • Response body example:
1
2
3
4
5
6
7
8
9
10
11
12
{
"code": 200,
"success": true,
"data": {
"id": "系统编号",
"tenantId": "租户编号",
"account": "账户",
"name": "姓名",
"realName": "全名"
},
"msg": "操作成功"
}