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