GET /auth/me/devices

获取当前用户关联的所有设备列表

身份认证 `bearerAuth` application/json

响应

引用的 Schema

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.DeviceListResponse

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

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

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

service-identity/internal/handler/dto.DeviceResponse

用户设备信息(含安全增强字段)

字段类型必填示例约束描述
browser string 否 Safari 浏览器
created_at string 否 2026-01-01T00:00:00Z 首次登录
device_fingerprint string 否 sha256:abc123def 设备指纹
device_name string 否 My iPhone 设备名称
id string 否 dev_abc123 设备ID
ip string 否 192.168.1.1 IP
is_trusted boolean 否 True 是否信任
last_seen string 否 2026-04-15T10:30:00Z 最近使用
login_count integer 否 42 登录次数
os string 否 iOS 17 系统
session_id string 否 sess_123 关联会话
trust_score integer 否 85 信任评分
type string 否 mobile 类型
user_id string 否 usr_abc123 用户ID