小飞侠
2025-10-17 445d14becca6b5251814934343d7a6394ada6009
no message
1个文件已修改
106 ■■■■■ 已修改文件
CoreCms.Net.Model/Entities/Pay/CoreCmsWeChatPayConfig.cs 106 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CoreCms.Net.Model/Entities/Pay/CoreCmsWeChatPayConfig.cs
@@ -46,9 +46,9 @@
        [Display(Name = "应用号")]
        
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "应用号", Length = 50)]
        public System.String appId  { get; set; }
        
        
@@ -58,9 +58,9 @@
        [Display(Name = "商户号")]
        
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "商户号", Length = 50)]
        public System.String mchId  { get; set; }
        
        
@@ -69,22 +69,18 @@
        /// </summary>
        [Display(Name = "API秘钥")]
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "API秘钥V2", Length = 50)]
        public System.String apiKey  { get; set; }
        
        
        /// <summary>
        /// APIv3密钥
        /// </summary>
        [Display(Name = "APIv3密钥")]
        [Display(Name = "APIv3密钥")]
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "APIv3密钥", Length = 50,IsNullable =true)]
        public System.String apiV3Key  { get; set; }
        
        
@@ -92,11 +88,9 @@
        /// p12证书base64
        /// </summary>
        [Display(Name = "p12证书base64")]
        [StringLength(maximumLength:8000,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "p12证书base64", Length = 8000)]
        public System.String certificate  { get; set; }
        
        
@@ -104,11 +98,10 @@
        /// RSA公钥
        /// </summary>
        [Display(Name = "RSA公钥")]
        [StringLength(maximumLength:1000,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "RSA公钥", Length = 1000)]
        public System.String rsaPublicKey  { get; set; }
        
        
@@ -119,8 +112,9 @@
        
        
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "子商户应用号", Length = 50, IsNullable = true)]
        public System.String subAppId  { get; set; }
        
        
@@ -128,11 +122,9 @@
        /// 子商户号
        /// </summary>
        [Display(Name = "子商户号")]
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "子商户号", Length = 50,IsNullable =true)]
        public System.String subMchId  { get; set; }
        
        
@@ -140,23 +132,18 @@
        /// 支付回调通知
        /// </summary>
        [Display(Name = "支付回调通知")]
        [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "支付回调通知", Length = 200)]
        public System.String notifyUrl  { get; set; }
        
        
        /// <summary>
        /// 退款回调
        /// </summary>
        [Display(Name = "退款回调")]
        [Display(Name = "退款回调")]
        
        [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "退款回调", Length = 200)]
        public System.String refundUrl  { get; set; }
        
        
@@ -164,11 +151,9 @@
        /// 跳转地址
        /// </summary>
        [Display(Name = "跳转地址")]
        [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
        [SugarColumn(ColumnDescription = "跳转地址", Length = 200)]
        public System.String jumpUrl  { get; set; }
        
        
@@ -178,33 +163,26 @@
        [Display(Name = "是否开启")]
        
        [Required(ErrorMessage = "请输入{0}")]
        public System.Boolean isEnable  { get; set; }
        [SugarColumn(ColumnDescription = "使能", Length = 50)]
        public System.Boolean isEnable  { get; set; }=false;
        /// <summary>
        /// 是否本类默认
        /// </summary>
        [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; }