Reversão

master
Leonardo Domingues 2022-01-13 09:49:37 -03:00
parent dea0595735
commit 0dff7d0d6a
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ type Cli struct {
type Req struct { type Req struct {
Site string `json:"site"` Site string `json:"site"`
Data string `json:"data"` Data string `json:"data"`
Img string `json:"img"` Img []byte `json:"img"`
To int `json:"to"` To int `json:"to"`
} }
@ -26,7 +26,7 @@ func (c *Cli) Recaptchav2(site string, data string) (string, error) {
req := &Req{ req := &Req{
Site: site, Site: site,
Data: data, Data: data,
Img: "", Img: nil,
To: 300, To: 300,
} }
err := c.HttpCli().JsonPost("/ipc/anticaptcha/recaptchav2", req, &ret) err := c.HttpCli().JsonPost("/ipc/anticaptcha/recaptchav2", req, &ret)