小飞侠
2025-10-17 445d14becca6b5251814934343d7a6394ada6009
no message
1个文件已修改
56 ■■■■■ 已修改文件
CoreCms.Net.Model/Entities/Pay/CoreCmsWeChatPayConfig.cs 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CoreCms.Net.Model/Entities/Pay/CoreCmsWeChatPayConfig.cs
@@ -47,8 +47,8 @@
        
        [Required(ErrorMessage = "请输入{0}")]
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        [SugarColumn(ColumnDescription = "应用号", Length = 50)]
        public System.String appId  { get; set; }
        
        
@@ -59,7 +59,7 @@
        
        [Required(ErrorMessage = "请输入{0}")]
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "商户号", Length = 50)]
        
        public System.String mchId  { get; set; }
        
@@ -69,9 +69,7 @@
        /// </summary>
        [Display(Name = "API秘钥")]
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "API秘钥V2", Length = 50)]
        
        public System.String apiKey  { get; set; }
        
@@ -82,9 +80,7 @@
        [Display(Name = "APIv3密钥")]
        
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "APIv3密钥", Length = 50,IsNullable =true)]
        public System.String apiV3Key  { get; set; }
        
        
@@ -93,9 +89,7 @@
        /// </summary>
        [Display(Name = "p12证书base64")]
        
        [StringLength(maximumLength:8000,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "p12证书base64", Length = 8000)]
        
        public System.String certificate  { get; set; }
        
@@ -105,9 +99,8 @@
        /// </summary>
        [Display(Name = "RSA公钥")]
        
        [SugarColumn(ColumnDescription = "RSA公钥", Length = 1000)]
        
        [StringLength(maximumLength:1000,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String rsaPublicKey  { get; set; }
        
@@ -119,7 +112,8 @@
        
        
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "子商户应用号", Length = 50, IsNullable = true)]
        
        public System.String subAppId  { get; set; }
        
@@ -129,9 +123,7 @@
        /// </summary>
        [Display(Name = "子商户号")]
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "子商户号", Length = 50,IsNullable =true)]
        
        public System.String subMchId  { get; set; }
        
@@ -141,10 +133,7 @@
        /// </summary>
        [Display(Name = "支付回调通知")]
        
        [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "支付回调通知", Length = 200)]
        public System.String notifyUrl  { get; set; }
        
        
@@ -154,9 +143,7 @@
        [Display(Name = "退款回调")]
        
        
        [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "退款回调", Length = 200)]
        public System.String refundUrl  { get; set; }
        
        
@@ -165,9 +152,7 @@
        /// </summary>
        [Display(Name = "跳转地址")]
        
        [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "跳转地址", Length = 200)]
        
        public System.String jumpUrl  { get; set; }
        
@@ -179,9 +164,8 @@
        
        [Required(ErrorMessage = "请输入{0}")]
        
        public System.Boolean isEnable  { get; set; }
        [SugarColumn(ColumnDescription = "使能", Length = 50)]
        public System.Boolean isEnable  { get; set; }=false;
        
        
        /// <summary>
@@ -190,21 +174,15 @@
        [Display(Name = "是否本类默认")]
        
        [Required(ErrorMessage = "请输入{0}")]
        public System.Boolean isDefault  { get; set; }
        [SugarColumn(ColumnDescription = "默认")]
        public System.Boolean isDefault  { get; set; }= false;
        
        
        /// <summary>
        /// 应用类型
        /// </summary>
        [Display(Name = "应用类型")]
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "应用类型",Length =50)]
        public System.String appType  { get; set; }