示例#1
0
 public void SendConsoleOutLines(string loginName, Guid clientId, List<ConsoleOutLine> datas) {
     if (string.IsNullOrEmpty(loginName) || clientId == Guid.Empty || datas == null || datas.Count == 0) {
         return;
     }
     _mq.BasicPublish(
         routingKey: WsMqKeyword.ConsoleOutLinesRoutingKey,
         basicProperties: CreateBasicProperties(loginName, clientId),
         body: OperationMqBodyUtil.GetConsoleOutLinesMqSendBody(datas));
 }