GET /api/public/v1/me
读取当前登录客户自己的基础资料。
鉴权
X-Yuzuca-Key: <PUBLIC_API_KEY>
Authorization: Bearer <ACCESS_TOKEN>
Authorization 中传入当前客户的访问令牌。
成功响应
{
"ok": true,
"requestId": "req_123",
"data": {
"id": 1,
"username": "customer_001",
"enabled": true,
"temporary": false,
"createdAt": "2026-03-01T00:00:00.000Z",
"updatedAt": "2026-03-21T00:00:00.000Z"
}
}
可能错误
401 INVALID_ACCESS_TOKEN401 TOKEN_EXPIRED401 SESSION_REVOKED403 CUSTOMER_DISABLED