PageListResultJson.cs 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #region Apache License Version 2.0
  2. /*----------------------------------------------------------------
  3. Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
  4. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software distributed under the
  8. License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
  9. either express or implied. See the License for the specific language governing permissions
  10. and limitations under the License.
  11. Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md
  12. ----------------------------------------------------------------*/
  13. #endregion Apache License Version 2.0
  14. /*----------------------------------------------------------------
  15. Copyright (C) 2019 Senparc
  16. 文件名:PageListResultJson.cs
  17. 文件功能描述:批量查询页面统计数据的返回结果
  18. 创建标识:Senparc - 20160520
  19. ----------------------------------------------------------------*/
  20. using System;
  21. using System.Collections.Generic;
  22. using System.Linq;
  23. using System.Text;
  24. using System.Threading.Tasks;
  25. using Senparc.Weixin.Entities;
  26. namespace Senparc.Weixin.MP.AdvancedAPIs.ShakeAround
  27. {
  28. /// <summary>
  29. /// 批量查询页面统计数据的返回结果
  30. /// </summary>
  31. public class PageListResultJson : WxJsonResult
  32. {
  33. public PageList_Data data { get; set; }
  34. }
  35. public class PageList_Data
  36. {
  37. public List<PageList_Pages> pages { get; set; }
  38. /// <summary>
  39. /// 所查询的日期时间戳,单位为秒
  40. /// </summary>
  41. public long date { get; set; }
  42. /// <summary>
  43. /// 页面总数
  44. /// </summary>
  45. public int total_count { get; set; }
  46. /// <summary>
  47. /// 所查询的结果页序号;返回结果按摇周边人数降序排序,每50条记录为一页
  48. /// </summary>
  49. public int page_index { get; set; }
  50. }
  51. public class PageList_Pages
  52. {
  53. /// <summary>
  54. /// 页面ID
  55. /// </summary>
  56. public int page_id { get; set; }
  57. /// <summary>
  58. /// 点击摇周边消息的次数
  59. /// </summary>
  60. public int click_pv { get; set; }
  61. /// <summary>
  62. /// 点击摇周边消息的人数
  63. /// </summary>
  64. public int click_uv { get; set; }
  65. /// <summary>
  66. /// 摇周边的次数
  67. /// </summary>
  68. public int shake_pv { get; set; }
  69. /// <summary>
  70. /// 摇周边的人数
  71. /// </summary>
  72. public int shake_uv { get; set; }
  73. }
  74. }