获取用户信息

更新时间:2024-03-01 18:16:28

接口说明

获取用户信息

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/openapi/app-user/get-user

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
account body string account

请求示例

{"account":"account"}

返回成功示例

{
    "errcode": 0,
    "errmsg": "ok",
    "data": {
        "id": "07a3815e-d479-11ee-9d49-fa163ea69d25",
        "name": "黄港龙",
        "account": "huanggl02",
        "mobile": "",
        "email": "",
        "headimgUrl": "",
        "org": ""
    }
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number 错误码
errmsg string 错误信息
data object 返回数据
data.id string 用户id
data.name string 用户名称
data.account string 用户账号
data.mobile string 用户手机
data.email string 用户邮箱
data.headimgUrl string
data.org string

失败返回示例

{
  "errcode": 1001,
  "errmsg": "搜索失败",
  "data": []
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number
errmsg string
data array

results matching ""

    No results matching ""