GET /admin/consents
管理员分页查询儿童同意记录(可按状态过滤)
未成年人保护 `bearerAuth` application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
status |
query |
string |
否 |
|
|
|
状态(pending/approved/denied/expired) |
page |
query |
integer |
否 |
|
|
|
页码 |
page_size |
query |
integer |
否 |
|
|
|
每页数量 |
引用的 Schema
dto.ListResponse-service-identity/internal/handler/dto/ChildrenConsentResponse
service-core/base/dto.PageInfo
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
has_next |
boolean |
否 |
|
|
HasNext indicates whether there is a next page |
has_prev |
boolean |
否 |
|
|
HasPrev indicates whether there is a previous page |
page |
integer |
否 |
|
|
Page is the current page number (1-based) |
page_size |
integer |
否 |
|
|
PageSize is the number of items per page |
total |
integer |
否 |
|
|
Total is the total number of items across all pages |
total_pages |
integer |
否 |
|
|
TotalPages is the total number of pages |
service-identity/internal/handler/dto.ChildrenConsentResponse
未成年人家长同意验证状态
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
id |
string |
否 |
child_consent_001 |
|
记录ID |
method |
string |
否 |
email |
|
验证方式 |
parent_email |
string |
否 |
parent@example.com |
|
家长邮箱 |
parent_phone |
string |
否 |
13800138000 |
|
家长手机 |
recorded_at |
string |
否 |
2026-04-15T10:30:00Z |
|
记录时间 |
status |
string |
否 |
pending |
|
状态 |
tenant_id |
string |
否 |
tnt_xyz789 |
|
租户ID |
user_id |
string |
否 |
usr_abc123 |
|
用户ID |
verified |
boolean |
否 |
True |
|
是否已验证 |
verified_at |
string |
否 |
2026-04-15T10:30:00Z |
|
验证时间 |