feat 删除debug
This commit is contained in:
parent
e5badfb077
commit
75f3229dea
@ -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)))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user