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:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user