用户登录

10 分钟阅读 240 字 + 1346 词
请求地址: /api/auth/signin
请求方式: POST

Body

json
{
    "timestamp": 1732189045000,
    "username": "xxxx",
    "password": "xxxx",
    "captcha": "1"
}

Response

json
{
    "type": "Bearer",
    "token": "ccc",
    "id": 1,
    "username": "admin",
    "roles": [
        "1"
    ],
    "avatar": ""
}
提交于 2026年2月7日 13:54
修改于 2026年2月7日 13:54