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