Skip to main content

用户登录接口

接口描述​

POST /graph/auth/sign - 用户登录系统

请求参数​

参数名类型必填描述
Emailstring是用户邮箱
Passwordstring是用户密码
withAppstring是是否使用应用登录(true/false)
appIdstring条件必填当withApp=true时必填

返回示例​

{
"code": 200,
"msg": "用户登陆成功",
"figure": "登录凭证",
"ssoUrl": "单点登录URL(仅管理员和应用登录时返回)"
}

错误代码​

  • 500: 登陆失败
  • 500: 用户密码错误
  • 500: 用户不存在