V1.0 - daboloo/boloo-im-server GitHub Wiki

接口文档

1. 登录接口

接口名称 登录接口
请求方式 POST
url /auth/login
请求:
header entity:


body entity:
{
  "password": "string", // 密码
  "username": "string"  // 用户名
}
响应
body entity:
{
  "data": "string", // 这里保存的是令牌Authorization
  "errorCode": 0,   
  "errorMsg": "string",
  "success": true
}