AdvertItem.cs 784 B

123456789101112131415161718192021222324
  1. using System;
  2. using Newtonsoft.Json;
  3. namespace Essensoft.AspNetCore.Payment.Alipay.Domain
  4. {
  5. /// <summary>
  6. /// AdvertItem Data Structure.
  7. /// </summary>
  8. [Serializable]
  9. public class AdvertItem : AlipayObject
  10. {
  11. /// <summary>
  12. /// 广告图片url, 尺寸为996*240,最大不超过5M,支持格式:.jpg、.png ,请先调用<a href="https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload"> 图片上传接口</a>获得图片url
  13. /// </summary>
  14. [JsonProperty("img_url")]
  15. public string ImgUrl { get; set; }
  16. /// <summary>
  17. /// 跳转链接,点击广告图片跳到的链接url
  18. /// </summary>
  19. [JsonProperty("link_url")]
  20. public string LinkUrl { get; set; }
  21. }
  22. }