MktActivityResultJson.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. 文件名:MktActivityResultJson.cs
  17. 文件功能描述:社交立减金活动返回结果
  18. 创建标识:Senparc - 20181008
  19. ----------------------------------------------------------------*/
  20. using System.CodeDom;
  21. using System.Collections.Generic;
  22. using Senparc.Weixin.Entities;
  23. namespace Senparc.Weixin.MP.AdvancedAPIs.Card
  24. {
  25. /// <summary>
  26. /// 创建支付后领取立减金活动接口返回结果
  27. /// </summary>
  28. public class CreateActivityResultJson : WxJsonResult
  29. {
  30. public string activity_id { get; set; }
  31. }
  32. /// <summary>
  33. /// 使用授权码换取公众号的授权信息返回结果
  34. /// </summary>
  35. public class ApiQueryAuthResultJson : WxJsonResult
  36. {
  37. public Authorization_Info authorization_info { get; set; }
  38. }
  39. public class Authorization_Info
  40. {
  41. public string authorizer_appid { get; set; }
  42. public string authorizer_access_token { get; set; }
  43. public int expires_in { get; set; }
  44. public string authorizer_refresh_token { get; set; }
  45. public Func_Info[] func_info { get; set; }
  46. }
  47. public class Func_Info
  48. {
  49. public Funcscope_Category funcscope_category { get; set; }
  50. public Confirm_Info confirm_info { get; set; }
  51. }
  52. public class Funcscope_Category
  53. {
  54. public int id { get; set; }
  55. }
  56. public class Confirm_Info
  57. {
  58. public int need_confirm { get; set; }
  59. public int already_confirm { get; set; }
  60. }
  61. /// <summary>
  62. /// 获取授权方的账户信息返回结果
  63. /// </summary>
  64. public class ApiGetAuthorizerInfoResultJson : WxJsonResult
  65. {
  66. public Authorizer_Info authorizer_info { get; set; }
  67. public string qrcode_url { get; set; }
  68. public Authorization_Info authorization_info { get; set; }
  69. }
  70. public class Authorizer_Info
  71. {
  72. public string nick_name { get; set; }
  73. public string head_img { get; set; }
  74. public Service_Type_Info service_type_info { get; set; }
  75. public Verify_Type_Info verify_type_info { get; set; }
  76. public string user_name { get; set; }
  77. public string alias { get; set; }
  78. }
  79. public class Service_Type_Info
  80. {
  81. public int id { get; set; }
  82. }
  83. public class Verify_Type_Info
  84. {
  85. public int id { get; set; }
  86. }
  87. }