加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Report_Statistic_Device.cs 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
supermay 提交于 2016-05-03 03:29 . 增加Response类
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
/// 功能:统计APP 设备数
/// </summary>
public sealed class Report_Statistic_Device : Baidu_Send
{
#region 构造函数
public Report_Statistic_Device(string secret_key, Baidu_Mod mod)
{
this.httpMehtod = Baidu_Helper.HTTP_POST;
this.url = Baidu_Helper.BASE_URL+ Baidu_Helper.REPORT_STATISTIC_DEVICE;
this.secret_key = secret_key;
this.mod = mod;
}
public Report_Statistic_Device(string httpMehtod, string secret_key, Baidu_Mod mod)
{
this.httpMehtod = httpMehtod;
this.url = Baidu_Helper.BASE_URL+ Baidu_Helper.REPORT_STATISTIC_DEVICE;
this.secret_key = secret_key;
this.mod = mod;
}
#endregion
}
/// <summary>
/// 作者:闲人工作室 Freeman
/// QQ:15832782
/// 日期:2016-05-03
/// </summary>
public sealed class Report_Statistic_Device_With_Response : Baidu_Send<Report_Statistic_Device_Response>
{
#region 构造函数
public Report_Statistic_Device_With_Response(string secret_key, Baidu_Mod mod)
{
this.httpMehtod = Baidu_Helper.HTTP_POST;
this.url = Baidu_Helper.BASE_URL + Baidu_Helper.REPORT_STATISTIC_DEVICE;
this.secret_key = secret_key;
this.mod = mod;
}
public Report_Statistic_Device_With_Response(string httpMehtod, string secret_key, Baidu_Mod mod)
{
this.httpMehtod = httpMehtod;
this.url = Baidu_Helper.BASE_URL + Baidu_Helper.REPORT_STATISTIC_DEVICE;
this.secret_key = secret_key;
this.mod = mod;
}
#endregion
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化