using System; using Microsoft.Extensions.Options; namespace CoreCms.Net.Model.Options { /// /// 支付宝配置信息数据 /// public partial class AliPayOptions : IOptions { AliPayOptions IOptions.Value => this; /// /// AppId /// public string AppId { get; set; } = string.Empty; /// /// 应用私钥 /// public string AppSecret { get; set; } = string.Empty; /// /// 支付宝公钥 /// public string AliPublicKey { get; set; } = string.Empty; /// /// 应用公钥 /// public string AppPublicKey { get; set; } = string.Empty; /// /// 回调地址 /// public string RedirectUrl { get; set; } = string.Empty; /// /// 阿里访问令牌刷新 /// public string AliAccessTokenRefresh { get; set; } = string.Empty; /// /// oauth2授权地址 /// public string AppConnectUrl { get; set; } = string.Empty; /// /// 支付宝授权类型 /// public string AppAuthToken { get; set; } = string.Empty; /// /// 支付宝通用接口地址 /// public string AliPublicApi { get; set; } = string.Empty; /// /// 外部H5唤起支付宝客户端进行实名认证接口地址 /// public string AliPayAppAuth { get; set; } = string.Empty; /// /// 接口内容加密方式(AESKey) /// public string AESKey { get; set; } = string.Empty; } }