修复返回值解析方法的BUG

This commit is contained in:
白茶清欢 2021-08-15 20:50:21 +08:00
parent f0cfac27b6
commit c7e65cd925

View File

@ -237,7 +237,7 @@ func (c *Client) CommandProxyWithReceiver(ctx *Context, flag string, receiver in
result interface{} result interface{}
) )
if result, err = c.CommandProxy(ctx, flag, cmd, param); nil != err { if result, err = c.CommandProxy(ctx, flag, cmd, param...); nil != err {
return err return err
} }