mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
- 支持专用/公开/订阅/已禁用四类分组:按 api_keys.group_id 精确匹配, 排除软删除 key(EXISTS + DeletedAtIsNil);已禁用分组单独成区, 覆盖 key 仍挂在禁用分组上的用户 - 后端:UserListFilters.APIKeyGroupID;handler 解析 api_key_group_id; repo HasAPIKeysWith 谓词;GetAllGroupsIncludingInactive 新接口 (/admin/groups/all?include_inactive=true) - 前端:下拉按类型分区单选;UsersView 独立 allGroupsForApiKeyFilter loader;分区标题用负数哨兵值修复 Vue :key 重复问题 - 测试:repo 集成 5/5(含软删除排除、多 key 去重、叠加 status 过滤)、 handler 单测 5/5、前端 vitest 6/6 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>