认证管理
用户登录
用户登录获取访问令牌
post/auth/login
Request body
Example request
{
"password": "admin",
"username": "admin"
}Response
登录成功
Example response
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_in": 604800,
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer"
}