mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:03:25 +08:00
62 lines
1.9 KiB
C#
62 lines
1.9 KiB
C#
using System;
|
||
using Microsoft.Extensions.Options;
|
||
|
||
namespace CoreCms.Net.Model.Options
|
||
{
|
||
/// <summary>
|
||
/// 支付宝配置信息数据
|
||
/// </summary>
|
||
public partial class AliPayOptions : IOptions<AliPayOptions>
|
||
{
|
||
AliPayOptions IOptions<AliPayOptions>.Value => this;
|
||
|
||
/// <summary>
|
||
/// AppId
|
||
/// </summary>
|
||
public string AppId { get; set; } = string.Empty;
|
||
/// <summary>
|
||
/// 应用私钥
|
||
/// </summary>
|
||
public string AppSecret { get; set; } = string.Empty;
|
||
/// <summary>
|
||
/// 支付宝公钥
|
||
/// </summary>
|
||
public string AliPublicKey { get; set; } = string.Empty;
|
||
/// <summary>
|
||
/// 应用公钥
|
||
/// </summary>
|
||
public string AppPublicKey { get; set; } = string.Empty;
|
||
|
||
/// <summary>
|
||
/// 回调地址
|
||
/// </summary>
|
||
public string RedirectUrl { get; set; } = string.Empty;
|
||
/// <summary>
|
||
/// 阿里访问令牌刷新
|
||
/// </summary>
|
||
public string AliAccessTokenRefresh { get; set; } = string.Empty;
|
||
/// <summary>
|
||
/// oauth2授权地址
|
||
/// </summary>
|
||
public string AppConnectUrl { get; set; } = string.Empty;
|
||
/// <summary>
|
||
/// 支付宝授权类型
|
||
/// </summary>
|
||
public string AppAuthToken { get; set; } = string.Empty;
|
||
/// <summary>
|
||
/// 支付宝通用接口地址
|
||
/// </summary>
|
||
public string AliPublicApi { get; set; } = string.Empty;
|
||
/// <summary>
|
||
/// 外部H5唤起支付宝客户端进行实名认证接口地址
|
||
/// </summary>
|
||
public string AliPayAppAuth { get; set; } = string.Empty;
|
||
/// <summary>
|
||
/// 接口内容加密方式(AESKey)
|
||
/// </summary>
|
||
public string AESKey { get; set; } = string.Empty;
|
||
}
|
||
|
||
|
||
}
|