UpdateBrandData.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. 文件名:UpdateBrandData.cs
  17. 文件功能描述:更新商品信息数据
  18. 创建标识:Senparc - 20181008
  19. ----------------------------------------------------------------*/
  20. using Senparc.CO2NET.Helpers.Serializers;
  21. using Senparc.Weixin.Entities;
  22. using Senparc.Weixin.Helpers;
  23. namespace Senparc.Weixin.MP.AdvancedAPIs
  24. {
  25. /// <summary>
  26. /// 更新商品信息数据
  27. /// </summary>
  28. public class UpdateBrandData
  29. {
  30. public string keystandard { get; set; }
  31. public string keystr { get; set; }
  32. public Brand_Info brand_info { get; set; }
  33. }
  34. public class Brand_Info
  35. {
  36. public Action_Info action_info { get; set; }
  37. }
  38. public class Action_Info
  39. {
  40. public Action_List[] action_list { get; set; }
  41. }
  42. public class Action_List
  43. {
  44. public string type { get; set; }
  45. public string name { get; set; }
  46. public string link { get; set; }
  47. public string image { get; set; }
  48. public string showtype { get; set; }
  49. public string appid { get; set; }
  50. public string text { get; set; }
  51. }
  52. /// <summary>
  53. /// 更新商品信息返回结果
  54. /// </summary>
  55. public class UpdateBrandResultJson : WxJsonResult
  56. {
  57. public string pid { get; set; }
  58. }
  59. }