old_flsystem/类库/Grant.Framework/GrantInfo.cs

37 lines
766 B
C#
Raw Permalink Normal View History

2022-09-20 03:10:29 +00:00
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grant.Framework
{
public class GrantInfo
{
/// <summary>
/// 软件标题
/// </summary>
public string Title { get; set; }
/// <summary>
/// 软件主图
/// </summary>
public string Pict { get; set; }
/// <summary>
/// 付款链接
/// </summary>
public string PayURL { get; set; }
public Image GetImage()
{
if (!string.IsNullOrEmpty(Pict))
{
return CsharpHttpHelper.HttpExtend.ToImage(Pict);
}
return null;
}
}
}