代码拉取完成,页面将自动刷新
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
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。