/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email:
* CreateTime: 2021/7/29 21:25:25
* Description: 暂无
***********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreCms.Net.WeChat.Service.Models
{
/// 接收加密信息统一基类(同时也支持非加密信息)
public abstract class EncryptPostModel : IEncryptPostModel
{
/// 指定当前服务账号的唯一领域定义(主要为 APM 服务),例如 AppId
public abstract string DomainId { get; set; }
/// Signature
public string Signature { get; set; }
/// Msg_Signature
public string Msg_Signature { get; set; }
/// Timestamp
public string Timestamp { get; set; }
/// Nonce
public string Nonce { get; set; }
/// Token
public string Token { get; set; }
/// EncodingAESKey
public string EncodingAESKey { get; set; }
/// 设置服务器内部保密信息
///
///
public virtual void SetSecretInfo(string token, string encodingAESKey)
{
this.Token = token;
this.EncodingAESKey = encodingAESKey;
}
}
}