Bearer {token}{
"username": "zhangsan@example.com",
"password": "password123"
}curl --location --request POST 'http://perfit-api.test.muke.design/api/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "zhangsan@example.com",
"password": "password123"
}'{
"code": 200,
"message": "登录成功",
"data": {
"user": {
"id": 1,
"name": "张三",
"email": "zhangsan@example.com",
"phone": "13800138000",
"phone_prefix": "+852",
"avatar": "https://example.com/avatars/1.jpg",
"status": 1,
"created_at": "2024-01-01T10:00:00Z"
},
"token": "1|abc123def456..."
}
}