From 9e482a12be0ddb1501eb546fe7408ff323a848f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=AB=E5=9C=B0=E5=83=A7?= <357099073@qq.com> Date: Wed, 17 Jun 2026 00:44:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go/controllers/api_cursor_detect.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/go/controllers/api_cursor_detect.go b/go/controllers/api_cursor_detect.go index 8547d91..c0608d6 100644 --- a/go/controllers/api_cursor_detect.go +++ b/go/controllers/api_cursor_detect.go @@ -97,19 +97,9 @@ func (c *ApiCursorDetectController) PeekToken() { return } - dataType := strings.TrimSpace(c.GetString("data_type")) - if dataType == "" { - dataType = "tk" - } - if !isValidPoolType(dataType) { - c.cursorDetectJSONErr(400, 400, "data_type 不合法,支持: account/tk/account_tk") - return - } - var row models.PlatformAccountPoolCursor qs := models.Orm.QueryTable(new(models.PlatformAccountPoolCursor)). Filter("id", startID). - Filter("data_type", dataType). Filter("delete_time__isnull", true). Exclude("token", "")