You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.2 KiB

系统接口文档

一、登录模块Login

1.1 用户登录接口

  • 接口地址/api/login

  • 请求方式POST

  • 请求参数

    参数名 类型 是否必填 说明
    username string 用户账号
    password string 登录密码
  • 响应示例

{
  "code": 200,
  "message": "登录成功",
  "data": {
    "token": "xxx-xxx-xxx" // 登录成功返回的 token
  }
}

1.2 用户登录接口

  • 接口地址/api/logout

  • 请求方式POST

  • 请求参数

    参数名 类型 是否必填 说明
    token string 登录成功返回的 token
  • 响应示例

{
  "code": 200,
}

alt text