|
|
|
@ -176,7 +176,7 @@ func GetUserIDByEmailAndPhoneNumber(c *gin.Context) {
|
|
|
|
|
reqPb.OperationID = req.OperationID
|
|
|
|
|
reqPb.Email = req.Email
|
|
|
|
|
reqPb.PhoneNumber = req.PhoneNumber
|
|
|
|
|
etcdConn := getcdv3.GetDefaultConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName, reqPb.OperationID)
|
|
|
|
|
etcdConn := getcdv3.GetDefaultConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImAdminCMSName, reqPb.OperationID)
|
|
|
|
|
if etcdConn == nil {
|
|
|
|
|
errMsg := reqPb.OperationID + "getcdv3.GetDefaultConn == nil"
|
|
|
|
|
log.NewError(reqPb.OperationID, errMsg)
|
|
|
|
|