wip
parent
c79c476473
commit
429580c010
|
@ -19,7 +19,7 @@ type HttpReq struct {
|
|||
func (c *Cli) Get(req *HttpReq, copts ...*api.CallOpts) (*HttpRes, error) {
|
||||
res := &HttpRes{}
|
||||
//err := c.HttpCli().JsonPost("/ipc/ocr/", opts, res)
|
||||
err := api.Call("ocr.ocr", req, &res, copts...)
|
||||
err := api.Call("frontend.handle", req, &res, copts...)
|
||||
return res, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue