修改http客户端功能

This commit is contained in:
ayflying
2025-12-24 15:33:08 +08:00
parent 6b304efc0e
commit 85d14a9489
8 changed files with 506 additions and 217 deletions

View File

@@ -71,7 +71,7 @@ func (s *sIp2region) Load(t *xdb.Version) {
}()
g.Log().Debug(ctx, "等待下载ip库文件")
//下载文件
putData, err2 := g.Client().Discovery(nil).Get(ctx, url)
putData, err2 := g.Client().Get(ctx, url)
if err2 != nil {
return
}