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