fix
This commit is contained in:
parent
e8e02d9848
commit
84cf228b5d
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user