用户登录

10 分钟阅读 240 字 + 1489 词
请求地址: /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": ""
}
提交于 2025年3月25日 08:03
修改于 2025年3月25日 08:03