完善版本发布流程并处理会话失效场景

This commit is contained in:
Christ committed 2026-08-13 20:04:45 +08:00
1 parent 36798dcced
commit 1833020caf
52 files changed
+1129 -265

No files matched your search

+5 -1
View File
@@ -276,7 +276,11 @@ func (a *Adapter) OnTokenCaptchaVerification(ctx context.Context, cookieID, cook
}
}
if err != nil {
a.logger.Warn("token 风控滑块处理失败", "account", cookieID, "err", err)
manualURL := browser.TokenCaptchaManualVerificationURL(err)
if strings.TrimSpace(manualURL) == "" {
manualURL = verificationURL
}
a.logger.Warn("token 风控滑块处理失败", "account", cookieID, "err", err, "verification_url", manualURL)
if a.store != nil && a.store.RiskLogs != nil {
_ = a.store.RiskLogs.Update(ctx, logID, db.RiskControlLog{
ProcessingStatus: "failed",