diff --git a/CoreCms.Net.Configuration/GlobalErrorCodeVars.cs b/CoreCms.Net.Configuration/GlobalErrorCodeVars.cs index 1b989364d1d1ea2e4b1049b6db7f661d991206dc..6262d789bd654f44c5768950c6a3d93da0b00ac9 100644 --- a/CoreCms.Net.Configuration/GlobalErrorCodeVars.cs +++ b/CoreCms.Net.Configuration/GlobalErrorCodeVars.cs @@ -148,7 +148,7 @@ namespace CoreCms.Net.Configuration public const string Code11026 = "密码过期了"; public const string Code11027 = "请选择出生日期"; public const string Code11028 = "请输入昵称"; - public const string Code11029 = "请设置出生日期"; + public const string Code11029 = "请选择您的性别"; public const string Code11030 = "没有此用户等级"; public const string Code11031 = "请输入手机号码或者密码"; diff --git a/CoreCms.Net.Services/Pay/WeChatPayServices.cs b/CoreCms.Net.Services/Pay/WeChatPayServices.cs index d7a27886652d3128de88a907d3997e45ec9c348a..c586cea338ff40e7d4c3771c8949852d42e657ea 100644 --- a/CoreCms.Net.Services/Pay/WeChatPayServices.cs +++ b/CoreCms.Net.Services/Pay/WeChatPayServices.cs @@ -105,7 +105,7 @@ namespace CoreCms.Net.Services var request = new WeChatPayUnifiedOrderRequest { - Body = entity.payTitle.Length > 127 ? entity.payTitle[..125] : entity.payTitle, + Body = entity.payTitle.Length > 50 ? entity.payTitle[..50] : entity.payTitle, OutTradeNo = entity.paymentId, TotalFee = Convert.ToInt32(entity.money * 100), SpBillCreateIp = entity.ip,