feat:Rock刷新去UID拦截,新增绑定错误自动刷新与使用/绑定超时预警
This commit is contained in:
@@ -175,6 +175,8 @@ func main() {
|
||||
log.Printf("[Rock] Token 检查失败: %v", err)
|
||||
}
|
||||
rockSvc.CheckStockAndAutoPurchase(context.Background())
|
||||
// 绑定错误自动刷新:内部会检查 auto_refresh_mismatch_enabled 开关,关闭时直接跳过。
|
||||
go rockSvc.RefreshMismatchTokens(context.Background())
|
||||
}
|
||||
run()
|
||||
ticker := time.NewTicker(5 * time.Minute)
|
||||
|
||||
Reference in New Issue
Block a user