PUT /admin/wallets/{wallet_id}

更新钱包状态

钱包服务 `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
wallet_id path string 是 钱包ID

请求体

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

字段类型必填示例约束描述
status string 是

响应

引用的 Schema

service-core/base/dto.SimpleResponse

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

service-wallet/internal/handler/dto.WalletDetailResponse

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

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