Example #1
0
 public void SendLocalIps(string loginName, Guid clientId, List<LocalIpDto> datas) {
     if (string.IsNullOrEmpty(loginName) || clientId == Guid.Empty || datas == null || datas.Count == 0) {
         return;
     }
     _mq.BasicPublish(
         routingKey: WsMqKeyword.LocalIpsRoutingKey,
         basicProperties: CreateBasicProperties(loginName, clientId),
         body: OperationMqBodyUtil.GetLocalIpsMqSendBody(datas));
 }