You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB
C#

using Microsoft.Extensions.Options;
namespace Ds.Module.WeChat.DsOptions
{
/// <summary>
///
/// </summary>
public partial class WeChatOptions : IOptions<WeChatOptions>
{
WeChatOptions IOptions<WeChatOptions>.Value => this;
/// <summary>
/// 微信公众号AppId
/// </summary>
public string WeiXinAppId { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public string WeiXinAppSecret { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public string WeiXinEncodingAESKey { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public string WeiXinToken { get; set; } = string.Empty;
/// <summary>
/// 微信小程序
/// </summary>
public string WxOpenAppId { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public string WxOpenAppSecret { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public string WxOpenToken { get; set; } = string.Empty;
/// <summary>
///
/// </summary>
public string WxOpenEncodingAESKey { get; set; } = string.Empty;
}
}