53 lines
1.3 KiB
C#
53 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CloudGaming.Code.DataBaseModel
|
|
{
|
|
/// <summary>
|
|
/// 支付配置
|
|
/// </summary>
|
|
public class AppPayment
|
|
{
|
|
public AppWechatConfig? WeChatConfig { get; set; }
|
|
public AppAlipayConfig? AlipayConfig { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 微信支付配置
|
|
/// </summary>
|
|
public class AppWechatConfig
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string? AppId { get; set; }
|
|
public string? AppSecret { get; set; }
|
|
public string? Key { get; set; }
|
|
public string? MchId { get; set; }
|
|
public string? MerchantCertificatePrivateKey { get; set; }
|
|
public string? merchantCertificateSerialNumber { get; set; }
|
|
/// <summary>
|
|
/// 回调地址
|
|
/// </summary>
|
|
public string? NotifyUrl { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 支付宝支付配置
|
|
/// </summary>
|
|
public class AppAlipayConfig
|
|
{
|
|
public string? AlipayPublicKey { get; set; }
|
|
public string? AppId { get; set; }
|
|
public string? MerchantPrivateKey { get; set; }
|
|
public string? NotifyUrl { get; set; }
|
|
}
|
|
|
|
}
|