You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.4 KiB
51 lines
1.4 KiB
2 years ago
|
|
||
|
using Microsoft.Extensions.Options;
|
||
|
|
||
|
namespace Zncy.CloudCar.WeChat.Service.Options
|
||
|
{
|
||
|
public class WeChatOptions : IOptions<WeChatOptions>
|
||
|
{
|
||
|
WeChatOptions IOptions<WeChatOptions>.Value => this;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 微信公众号AppId
|
||
|
/// </summary>
|
||
|
public string WeiXinAppId { get; set; } = string.Empty;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 微信公众号Secret
|
||
|
/// </summary>
|
||
|
public string WeiXinAppSecret { get; set; } = string.Empty;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 微信公众号
|
||
|
/// </summary>
|
||
|
public string WeiXinEncodingAESKey { get; set; } = string.Empty;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 微信公众号token
|
||
|
/// </summary>
|
||
|
public string WeiXinToken { get; set; } = string.Empty;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 微信小程序AppId
|
||
|
/// </summary>
|
||
|
public string WxOpenAppId { get; set; } = string.Empty;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 微信小程序Secret
|
||
|
/// </summary>
|
||
|
public string WxOpenAppSecret { get; set; } = string.Empty;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 微信小程序token
|
||
|
/// </summary>
|
||
|
public string WxOpenToken { get; set; } = string.Empty;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 微信小程序
|
||
|
/// </summary>
|
||
|
public string WxOpenEncodingAESKey { get; set; } = string.Empty;
|
||
|
}
|
||
|
}
|