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