登录ldap

更新时间:2024-03-01 17:32:22

接口说明

登录ldap

基本信息

请求方式: POST

请求路径:

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

请求参数

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

请求示例

{"account":"account","password":"password"}

返回成功示例

{
    "errcode": 0,
    "errmsg": "ok",
    "data": {
        "token": "bd6d4b5e5a67a0c17d948a67f94c631d4378e1de6fe919cc13defe673327c650"
    }
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number 错误码
errmsg string 错误信息
data object 返回数据
data.token string token

失败返回示例

{
    "errcode": 1001,
    "errmsg": "登录失败",
    "data": []
}

返回参数说明(失败)

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

results matching ""

    No results matching ""