/// <summary> /// 发送消息 /// </summary> /// <param name="msg">消息实体对象</param> public void Send(JMessage msg) { _processer.Add(msg); }
/// <summary> /// 向指定部门发送广播消息 /// </summary> /// <param name="msg">消息实体</param> /// <param name="deptIds">部门ID的集合</param> /// <returns></returns> public int BroadCast(JMessage msg, params int[] deptIds) { return(msg.Id); }
public SendResult Send(JMessage msg) { return(new SendResult()); }