mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:13:26 +08:00
49 lines
1.3 KiB
C#
49 lines
1.3 KiB
C#
using System;
|
|
using Microsoft.Extensions.Options;
|
|
|
|
namespace CoreCms.Net.WeChat.Service.Options
|
|
{
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
}
|