修改版本号

This commit is contained in:
兔子 2025-08-21 21:40:29 +08:00
parent 4e154cc17b
commit b90c59d6e7
Signed by: b612
GPG Key ID: 99DD2222B612B612

View File

@ -1572,7 +1572,7 @@ func newRequest(ctx context.Context, uri string, method string, opts ...RequestO
if strings.ToUpper(method) == "POST" { if strings.ToUpper(method) == "POST" {
r.headers.Set("Content-Type", HEADER_FORM_URLENCODE) r.headers.Set("Content-Type", HEADER_FORM_URLENCODE)
} }
r.headers.Set("User-Agent", "B612 / 1.2.0") r.headers.Set("User-Agent", "B612 Starnet / 0.3.0")
for _, v := range opts { for _, v := range opts {
if v != nil { if v != nil {
err = v(&r.RequestOpts) err = v(&r.RequestOpts)