mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:03:25 +08:00
【修复】修复支付宝支付类型实体长度限制过短,导致扫码支付配置失败的问题。
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2023/4/20 23:33:03
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
@@ -25,188 +25,121 @@ namespace CoreCms.Net.Model.Entities
|
||||
public CoreCmsAlipayConfig()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 id { get; set; }
|
||||
|
||||
|
||||
public System.Int32 id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付宝开放平台AppId
|
||||
/// </summary>
|
||||
[Display(Name = "支付宝开放平台AppId")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String appId { get; set; }
|
||||
|
||||
|
||||
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String appId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付宝公钥
|
||||
/// </summary>
|
||||
[Display(Name = "支付宝公钥")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String publicKey { get; set; }
|
||||
|
||||
|
||||
[StringLength(maximumLength: 500, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String publicKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用私钥
|
||||
/// </summary>
|
||||
[Display(Name = "应用私钥")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
[StringLength(maximumLength:2000,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String privateKey { get; set; }
|
||||
|
||||
|
||||
[StringLength(maximumLength: 2000, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String privateKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务网关地址
|
||||
/// </summary>
|
||||
[Display(Name = "服务网关地址")]
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength:100,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String serverUrl { get; set; }
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength: 100, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String serverUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 签名类型
|
||||
/// </summary>
|
||||
[Display(Name = "签名类型")]
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength:10,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String signType { get; set; }
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength: 10, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String signType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用公钥证书
|
||||
/// </summary>
|
||||
[Display(Name = "应用公钥证书")]
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength:5000,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String appPublicCert { get; set; }
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength: 5000, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String appPublicCert { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付宝公钥证书
|
||||
/// </summary>
|
||||
[Display(Name = "支付宝公钥证书")]
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength:5000,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String alipayPublicCert { get; set; }
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength: 5000, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String alipayPublicCert { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付宝根证书
|
||||
/// </summary>
|
||||
[Display(Name = "支付宝根证书")]
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength:5000,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String alipayRootCert { get; set; }
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength: 5000, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String alipayRootCert { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 应用类型
|
||||
/// </summary>
|
||||
[Display(Name = "应用类型")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
[StringLength(maximumLength:10,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String appType { get; set; }
|
||||
|
||||
|
||||
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String appType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付宝支付回调通知
|
||||
/// </summary>
|
||||
[Display(Name = "支付宝支付回调通知")]
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String notifyUrl { get; set; }
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength: 500, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String notifyUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付宝退款回调
|
||||
/// </summary>
|
||||
[Display(Name = "支付宝退款回调")]
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String refundUrl { get; set; }
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength: 500, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String refundUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付跳转地址
|
||||
/// </summary>
|
||||
[Display(Name = "支付跳转地址")]
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
public System.String jumpUrl { get; set; }
|
||||
|
||||
|
||||
|
||||
[StringLength(maximumLength: 500, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String jumpUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
[Display(Name = "是否启用")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public System.Boolean isEnable { get; set; }
|
||||
|
||||
|
||||
public System.Boolean isEnable { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前多端默认
|
||||
/// </summary>
|
||||
[Display(Name = "当前多端默认")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public System.Boolean isDefault { get; set; }
|
||||
|
||||
|
||||
public System.Boolean isDefault { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user