/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email:
* CreateTime: 2021/7/29 21:25:51
* Description: 暂无
***********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreCms.Net.WeChat.Service.Models
{
///
/// 微信公众服务器Post过来的加密参数集合(不包括PostData)
/// 如需使用 NeuChar,需要在 MessageHandler 中提供 PostModel 并设置 AppId
///
public class PostModel : EncryptPostModel
{
public override string DomainId
{
get => this.AppId;
set => this.AppId = value;
}
public string AppId { get; set; }
/// 设置服务器内部保密信息
///
///
///
public void SetSecretInfo(string token, string encodingAESKey, string appId)
{
this.Token = token;
this.EncodingAESKey = encodingAESKey;
this.AppId = appId;
}
}
}