feat: Implement account pool monitoring and management dashboard with S2A integration and add a new upload page.
This commit is contained in:
@@ -855,8 +855,14 @@ func processSingleTeam(idx int, req TeamProcessRequest) (result TeamProcessResul
|
||||
return false
|
||||
}
|
||||
|
||||
// 注册
|
||||
_, err := register.APIRegister(currentEmail, currentPassword, name, birthdate, req.Proxy, memberLogPrefix)
|
||||
// 注册 - 从代理池获取随机代理
|
||||
regProxy := req.Proxy
|
||||
if database.Instance != nil {
|
||||
if poolProxy, poolErr := database.Instance.GetRandomCodexProxy(); poolErr == nil && poolProxy != "" {
|
||||
regProxy = poolProxy
|
||||
}
|
||||
}
|
||||
_, err := register.APIRegister(currentEmail, currentPassword, name, birthdate, regProxy, memberLogPrefix)
|
||||
if err != nil {
|
||||
logger.Error(fmt.Sprintf("%s [注册失败] %v", memberLogPrefix, err), currentEmail, "team")
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user