//DPBMARK_FILE MP
using Senparc.Weixin.Entities.TemplateMessage;
using Senparc.Weixin.MP.AdvancedAPIs.TemplateMessage;
namespace Znyc.Recruitment.Admin.WeChat.CommonService.TemplateMessage
{
///
/// 支付成功模板消息(购买成功通知)
///
public class WeixinTemplate_PaySuccess : TemplateMessageBase
{
private const string TEMPLATE_ID = "66Gf81swxfWt_P_HkH0Bapvj1nlpiWGmEkXDeCvWcVo"; //每个公众号都不同,需要根据实际情况修改
public WeixinTemplate_PaySuccess(string url, string productName, string notice)
: base(TEMPLATE_ID, url, "购买成功通知")
{
name = new TemplateDataItem(productName);
remark = new TemplateDataItem(notice);
}
public TemplateDataItem name { get; set; }
///
/// Time
///
public TemplateDataItem remark { get; set; }
}
}