From 84cf228b5d314c3d4f41ccef297dc8364a9c21c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Thu, 17 Apr 2025 18:39:42 +0800 Subject: [PATCH] fix --- httpclient/client.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/httpclient/client.go b/httpclient/client.go index 3b7a374..76c396e 100644 --- a/httpclient/client.go +++ b/httpclient/client.go @@ -10,7 +10,6 @@ package httpclient import ( "fmt" "net" - "net/http" "strings" "time" @@ -47,7 +46,7 @@ func NewHttpClient(reqConfig *define.Request, cacheInstance cache.ICache) (*Http } // 初始化成功的 http code list if len(reqConfig.SuccessHttpCodeList) == 0 { - reqConfig.SuccessHttpCodeList = []int64{} + reqConfig.SuccessHttpCodeList = []int{} } if len(reqConfig.Static) > 0 { for loc, valMap := range reqConfig.Static {