curl --location --request GET 'http://localhost:3000/users/me' \
--header 'Authorization: Bearer '
{
"status": true,
"message": "查询当前用户信息成功。",
"data": {
"user": {
"id": 2,
"email": "user@clwy.cn",
"username": "user",
"nickname": "长乐未央用户",
"avatar": "http://localhost:3000/uploads/images/avatar-user.png",
"sex": 0,
"company": "长乐未央公司",
"bio": "不快乐,不编程!",
"role": 0,
"createdAt": "2025-05-27 15:10:56",
"updatedAt": "2025-05-28 18:07:37"
}
}
}