Ejemplo n.º 1
0
 public void SendUserRSAKeyUpdated(string loginName)
 {
     if (string.IsNullOrEmpty(loginName))
     {
         return;
     }
     _mq.BasicPublish(
         routingKey: MqKeyword.UserRSAKeyUpdatedRoutingKey,
         basicProperties: CreateBasicProperties(),
         body: UserMqBodyUtil.GetLoginNameMqSendBody(loginName));
 }
Ejemplo n.º 2
0
 public void SendUserPasswordChanged(string loginName)
 {
     if (string.IsNullOrEmpty(loginName))
     {
         return;
     }
     _mqChannel.BasicPublish(
         exchange: MqKeyword.NTMinerExchange,
         routingKey: MqKeyword.UserPasswordChangedRoutingKey,
         basicProperties: CreateBasicProperties(),
         body: UserMqBodyUtil.GetLoginNameMqSendBody(loginName));
 }