/admin/point/integrity/{account_id}
管理员操作,逐块验证积分账户的 hash-chain 完整性。检测篡改事件。
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|---|---|
account_id |
path |
string |
是 | 积分账户ID |
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | 验证完成 | dto.DataResponse-domain_PointIntegrityResult |
| 400 | 请求参数错误 | service-core/base/dto.SimpleResponse |
| 401 | 未认证 | service-core/base/dto.SimpleResponse |
| 403 | 无权限 | service-core/base/dto.SimpleResponse |
| 404 | 事件记录不存在 | service-core/base/dto.SimpleResponse |
| 500 | 服务器内部错误 | service-core/base/dto.SimpleResponse |
引用的 Schema
domain.PointIntegrityResult
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
account_id |
string |
否 | |||
broken_at |
integer |
否 | |||
last_hash |
string |
否 | |||
total |
integer |
否 | |||
valid |
boolean |
否 |
dto.DataResponse-domain_PointIntegrityResult
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
data |
domain.PointIntegrityResult |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |