Correção de tipos
parent
ade994dac8
commit
69d0bdf3e8
|
@ -96,7 +96,7 @@ func (c *Cli) ScreenClickCenter(f string) error {
|
||||||
err := c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/screen/clickcenter?f=%s", f), nil)
|
err := c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/screen/clickcenter?f=%s", f), nil)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
func (c *Cli) ScreenFind(f string) (ret []map[string]interface{}, err error) {
|
func (c *Cli) ScreenFind(f string) (ret []interface{}, err error) {
|
||||||
err = c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/screen/find?f=%s", f), &ret)
|
err = c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/screen/find?f=%s", f), &ret)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue