namespace Ds.Module.WeChat.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; } } }