feat: Introduce a new design system with dark mode and animations, add a reusable Tabs component, implement an Upload page, and create a backend API for team processes.

This commit is contained in:
2026-02-07 00:10:29 +08:00
parent 070ba6a31e
commit 2fc0dcaba4
4 changed files with 90 additions and 67 deletions

View File

@@ -564,6 +564,16 @@ func processSingleTeam(idx int, req TeamProcessRequest) (result TeamProcessResul
if accountStatus.Status == "error" {
logger.Warning(fmt.Sprintf("%s 账户状态检查失败: %s继续尝试", logPrefix, accountStatus.Error), owner.Email, "team")
} else if accountStatus.PlanType == "free" {
logger.Warning(fmt.Sprintf("%s 母号 plan 为 free非 Team 账户,移除", logPrefix), owner.Email, "team")
if database.Instance != nil {
database.Instance.MarkOwnerAsInvalid(owner.Email)
database.Instance.DeleteTeamOwnerByEmail(owner.Email)
logger.Info(fmt.Sprintf("%s free 母号已删除: %s", logPrefix, owner.Email), owner.Email, "team")
}
result.Errors = append(result.Errors, "账户 plan 为 free非 Team 账户")
result.DurationMs = time.Since(startTime).Milliseconds()
return result
} else {
logger.Info(fmt.Sprintf("%s 账户状态正常: %s", logPrefix, accountStatus.PlanType), owner.Email, "team")
}