Topic_Query_List_Mod.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace CommLib.BdPush
  7. {
  8. /// <summary>
  9. /// 作者:冼树华
  10. /// QQ:56472465
  11. /// 日期:20150-04-29
  12. /// 功能:查询推送过程中使用过的分类主题列表
  13. /// </summary>
  14. public class Topic_Query_List_Mod : Baidu_Mod
  15. {
  16. #region 属性
  17. public uint start {get;set;} //number 否 整数,默认为0 指定返回记录的起始索引位置
  18. public uint limit {get;set;} //number 否 整数:[1,10],默认10 返回的记录条数,官网文档的默认值最大为20,是错误的
  19. #endregion
  20. #region 构造函数
  21. public Topic_Query_List_Mod(string apikey)
  22. {
  23. this.apikey = apikey;
  24. this.start = 0;
  25. this.limit = 10;
  26. this.timestamp = Tool.getDefauleTimestamp(); //默认使用当前时间戳
  27. this.device_type = 3; //安卓
  28. }
  29. #endregion
  30. }
  31. }