1 Star 0 Fork 0

supermay/CommLib.BdPush

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Report_Query_Timer_Records_Mod.cs 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
supermay 提交于 2016-04-30 02:17 . 首次提交
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
/// 功能:根据timer_id获取消息推送记录
/// </summary>
public sealed class Report_Query_Timer_Records_Mod : Baidu_Mod
{
#region 属性
public string timer_id {get;set;} //string 是 推送接口返回的timer_id 定时任务ID
public uint start {get;set;} //number 否 整数,默认为0 指定返回记录的起始索引位置
public uint limit {get;set;} //number 否 整数:[1,100],默认100 返回的记录条数
public uint range_start{get;set;} //number 否 指定查询起始时间范围,以服务端实际推送时间为准;默认为七天前的0点时间 unix时间戳
public uint range_end{get;set;} //number 否 指定查询截止时间范围,以服务端实际推送时间为准;默认时间为当前时间 unix时间戳
#endregion
#region 构造函数
public Report_Query_Timer_Records_Mod(string apikey, string timer_id)
{
this.apikey = apikey;
this.timer_id = timer_id;
this.start = 0;
this.limit = 100;
this.timestamp = Tool.getDefauleTimestamp(); //默认使用当前时间戳
this.device_type = 3; //安卓
}
#endregion
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/supermay/CommLib.BdPush.git
git@gitee.com:supermay/CommLib.BdPush.git
supermay
CommLib.BdPush
CommLib.BdPush
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385