/auth/me/recovery-contacts
获取用户设置的恢复联系方式(recovery email/phone),数据存储在用户Metadata中
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 成功 | dto.RecoveryContactListResponse |
Referenced Schemas
dto.RecoveryContactListResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
items |
array of |
No | 统一使用 items | ||
message |
string |
No | |||
pagination |
object |
No | 分页信息(嵌套对象) | ||
timestamp |
string |
No | |||
total |
integer |
No | 总条数(平铺,便于直接读取) |
dto.RecoveryContactResponse
备用联系方式
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
created_at |
string |
No | 2026-04-15T10:30:00Z |
创建时间 | |
id |
string |
No | rc_abc123 |
联系方式ID | |
type |
string |
No | email |
类型 | |
value |
string |
No | ba***@example.com |
脱敏值 | |
verified |
boolean |
No | True |
是否已验证 |
gitee_com_linmes_authms_base_dto.PageInfo
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
has_next |
boolean |
No | HasNext indicates whether there is a next page | ||
has_prev |
boolean |
No | HasPrev indicates whether there is a previous page | ||
page |
integer |
No | Page is the current page number (1-based) | ||
page_size |
integer |
No | PageSize is the number of items per page | ||
total |
integer |
No | Total is the total number of items across all pages | ||
total_pages |
integer |
No | TotalPages is the total number of pages |