POST /wallets/{user_id}/unfreeze

解冻指定用户钱包中的冻结资金

钱包服务 `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
user_id path string 是 用户ID

请求体

Schema: service-wallet/internal/handler/dto.UnfreezeRequest

字段类型必填示例约束描述
freeze_id string 是 frz_abc123 冻结记录ID

响应

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-wallet/internal/handler/dto.FreezeRecordResponse

资金冻结记录

字段类型必填示例约束描述
amount string 否 100.00 金额
created_at string 否 2026-04-10T00:00:00Z 创建
id string 否 frz_abc123 记录ID
reason string 否 争议冻结 原因
released_at string 否 2026-04-15T00:00:00Z 解冻
status string 否 active 状态
wallet_id string 否 wlt_abc123 钱包ID

service-wallet/internal/handler/dto.UnfreezeDetailResponse

字段类型必填示例约束描述
code integer 否
data service-wallet/internal/handler/dto.UnfreezeResult 否
message string 否
timestamp string 否

service-wallet/internal/handler/dto.UnfreezeResult

字段类型必填示例约束描述
freeze object 否 冻结记录
wallet object 否 钱包信息

service-wallet/internal/handler/dto.WalletResponse

用户钱包信息

字段类型必填示例约束描述
application_id string 否 app_abc123 应用ID
balance string 否 1000.00 余额
created_at string 否 2026-01-01T00:00:00Z 创建时间
currency string 否 CNY 货币
frozen_balance string 否 100.00 冻结
status string 否 active 状态
tenant_id string 否 tnt_xyz789 租户ID
updated_at string 否 2026-04-15T10:30:00Z 更新时间
user_id string 否 usr_abc123 用户ID
wallet_id string 否 wlt_abc123 钱包ID