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

字段类型必填示例约束描述
code integer 否
items array of

参见 service-identity/internal/handler/dto.ChildrenConsentResponse

否 统一使用 items
message string 否
pagination object 否 分页信息(嵌套对象)
timestamp string 否
total integer 否 总条数(平铺,便于直接读取)

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 验证时间