/internal/thirdparty/export-user-data
服务间内部调用,导出指定用户在第三方服务中关联的所有数据(CAPTCHA 验证记录、短信记录、支付记录),用于 GDPR 数据导出合规场景。当前 thirdparty-service 为无状态代理服务,无可持久化用户数据,所有日志为空。
请求体
Schema: dto.ExportUserDataRequest
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
user_id |
string |
是 |
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | 用户数据导出结果 | dto.DataResponse-dto_ExportUserDataResponse |
| 400 | 请求参数错误(缺少 user_id 等必填字段) | dto.SimpleResponse |
| 401 | 未认证 | dto.SimpleResponse |
引用的 Schema
dto.DataResponse-dto_ExportUserDataResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
data |
dto.ExportUserDataResponse |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |
dto.ExportUserDataResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
captcha_logs |
array of any |
否 | |||
payment_logs |
array of any |
否 | |||
sms_logs |
array of any |
否 |
dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |