Merge pull request #900 from ischanx/feat/admin-bind-subscription-group

feat: 允许管理员为持有有效订阅的用户绑定订阅类型分组
This commit is contained in:
Wesley Liddick
2026-03-10 11:20:47 +08:00
committed by GitHub
5 changed files with 107 additions and 23 deletions

View File

@@ -162,8 +162,7 @@ const load = async () => {
const loadGroups = async () => {
try {
const groups = await adminAPI.groups.getAll()
// 过滤掉订阅类型分组(需通过订阅管理流程绑定)
allGroups.value = groups.filter((g) => g.subscription_type !== 'subscription')
allGroups.value = groups
} catch (error) {
console.error('Failed to load groups:', error)
}