feat 删除debug

This commit is contained in:
timerzz 2024-09-04 11:19:27 +08:00
parent e5badfb077
commit 75f3229dea

View File

@ -27,7 +27,7 @@ func NewArticleServiceClient(cfg Config) ArticleServiceClient {
return sonic.Marshal(v) return sonic.Marshal(v)
}).SetJSONUnmarshal(func(data []byte, v any) error { }).SetJSONUnmarshal(func(data []byte, v any) error {
return sonic.Unmarshal(data, v) return sonic.Unmarshal(data, v)
}).SetBaseURL(GetUrl(cfg.Public.Env)).Debug() }).SetBaseURL(GetUrl(cfg.Public.Env))
if cfg.Proxy != nil { if cfg.Proxy != nil {
cli.SetDial(fasthttpproxy.FasthttpHTTPDialer(fmt.Sprintf("%s:%s@%s:%s", cfg.Proxy.User, cfg.Proxy.Pass, cfg.Proxy.Host, cfg.Proxy.Port))) cli.SetDial(fasthttpproxy.FasthttpHTTPDialer(fmt.Sprintf("%s:%s@%s:%s", cfg.Proxy.User, cfg.Proxy.Pass, cfg.Proxy.Host, cfg.Proxy.Port)))
} }