api to rpc

This commit is contained in:
withchao
2023-03-03 18:42:33 +08:00
parent 5e845c8fb6
commit 4deedb6856
4 changed files with 26 additions and 52 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ type Auth struct {
}
func (o *Auth) client() (auth.AuthClient, error) {
conn, err := o.zk.GetConn(config.Config.RpcRegisterName.OpenImGroupName)
conn, err := o.zk.GetConn(config.Config.RpcRegisterName.OpenImGroupName, nil)
if err != nil {
return nil, err
}