예제 #1
0
 public static RequestSendAllResult SendBaseMessagesToAll(MassMessageBase message)
 {
     return SendMessagesToAll(message);
 }
예제 #2
0
 /// <summary>
 /// 基类传消息
 /// </summary>
 /// <param name="openIds"></param>
 /// <param name="message"></param>
 /// <returns></returns>
 public static RequestSendAllResult SendBaseMessagesToAll(List<string> openIds, MassMessageBase message) {
     if (openIds == null || openIds.Count == 0) { throw new WxException("接收人OpenId为空"); }
     message.touser = openIds;
     return SendMessagesToAll(message);
 }