代码拉取完成,页面将自动刷新
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommLib.BdPush
{
/// <summary>
/// 作者:冼树华
/// QQ:56472465
/// 日期:20150-04-29
/// 功能:推送消息给批量设备(批量单播)
/// </summary>
public sealed class Push_Batch_Device : Baidu_Send
{
#region 构造函数
public Push_Batch_Device(string secret_key, Baidu_Mod mod)
{
this.httpMehtod = Baidu_Helper.HTTP_POST;
this.url = Baidu_Helper.BASE_URL+ Baidu_Helper.PUSH_BATCH_DEVICE;
this.secret_key = secret_key;
this.mod = mod;
}
public Push_Batch_Device(string httpMehtod, string secret_key, Baidu_Mod mod)
{
this.httpMehtod = httpMehtod;
this.url = Baidu_Helper.BASE_URL+ Baidu_Helper.PUSH_BATCH_DEVICE;
this.secret_key = secret_key;
this.mod = mod;
}
#endregion
}
/// <summary>
/// 作者:闲人工作室 Freeman
/// QQ:15832782
/// 日期:2016-05-03
/// </summary>
public sealed class Push_Batch_Device_With_Response : Baidu_Send<Push_Batch_Device_Response>
{
#region 构造函数
public Push_Batch_Device_With_Response(string secret_key, Baidu_Mod mod)
{
this.httpMehtod = Baidu_Helper.HTTP_POST;
this.url = Baidu_Helper.BASE_URL + Baidu_Helper.PUSH_BATCH_DEVICE;
this.secret_key = secret_key;
this.mod = mod;
}
public Push_Batch_Device_With_Response(string httpMehtod, string secret_key, Baidu_Mod mod)
{
this.httpMehtod = httpMehtod;
this.url = Baidu_Helper.BASE_URL + Baidu_Helper.PUSH_BATCH_DEVICE;
this.secret_key = secret_key;
this.mod = mod;
}
#endregion
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。